On Wed, Oct 25, 2017 at 9:17 AM, Paul Van den Bergh <[email protected]> wrote: > OK, thanks, this made it.... > > Can you explain (or give link(s) to explain) what was the problem and how > update-initramfs... solved it?
It's a race condition.. When the pru-rproc module (or built-in) loads it looks for the firmware files. While they are on the filesystem at /lib/firmware/, the file system isn't fully loaded, thus they aren't really available. By running: sudo update-initramfs -uk `uname -r` The am335x-pru0-fw/am335x-pru1-fw files will be coped into the initrd, that way they'll be available for pru-rproc right away, thus no longer depended on the rootfs being up.. Here is the update-initramfs hook-functions that does the coping: https://github.com/rcn-ee/repos/blob/master/bb-customizations/suite/jessie/debian/ti_pru_firmware PS, this also has a side affect, make sure you re-run: sudo update-initramfs -uk `uname -r` ; sudo reboot on "every" pruX-fw modification, as the initrd will always have the "last" version... Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYgNsD4sKUFGHE4MKiqww7NJM1Bm69Khjdsn_DjgKVCjmQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
