I am trying to run the PRU_RPMsg_Echo_Interrupt0 on a Beaglebone Black on Kirkstone Yocto build. This doesn't run. I get the following, when trying to boot the firmware:
$ echo start > /sys/class/remoteproc/remoteproc0/state
[ 562.814890] remoteproc remoteproc0: powering up 4a334000.pru
[ 562.821375] remoteproc remoteproc0: Booting fw image PRU_RPMsg_Echo_Interrupt0.out, size 71164
[ 562.839354] pru-rproc 4a334000.pru: error -ENXIO: IRQ vring not found
[ 562.851847] remoteproc remoteproc0: unable to get vring interrupt, status = -6
[ 562.859895] remoteproc remoteproc0: can't start rproc 4a334000.pru: -6
[ 562.869450] remoteproc remoteproc0: Boot failed: -6
-sh: echo: write error: No such device or address
For reference, I am using the linux-ti-staging-6.1 kernel from the meta-ti-bsp layer. The device tree is am335x-boneblack.dtb from the same layer.
$ uname -a
Linux beaglebone 6.1.69-gf98180658f #1 PREEMPT Wed Jan 31 17:20:51 UTC 2024 armv7l armv7l armv7l GNU/Linux
I am building the example from the PSSP git repo from commit: 00a5efa5157feb84cb2e4bf50b481f7082acca82 and using PRU-CGT-2.3.3 to compile. I have tried several different examples. The ones that does not use RPMsg seem to load fine, but any example which make use of RPMsg seem to fail. I also tried building the examples using the pru-icss recipe from meta-ti-extras and it fails the same way.