BBAI64: PRU 5.10.x

Trying to get the PRU’s to work with 12.6 with no sucess. Some where something changed where I can’t get 5.10 to work anymore. I keep getting a – “write error: No such file or directory” when I.

$ echo /lib/firmware/SquareWave > /dev/remoteproc/j7-pri0_0/firmware
$ echo start > /dev/remoteproc/j7-pru0_0/state
-bash: echo: write error: No such file or directory

My_GPIO.dts (4.8 KB)

Should I give 12.7 a try?

TI’s PRU examples are here: Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - pru-software-support-package/pru-software-support-package.git/tree - examples/j721e/ tag v6.1.0 was the last release for v5.10.x on Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - pru-software-support-package/pru-software-support-package.git/shortlog

I did a pull on the ti pru repository see some minor changes from what I had. Will give it a try with 5.10. My ultimate goal is to get my PRU stuff to work with kernel version 6.1.x Bookworm. I have had success with my overlay “My_GPIO.dts” for the use with /sys/class/gpio command line commands.

Made progress update PRU app with update pru-software-support-package and am not getting the same write error and so I need to focus on my overlay. I am trying to toggle PRU0 bit16 which I believe maps to P8_12. Any thoughts, thanks.

Got 5.10 working P8_16 for my GPIO pin and P8_12. Changed the statement:
From:
__R30^= 0x00050000;
To:
__R30^= 0xFFFFFFF;

Must have not mapped specific pins correctly.
Now back to 6.1