I'm running into exactly the same issue as was described (and supposedly "solved") in this post:
However, the solution work-around is not working for me.
Specifically:
rpmsg_lite_str_echo_rtos_imxcm7.out is my ELF file, and it is indeed located in /media/usb-drive. Thoughts, suggestions?
Hi,
As the error says, it can't load the firmware. Please copy your ELF file into /lib/firmware/ and try again.
Regards,
It would be nice to have a more complete explanation of what this procedure is doing (i.e. what's the significance of each step). What's the significance of /lib/firmware/ - that isn't mentioned in the original solution post? It doesn't seem to be helping my cause. Here's a (new) complete list of steps I'm doing:
This is where I get:
[ 481.929609] remoteproc remoteproc0: powering up imx-rproc
[ 481.935153] remoteproc remoteproc0: Direct firmware load for /lib/firmware/myfile.elf failed with error -2
[ 481.944861] remoteproc remoteproc0: request_firmware failed: -2
[ 481.950838] remoteproc remoteproc0: Boot failed: -2
-sh: echo: write error: No such file or directory
Hello @Earthshine,
Please note that you have already set the path here:
echo /lib/firmware/ > /sys/module/firmware_class/parameters/path
This will let know remoteproc where to look for the firmware to be loaded, so to select your test elf file you should do it like this:
echo myfile.elf > firmware
So your steps look correct only number 8 try it as above.
Best regards,
Aldo.