Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2014 09:32:09 -0700
From:      Rui Paulo <rpaulo@me.com>
To:        =?utf-8?Q?Manuel_St=C3=BChn?= <freebsdnewbie@freenet.de>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: PRU on BBB
Message-ID:  <5E3FBBA8-2CBB-4BCE-BE2C-FB044CF0BEF6@me.com>
In-Reply-To: <544BA593.4020706@freenet.de>

index | next in thread | previous in thread | raw e-mail

On Oct 25, 2014, at 06:28, Manuel Stühn <freebsdnewbie@freenet.de> wrote:
> 
> Hello list,
> 
> I'm a great fan of FreeBSD and was very glad to see, that FreeBSD supports the beaglebone black. Even the PRUs, which I want to put into operation, are supported by FreeBSD. But unfortunately i do not have a clue, how the driver is intended to be used. For linux there is some API/docu to load/start/stop and communicate with the PRU.
> 
> Did anyone put the PRUs already into operation with FreeBSD and could give me a hint how this is done?

There's a work in progress PRU library:

https://bitbucket.org/rpaulo/libpru

And a program to upload binaries to the PRU:

https://bitbucket.org/rpaulo/pructl

These don't have documentation yet and you have to build them yourself, but that should be straightforward.

You can use the assembler from ports: devel/pasm.

--
Rui Paulo





help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5E3FBBA8-2CBB-4BCE-BE2C-FB044CF0BEF6>