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.

PROCESSOR-SDK-AM65X: remoteproc does not start a created custom firmware for R5F with Code Composer

Part Number: PROCESSOR-SDK-AM65X

Hello,

I created with Code Composer Studio V9 a dummy program and built a firmware file for R5F.

When I try to load it the terminal outputs following


 modprobe ti_k3_r5_remoteproc


[ 35.764810] 001: platform 41000000.r5f: configured R5F for remoteproc mode
[ 35.765519] 001: platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
[ 35.765932] 001: remoteproc remoteproc0: 41000000.r5f is available
[ 35.779276] 001: remoteproc remoteproc0: powering up 41000000.r5f
[ 35.779305] 001: remoteproc remoteproc0: Booting fw image myImage-r5f0_0-fw, size 82648

and the status is offline

cat /sys/class/remoteproc/remoteproc0/state
offline

If I try to change the status with:

echo 'start' > cat /sys/class/remoteproc/remoteproc0/state

The terminal stops working.

The SDK default binaries for R5F under /lib/firmware look to run when they are loaded with rproc. 

I find it suspect that the remoteproc memory addresses that the terminal shows "41000000.r5f" have nothing to do with addresses in default linker file for Code Composer Studio linker_r5.lds. 

How can be built and linked a firmware with Code Composer Studio that remoteproc can load?

Thank you 

Kind regards