Hello,
I have an iMX93evk board, with a single boot (both A55 and M33 are running), with rpmsg dts and also rpmsg in the M33.
I am also able to use remoteproc to stop the M33 after the board full boot.
I followed the steps to set the path to the .elf file:
- echo ~/x.elf > /sys/devices/platform/imx93-cm33/remoteproc/remoteproc0/firmware
followed by an echo start > state.
In the kernel output:
remoteproc0: Booting fw image /usr/lib/firmware/imx93-11x11-evk_m33_TCM_rpmsg_lite_pingpong_rtos_linux_remote.elf
SError Interrupt on CPU1, code 0x00000000be000011 -- SError
....
pc : __memcpy+0x13c/0x240
lr : rproc_start+0x64/0x1b4
The problem seems to be in the rproc_start which causes the kernel panic during a memcpy.
Any idea of may be causing this? I looked to the M33 linker file, memory is aligned. Do you have ideas on how to proceed debugging?
Thanks in advance.