Does anyone know what the remoteproc error codes are?
pru_rproc doesn't start the pru's at boot time, I assume this is the new behaviour in 4.14 with the uBoot overlays. I've updated initramfs since symlinking my binary to /lib/firmware/am335x-pru1-fw, that hasn't helped. I've done an rmmod/modprobe cycle, that hasn't helped either.
However, I would have expected it to start when I:
debian@beaglebone:/lib/firmware$ sudo echo 'start' > /sys/class/remoteproc/remoteproc2/state
-bash: /sys/class/remoteproc/remoteproc2/state: Permission denied
Looking at dmesg, I see:
[22251.654264] remoteproc remoteproc2: powering up 4a338000.pru
[22251.654353] remoteproc remoteproc2: Direct firmware load for am335x-pru1-fw failed with error -2
[22251.654371] remoteproc remoteproc2: request_firmware failed: -2
[22251.665903] remoteproc remoteproc2: Boot failed: -2
The .out file is built with Ti v2.1.5 compiler under CCS - do I need to update my pru-software-support-package?
It would be handy if I could figure out what the -2 error code was.