PRU on BBB
Rui Paulo
rpaulo at me.com
Sun Oct 26 00:05:18 UTC 2014
On Oct 25, 2014, at 15:48, Bernd Walter <ticso at cicely7.cicely.de> wrote:
>
> On Sat, Oct 25, 2014 at 09:32:09AM -0700, Rui Paulo wrote:
>> On Oct 25, 2014, at 06:28, Manuel Stühn <freebsdnewbie at 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.
>
> We have PRU supprt?
> That's awesome.
> Had been interested in PRU, but not even dreamed about existing support.
The library and the userland utility are both under active development. I expect to have something stable before the year ends. Right now, I can upload/reset/enable/disable the PRUs just fine.
A PRU debugger is also in the works.
Regards,
--
Rui Paulo
More information about the freebsd-arm
mailing list