Other Parts Discussed in Thread: TMDS64EVM, SYSCONFIG
Tool/software:
Hello,
I just created an application to blink a LED from R5F0 core with no RTOS. I replaced the firmware on /lib/firmware by my firmware. when I start the AM64-evm, in Linux I have this message for remoteproc
(I add a resource table in my R5F application)
remoteproc remoteproc0: Booting fw image am64-main-r5f0_0-fw, size 310068
[ 12.464193] remoteproc remoteproc0: bad phdr da 0x70080000 mem 0xef00
[ 12.473257] remoteproc remoteproc0: Failed to load program segments: -22
what does it mean ? I don't find where is the problem. Do you have an idea ?
MY MEMORY CONFIGURATION on R5F
name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
R5F_VECS 00000000 00000040 00000040 00000000 RWIX
R5F_TCMA 00000040 00007fc0 00000000 00007fc0 RWIX
R5F_TCMB0 41010000 00008000 00000000 00008000 RWIX
FLASH 60100000 00080000 00000000 00080000 RWIX
MSRAM 70080000 00040000 00016fd8 00029028 RWIX
DDR_0 a0100000 00100000 00001000 000ff000 RWIX
DDR_1 a0200000 00e00000 00000000 00e00000 RWIX
RTOS_NORTOS_IPC_SHM_M a5000000 00800000 00000000 00800000 RWIX
USER_SHM_MEM a5800000 00000080 00000000 00000080 RWIX
LOG_SHM_MEM a5800080 00003f80 00000000 00003f80 RWIX
SEGMENT ALLOCATION MAP
run origin load origin length init length attrs members
---------- ----------- ---------- ----------- ----- -------
00000000 00000000 00000040 00000040 r-x
00000000 00000000 00000040 00000040 r-x .vectors
70080000 70080000 0000ef00 00000000 rw-
70080000 70080000 00002f00 00000000 rw- .bss
70082f00 70082f00 00008000 00000000 rw- .sysmem
7008af00 7008af00 00004000 00000000 rw- .stack
7008ef00 7008ef00 00006940 00006940 r-x
7008ef00 7008ef00 00005160 00005160 r-x .text
70094060 70094060 00000898 00000898 r-- .rodata
700948f8 700948f8 00000760 00000760 r-x .text.hwi
70095058 70095058 00000430 00000430 r-x .text.cache
70095488 70095488 00000220 00000220 r-x .text.mpu
700956a8 700956a8 00000190 00000190 r-x .text.boot
70095838 70095838 00000008 00000008 r-x .text:abort
70095840 70095840 00000398 00000398 rw-
70095840 70095840 00000398 00000398 rw- .data
70095bd8 70095bd8 00001400 00000000 r--
70095bd8 70095bd8 00000100 00000000 r-- .irqstack
70095cd8 70095cd8 00000100 00000000 r-- .fiqstack
70095dd8 70095dd8 00001000 00000000 r-- .svcstack
70096dd8 70096dd8 00000100 00000000 r-- .abortstack
70096ed8 70096ed8 00000100 00000000 r-- .undefinedstack
a0100000 a0100000 00001000 00001000 r--
a0100000 a0100000 00001000 00001000 r-- .resource_table
Thank you