BBG - PRU PROBLEM

Hi,
I’m using a BeagleBone Green and I have to use the PRUs on it with remoteproc interface.
At present, I’m using the PRUs with UIO interface, and I can’t do the change.
I edited the uEnv.txt file as follow:

###PRUSS OPTIONS
###pru_rproc (4.4.x-ti kernel)
uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo
###pru_uio (4.4.x-ti, 4.14.x-ti & mainline/bone kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo

When I reboot the system, PRUs don’t works and from system messages (dmesg| grep pru) I read:

How Can I fix it?
I have already read this topic, but I didn’t solve the problem :

I have a turnkey boot setup on a BBB (likely the same as BBG)… I don’t see where you are ‘starting’ the pru.

here is a code snip from my scheduler (runs at boot time) … you AT LEAST have to do this somehow …

root@bbb42:~/ctrlU# cat jobs/start_pru0/execute
#!/bin/sh

T=/sys/class/remoteproc/remoteproc1/state
echo $J
echo ‘start’ > $T
C1=cat $T
test “$C1” = ‘running’
exit $?
root@bbb42:~/ctrlU# ^C
root@bbb42:~/ctrlU#

not sure that this is your only problem… but you have to ‘start’ the pru…

here is a snip from my dmesg:

[Fri Jun 24 01:01:58 2022] remoteproc remoteproc1: stopped remote processor 4a334000.pru
[Fri Jun 24 01:01:58 2022] remoteproc remoteproc2: stopped remote processor 4a338000.pru
[Fri Jun 24 01:02:04 2022] remoteproc remoteproc1: powering up 4a334000.pru
[Fri Jun 24 01:02:04 2022] remoteproc remoteproc1: Booting fw image am335x-pru0-fw, size 36852
[Fri Jun 24 01:02:04 2022] remoteproc remoteproc1: remote processor 4a334000.pru is now up
[Fri Jun 24 01:02:09 2022] remoteproc remoteproc2: powering up 4a338000.pru
[Fri Jun 24 01:02:09 2022] remoteproc remoteproc2: Booting fw image am335x-pru1-fw, size 35792
[Fri Jun 24 01:02:09 2022] remoteproc remoteproc2: remote processor 4a338000.pru is now up

good luck.

gomer