I have been working with imx8mn evk board and want make use of the rpmsg module to communicate between the 2 cores. I have used the procedure mentioned in https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Using-Cortex-M4-SDK-to-communicate-with-...
I have made changes accordingly for the imx8mn. I made changes in the SharedBoardConfig.mk. While remaking the images, it detected the changes and I observed an output that mentioned the changed file. I also was able to locate the new file in vendor/lib/modules directory.
I have been able to use the insmod command as well and booted the M7 image as found in the MCUXpresso SDK. But I am not able to echo any message as the system does not have a /dev/ttyRPMSG* port. What am I missing in the steps?
How to enable this /dev/ttyRPMSG port?
How do I establish communication between the M7 and A53 cores of the board?
PS I want to run the Android OS on A53 core and not Linux in my final prototype.
After further inspection using the dmesg command I found that there is no reference to the imx_rpmsg_tty.ko after the insmod. Does this mean that the .ko kernel object file was not enabled?
Also while flashing should I use the -d rpmsg flag while using UUU tool? If so I run into the issue that during the Android Boot I see the line saying that the watchdog timer exited 4 times in 4 minutes. What does this issue represent??
The procedure you have follow seems fine, please note that the /dev/ttyRPMSG* port is an indicator so you most select the correct channel i.e. /dev/ttyRPMSG1
Regarding flashing, yes, use the -d rpmsg option, this will select the correct dtbo and vbmeta images and flash them.