u-boot=> fatls mmc 2
29209088 Image
8208 imx8mp_m7_TCM_hello_world.bin
19040 imx8mp_m7_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin
18528 imx8mp_m7_TCM_rpmsg_lite_str_echo_rtos.bin
40948 imx8mp_m7_TCM_sai_low_power_audio.bin
62815 myd-jx8mp-atk-10.dtb
61702 myd-jx8mp-base.dtb
62815 myd-jx8mp-hontron-7.dtb
62846 myd-jx8mp-lt8912.dtb
62555 myd-jx8mp-m190etn01-19.dtb
62619 myd-jx8mp-rpmsg.dtb
2113024 tee.bin
12 file(s), 0 dir(s)
u-boot=> printenv fdt_file
fdt_file=myd-jx8mp-base.dtb
u-boot=> setenv fdt_file myd-jx8mp-rpmsg.dtb
u-boot=> save
Saving Environment to MMC... Writing to MMC(2)... OK
u-boot=> printenv fdt_file
fdt_file=myd-jx8mp-rpmsg.dtb
u-boot=>
u-boot=> printenv fdt_file
fdt_file=myd-jx8mp-base.dtb
u-boot=> setenv fdt_file myd-jx8mp-rpmsg.dtb
u-boot=> save
Saving Environment to MMC... Writing to MMC(2)... OK
u-boot=> printenv fdt_file
fdt_file=myd-jx8mp-rpmsg.dtb
u-boot=> setenv m7_image imx8mp_m7_TCM_rpmsg_lite_str_echo_rtos.bin
u-boot=> setenv m7_boot_temp_addr 0x48000000
u-boot=> setenv m7_boot_addr 0x7E0000
u-boot=> setenv m7_run 'fatload mmc ${mmcdev}:${mmcpart} ${m7_boot_tem
> p_addr} ${m7_image};cp.b ${m7_boot_temp_addr} ${m7_boot_addr} 0x20000; bo
> otaux ${m7_boot_addr}'
u-boot=> setenv m7_run 'fatload mmc ${mmcdev}:${mmcpart} ${m7_boot_tem p_addr} ${m7_image};cp.b ${m7_boot_temp_addr} ${m7_boot_addr} 0x20000; bootaux ${m7_boot_addr}'
u-boot=> setenv mmcboot "run m7_run;${mmcboot}"
u-boot=> save
Saving Environment to MMC... Writing to MMC(2)... OK
u-boot=>
myd-jx8mp login: root
root@myd-jx8mp:~# modprobe imx_rpmsg_tty
root@myd-jx8mp:~# [ 33.759911] can1-stby: disabling
[ 33.763151] can2-stby: disabling
[ 33.766408] VSD_3V3: disabling
[ 33.769489] m2_keyb_pwr: disabling
echo "hi m7!" > /dev/ttyRPMSG30
root@myd-jx8mp:~# cat /dev/ttyRPMSG30
hi m7!