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.

AM6422: booting R5 failed

Part Number: AM6422


Tool/software:

Hi,

i have a custom board running Linux. I am trying to get one of the R5-Cores running without success, could you please support here?

Here is my boot log:


[ 1.242058] platform 78000000.r5f: configured R5F for remoteproc mode
[ 1.242167] k3_r5_rproc bus@f4000:r5fss@78000000: split-mode not permitted, force configuring for single-cpu mode
[ 1.242452] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
[ 1.243106] remoteproc remoteproc0: 78000000.r5f is available
[ 1.243307] remoteproc remoteproc0: Direct firmware load for am64-main-r5f0_0-fw failed with error -2
[ 1.243323] remoteproc remoteproc0: powering up 78000000.r5f
[ 1.243371] remoteproc remoteproc0: Direct firmware load for am64-main-r5f0_0-fw failed with error -2
[ 1.243382] remoteproc remoteproc0: request_firmware failed: -2
[ 1.246686] platform 78400000.r5f: configured R5F for remoteproc mode
[ 1.246795] k3_r5_rproc bus@f4000:r5fss@78400000: split-mode not permitted, force configuring for single-cpu mode
[ 1.247156] platform 78400000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
[ 1.247744] remoteproc remoteproc1: 78400000.r5f is available
[ 1.248008] remoteproc remoteproc1: Direct firmware load for am64-main-r5f1_0-fw failed with error -2
[ 1.248026] remoteproc remoteproc1: powering up 78400000.r5f
[ 1.248080] remoteproc remoteproc1: Direct firmware load for am64-main-r5f1_0-fw failed with error -2
[ 1.248091] remoteproc remoteproc1: request_firmware failed: -2

There is no firmware in /lib/firmware and that's the reason for "requested firmware failed: -2"

I compiled the example empty in AM64x MCU+ SDK  11.00.00 and got in folder r5fss0-0_nortos empty.release.out binary. It was in am64x-evm folder!

I checked device in folder /sys/class/remoteproc/remoteproc0 -> device -> ../../../78000000.r5f So it seems to be the right one.
I upload the file into /lib/firmware

After:

echo empty.release.out > firmware
echo start > state

I am getting:

[30399.427569] remoteproc remoteproc0: powering up 78000000.r5f
[30399.428132] remoteproc remoteproc0: Booting fw image empty.release.out, size 193156
[30399.430325] remoteproc remoteproc0: Boot failed: -22

Could you please help to get this running?