Migrating to PRUs in BeagleBone AI64

I have earlier worked with BBB PRUs, However with new BB AI64, it seems quite complicated.

I have followed steps as discussed in here. The issues I felt are following.

  1. “vi /opt/source/dtb-5.10-ti-arm64/src/arm64/k3-j721e-beagleboneai64.dts” the mentioned loaction was not found it was someting like “/opt/source/dtb-5.10-ti/src/arm64/k3-j721e-beagleboneai64-bone-buses.dtsi”

  2. I edited the dtsi file as mentioned to enable PRU GPIO functionalitites.

  3. Tried to run example code as suggested above, however, it prompted with error : cannot find file j721E_PRU0.cmd, no input section is linked in