I am trying to connect a custom device to this Linksys router. This device has a firmware file which I copy and paste into the /lib/firmware folder. The issue I am facing is, on bootup if the device is connected I get an error saying the firmware file was not present in the /lib/firmware folder. But the device works fine if I connect the device after bootup.
I believe the issue is the way I am copying the firmware file. By default, the Linksys Openwrt image uses squashfs which upon further reading is a read-only file system and uses overlayfs to write on the FS which might be the reason of this error but I could be wrong
What would be the correct way to go about putting the firmware file in the router file system, so on bootup the deivce works.