Hi again,
I have some mature PRU firmware that I've been loading and starting by having a
program manipulate the files
/sys/class/remoteproc/remoteproc[12]/(state|firmware)
well after the system has booted.
I'd like to speed that process up, so today I've finally copied my firmware files to /lib/firmware/am335x-pru0-fw and /lib/firmware/am335x-pru1-fw . Now, I did do
sudo update-initramfs -uk `uname -r` ; sudo reboot
like you're supposed to. I can even do
zcat /boot/initrd.img-4.19.50-ti-r20 | cpio -itv
and see my firmware files inside the file (albeit as /usr/lib/firmware/am335x-pru[01]-fw).
When the PocketBeagle boots, the firmware is listed correctly within /sys/class/remoteproc/remoteproc?/firmware files, it's just that the neighbouring "state" files show that both PRUs are "offline". I can echo "start" into those files and things work fine, but as I'm trying to accelerate the time from boot to a running system, it would be really nice if the firmware could start automatically on boot, as quickly as possible.
I'm using this firmware in concert with a new device tree overlay I've also been developing, which is the subject of
another thread. If you like, you can view it at
Thanks for any help,
--Tom