Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2014 17:05:08 -0700
From:      Rui Paulo <rpaulo@me.com>
To:        ticso@cicely.de
Cc:        freebsd-arm@freebsd.org
Subject:   Re: PRU on BBB
Message-ID:  <78C2D5E5-DEFB-46BA-8874-B137D6E1E00C@me.com>
In-Reply-To: <20141025224829.GC34989@cicely7.cicely.de>
References:  <544BA593.4020706@freenet.de> <5E3FBBA8-2CBB-4BCE-BE2C-FB044CF0BEF6@me.com> <20141025224829.GC34989@cicely7.cicely.de>

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

On Oct 25, 2014, at 15:48, Bernd Walter <ticso@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@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





home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?78C2D5E5-DEFB-46BA-8874-B137D6E1E00C>