Linux beaglebone 4.4.34-ti-r69 #1 SMP Wed Nov 23 20:01:14 UTC 2016 armv7l GNU/Linux PRU problems

52 views
Skip to first unread message

laurel.a.watts

unread,
Dec 2, 2016, 7:27:12 PM12/2/16
to BeagleBoard
The PRUs do not seem to work right with the latest version of the Debian OS.  What needs to be done to fix this?

Robert Nelson

unread,
Dec 2, 2016, 8:36:12 PM12/2/16
to Beagle Board, laurel....@noaa.gov
On Fri, Dec 2, 2016 at 4:34 PM, laurel.a.watts <laurel....@noaa.gov> wrote:
> The PRUs do not seem to work right with the latest version of the Debian OS.
> What needs to be done to fix this?

Which version do you need?

uio (compatible with 3.8.13-bone)

or

remoteproc (new with v4.4.x-ti)

Then of course what board are you booting with..

Regards,

--
Robert Nelson
https://rcn-ee.com/

Robert Nelson

unread,
Dec 2, 2016, 9:04:43 PM12/2/16
to Laurel A Watts, Beagle Board
On Fri, Dec 2, 2016 at 7:52 PM, Laurel A Watts <laurel....@noaa.gov> wrote:
> Hi Robert,
>
> I am trying to update from 5/2014 version on beaglebone Black to a more up to date version. I can get everything to work (uarts, i2c, gpio, analog in, and udp) except the PRUS. I get errors with memory allocation and interrupts.
> Laurel

Did you enable the am33xx-pruss-uio.dtsi include and set the blacklist?

Step 1: (Install dtb-rebuilder:)

#one line:
git clone -b 4.4-ti https://github.com/RobertCNelson/dtb-rebuilder --depth=1

cd ./dtb-rebuilder/

Step 2: (enable pruss-uio)

Edit your device tree: (assuming black)

https://github.com/RobertCNelson/dtb-rebuilder/blob/4.4-ti/src/arm/am335x-boneblack.dts#L26-L34

nano src/arm/am335x-boneblack.dts

Change:
/* #include "am33xx-pruss-uio.dtsi" */ -> #include "am33xx-pruss-uio.dtsi"
make ; sudo make install

Step 3: (set blacklist)

cat /etc/modprobe.d/pruss-blacklist.conf

blacklist pruss
blacklist pruss_intc
blacklist pru-rproc

reboot..
Reply all
Reply to author
Forward
0 new messages