I am having trouble configuring RPMsg for PicoCore™MX8MP-V4I-LIN with MX8MP Baseboard
I have compiled the fus-image-std image from fsimx8mp-Y2023.09 with lines 15 and 16 uncommented in linux-fus/arch/arm64/boot/dts/F+S/picocoremx8mp.dts such that they are:
I have also compiled rpmsg pingpong example from freertos-fsimx8mp-V2022.07.1 and moved the rpmsg_lite_pingpong_rtos_linux_remote.bin binary generated after make rpmsg_lite_pingpong_rtos_linux_remote.elf && make install to a directory named /home/root/cortex-m/ on the mx8mp.
I start the auxiliary Cortex-M7 with the following commands in uboot:
- setenv load_cmd "ext4load mmc 2:2"
- setenv m7image "/home/root/cortex-m/rpmsg_lite_pingpong_rtos_linux_remote.bin"
- setenv m7image_size 30000
- setenv loadm7image "${load_cmd} ${loadaddr} ${m7image}"
- setenv m7boot "${loadm7image}; cp.b ${loadaddr} 0x7e0000 ${m7image_size}; dcache flush; bootaux 0x7e0000"
- run m7boot
After which the following is sent over UART_C:
Then I boot into linux and run modprobe -v img_rpmsg_pingpong which returns insmod /lib/modules/5.15.71-F+S/kernel/drivers/rpmsg/imx_rpmsg_pingpong.ko but nothing appears to happen. No new output over UART_C.
Running dmesg | grep rpmsg returns imx rpmsg driver is registered.