Hello Experts,
I have the imx8qm mek board and I want to test the rpmsg between M4 core 1 and Linux.
One M4 core 0 everything works, but on M4 core 1 it does not.
This line of the code is never executed:
The rpmsg dtb file was loaded.
Br,
I assume that you use rpmsg_lite_pingpong_rtos example, right? refer to the readme, it seems your print information is correct
"#define RPMSG_LITE_SHMEM_BASE 0x90010000" in main_remote.c for Cortex-M4 core0,
"#define RPMSG_LITE_SHMEM_BASE 0x90110000" for Cortex-M4 core1.
Running the demo
================
This examples shows how to implement the inter-core communicaton between Cortex-M4 core and Cortex-A core using rpmsg-lite library.
After the boot process succeeds, the ARM Cortex-M4 core0 terminal displays the following information:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RPMSG Ping-Pong FreeRTOS RTOS API Demo...
RPMSG Share Base Addr is 0x90010000
Link is up!
Nameservice announce sent.
Waiting for ping...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For Cortex-M4 core1 terminal displays the following information:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RPMSG Ping-Pong FreeRTOS RTOS API Demo...
RPMSG Share Base Addr is 0x90110000
app_srtm: AUTO and I2C service registered
Link is up!
Nameservice announce sent.
Waiting for ping...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After the Linux RPMsg pingpong module was installed, the ARM Cortex-M4 terminal displays the following information:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sending pong...
Waiting for ping...
Sending pong...
Waiting for ping...
Sending pong...
......
Waiting for ping...
Sending pong...
Ping pong done, deinitializing...
Looping forever...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pls check the steps as below, if still failed, pls share your detailed test steps, we already tested these files before release