This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RE: SK-AM64B: How to load new firmware into remote cores from Linux?

This thread is a continuation of the discussion at e2e.ti.com/.../sk-am64b-syscfg-ti_drivers_config-o-build-errors-while-trying-to-build-led-blink-example-with-ipc

Hello Nick

Thanks for creating the FAQ link It would be very useful. I have not connected the board to LAN. I am connected using UART.
I copied the firmware (stripped version of .out file) into the board by using a pendrive. I kept it at the said location

I followed two methods to try to run the led blink example on the remote processor through Linux

1. Using the commands mentioned in the above mentioned YouTube video (for YouTube link see my first post):
When i try the commands mentioned in the PPT, I get following errors. In my case remoteproc1 is R50_0 process

root@am64xx-evm:/lib/firmware# echo gpio_led_blink.out > /sys/class/remoteproc/remoteproc1/firmware
[ 6486.007656] platform 78000000.r5f: can't change firmware while running
-sh: echo: write error: Device or resource busy

cannot proceed further here. If I try to run stop command then I get following error
root@am64xx-evm:/lib/firmware# echo stop > /sys/class/remoteproc/remoteproc1/state
[ 6573.171166] platform 78000000.r5f: k3_r5_rproc_stop: timeout waiting for rproc completion event
[ 6573.179913] remoteproc remoteproc1: can't stop rproc: -16
-sh: echo: write error: Device or resource busy
root@am64xx-evm:/lib/firmware#


2. The second method I tried is from this webpage
dev.ti.com/.../eval-booting-remote-cores.html

Here as well stop command gives an error, so there is no point proceeding further. But even If I try to proceed further the firmware does not change the symbolic link
and led blink firmware does not run

Any I am missing something here?

These steps can also be documented in the FAQ

Thanks
Amey