Hi,
rpmsg_lite_str_echo_rtos from SDK_2.9.1_EVK-MIMX8MM on evkmimx8mm board - 5.4-zeus
I can successfully load and run rpmsg_lite_str_echo_rtos_imxcm4.elf using remoteproc from A53 Linux and can send RPMsg messsages to the M4 using /dev/ttyRPMSG30.
However, with Linux booted on the A53 when I load and run the same M4 firmware
using JTAG debugger, the "RPMSG String Echo FreeRTOS RTOS API Demo..." message is printed on the M4 console but nothing else and RPMsg between Linux on A53 and M4 does not work.
As I can debug the rpmsg_lite_str_echo_rtos firmware, set breakpoints, etc, I see that main_remote.c:app_task() remains stuck in while (0 == rpmsg_lite_is_link_up(my_rpmsg))
main_remote.c:app_task()
while (0 == rpmsg_lite_is_link_up(my_rpmsg))
;
Please could someone explain this ?
If I interrupt the boot process and break into u-boot, load rpmsg_lite_str_echo_rtos using the JTAG debugger, then boot to Linux, RPMsg works OK (as it does when loaded and run using remoteproc) and I can debug the firmware OK too.
I’d really appreciate an explanation of why RPMsg does not work when the M4 firmware is loaded via JAG debugger while Linux is running on the A53 and hopefully how to overcome this problem.
Thanks in advance.
Solved! Go to Solution.
Hello,
I believe this already reached you, if not please check the following, the steps team have shared for this to work are the following:
Then you just need to repeat steps 10 -12 if you disconnect the debugger to load a new image.
Best regards,
Aldo.
Hello,
I believe this already reached you, if not please check the following, the steps team have shared for this to work are the following:
Then you just need to repeat steps 10 -12 if you disconnect the debugger to load a new image.
Best regards,
Aldo.
I'm running into this same problem, and having problems using this work-around. Specifically:
rpmsg_lite_str_echo_rtos_imxcm7.out is my ELF file, and it is indeed located in /media/usb-drive. Thoughts, suggestions?
Thanks Aldo, yes, this process works for me.