Closed snppla closed 1 year ago
@snppla sadly, TI rewrote the remoteproc stack with each major release, the demo you reference was tested with.... 4.4.91-ti-r133
... yeah, it's not going to work on 5.10..
Regards,
That explains why it won't work. If you don't have an immediate direction to go, I'll go about scouring the docs & other examples to try something else. Any idea if the device tree overlay would also need to be changed with the changing stack?
@snppla 6.0.0 and greater of this ti project https://git.ti.com/gitweb?p=pru-software-support-package/pru-software-support-package.git;a=summary supports 5.10.x remoteproc...
I just tried out that pru exampe, works as expected. Thanks!
As an example of using the rpmsg feature, this application (https://github.com/RoSchmi/Beaglebone-PRU-RPMsg-HelloWorld ) demonstrates what I'm seeing when I'm trying to use rpmsg.
Once I build main0.c for the pru, I copy am335x-pru0-fw into /lib/firmware, and start it with
echo start >> /sys/class/remoteproc/remoteproc1/state
I get the following error in dmesg (then the system becomes unstable until I reboot).Output from uname
Linux 22018b9 5.10.162+ #1 SMP PREEMPT Fri Apr 7 00:25:14 UTC 2023 armv7l armv7l armv7l GNU/Linux
Kernel tag: 5.10.162-ti-r59
uEnv.txt (the overlays are put into a different location).