Received 100 messages, closing /dev/rpmsg_pru31
I got a PocketBeagle and I want to try out the PRU on it. Everything seems different from the PRUSSDRV stuff I'm used to. I can't get remoteproc to work, so I wanted to know which kernel and interfaces I should use.Specifically, I'm running the 2017-10-10 Stretch IoT build from http://beagleboard.org/latest-images
debian@beaglebone:~/hello$ uname -a
Linux beaglebone 4.4.91-ti-r133 #1 SMP Tue Oct 10 05:18:08 UTC 2017 armv7l GNU/Linux
I tried running the remoteproc "Hello world" from here.First, I ran into problems with stdint.h not found; I eventually found it in /usr/share/ti/cgt-pru/include - is that the right include path to use?
When I ran the program, I got a bunch of warnings:Note: remoteproc is still under development and considered experimental.THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
And then the program died with "Failed to open /dev/rpmsg_pru31"
So: is remoteproc what I should be using, or is it still "experimental"? Am I using the right kernel? And what is "resource_table.h"?
Thanks for any suggestions,Ken
--
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 beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/fac3f548-800b-4522-86d8-7e49d9b58c21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
[ 1765.434025] remoteproc remoteproc3: 4a334000.pru0 is available
[ 1765.434147] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a334000 probed successfully
[ 1765.441036] remoteproc remoteproc4: 4a338000.pru1 is available
[ 1765.441157] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a338000 probed successfully
[ 1765.685583] remoteproc remoteproc3: powering up 4a334000.pru0
[ 1765.686156] remoteproc remoteproc3: Booting fw image am335x-pru0-fw, size 80748
[ 1765.686896] ti-pruss 4a300000.pruss: event 16 (req. channel 2) already assigned to channel 2
[ 1765.700540] pru-rproc 4a334000.pru0: failed to configure pruss intc -17
[ 1765.709720] remoteproc remoteproc3: Failed to process post-loading resources: -17
[ 1765.719518] remoteproc remoteproc3: Boot failed: -17
[ 1765.796012] remoteproc remoteproc4: powering up 4a338000.pru1
[ 1765.796519] remoteproc remoteproc4: Booting fw image am335x-pru1-fw, size 80748
[ 1765.801629] ti-pruss 4a300000.pruss: event 18 (req. channel 3) already assigned to channel 3
[ 1765.810696] pru-rproc 4a338000.pru1: failed to configure pruss intc -17
[ 1765.821230] remoteproc remoteproc4: Failed to process post-loading resources: -17
[ 1765.831046] remoteproc remoteproc4: Boot failed: -17
Hi Ken,Having recently also bought a pocket beagle(my first), I ran through these steps from Jason, as he suggested in another thread recently, successfully : https://gist.github.com/jadonk/2ecf864e1b3f250bad82c0eae12b7b64I thought it would be instructive to work out how to run the example you tried also though. Basically taking the working gist and resolving issues with your example as they appear.Resulting in:Received 100 messages, closing /dev/rpmsg_pru31
ie. success. It did a thing.Thanks,Alex