Hi all,
I solved this, and I will post the settings.
About document , please refer to below.
About RTOS sample code , please refer to below.
- boards\evkmimx8mm\multicore_examples\rpmsg_lite_str_echo_rtos (Please Create SDK_2.5.0_EVK-MIMX8MM via SDK dashboard. )
How to run RPMsg sample is as follows.
- precondition
- In menu configuration enable the following module:
- Device Drivers > IMX RPMSG pingpong driver -- loadable modules only
- Device Drivers > IMX RPMSG tty driver -- loadable modules only
- Load Kernel module "imx_rpmsg_tty.ko"
- $ insmod imx_rpmsg_tty.ko
- CM4 binary is "imx8mm_m4_TCM_rpmsg_lite_str_echo_rtos.bin"
Please note that CM4 and kernel modules do not work if they are mismatched.
The procedure is as follows.
1. Please boot linux and "imx8mm_m4_TCM_rpmsg_lite_str_echo_rtos.bin". dmesg will be as follows.
root@imx8mmevk:~# dmesg | grep rpmsg
[ 0.861067] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 0.861114] virtio_rpmsg_bus virtio0: creating channel rpmsg-virtual-tty-channel-1 addr 0x1e
[ 0.873812] imx rpmsg driver is registered.
root@imx8mmevk:~#
2. Please load "imx_rpmsg_tty.ko" ($ insmod imx_rpmsg_tty.ko). RPMsg tty driver is installed (/dev/ttyRPMSG30 appers).
root@imx8mmevk:~# dmesg | grep rpmsg
[ 0.861067] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 0.861114] virtio_rpmsg_bus virtio0: creating channel rpmsg-virtual-tty-channel-1 addr 0x1e
[ 0.873812] imx rpmsg driver is registered.
[ 651.497802] imx_rpmsg_tty virtio0.rpmsg-virtual-tty-channel-1.-1.30: new channel: 0x400 -> 0x1e!
[ 651.506808] Install rpmsg tty driver!
[ 651.512199] rpmsg_tty_cb68 65 6c 6c 6f 20 77 6f 72 6c 64 21 hello world!
root@imx8mmevk:~#
The following message is displayed on the CM4 console at this point.
Nameservice sent, ready for incoming messages...
Get Message From Master Side : "hello world!" [len : 12]
3. you can echo string as follows.

Best Regards,
T.Kashiwagi