Going through the first PRU example in Exploring Beaglebone (2nd ed). When 
I try to start the pru I get this:

debian@beaglebone:/sys/class/remoteproc/remoteproc1$ echo start > state
-bash: echo: write error: Invalid argument

I get this from dmesg:

[  100.249395] remoteproc remoteproc1: powering up 4a334000.pru
[  100.249525] remoteproc remoteproc1: loading /lib/firmware/am335x-pru0-fw 
failed with error -22
[  100.249537] remoteproc remoteproc1: Direct firmware load for am335x-pru0-fw 
failed with error -22

I finally found out a workaround after an embarrassing amount of time: 
replace the am335x-pru*-fw files in /lib/firmware with the the ones in 
/opt/scripts/device/bone/pru-rpmsg_client_sample/. I actually found them on 
Robert Nelson's github page and only found out later that they were on the 
BBB the whole time.

I've tried a few of the latest images (as of March 2020) from rcn-ee.com 
and have still been unsuccessful in working with the PRU. In those cases, I 
don't even see any mention of the PRUs in dmesg.

Is this a bug, or is there an SOP I haven't found yet?



-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/72a4d9c3-c31d-4267-968b-163128a5a607%40googlegroups.com.

Reply via email to