I am using a IMX8MM in my project and running android 9 on this. In the project, we plan to have some GPIO function working on M4, and there will be some communications between A core and M4.
I have download the RPMsg-lite sample for reference, but I still have no idea what's the mechanism for avoiding resources overlap on both A core and M4. Is the multicore manager responsible for the resource allocation and monitoring between multiple core? If it is, where can I find the sample code? (I only found RPMsg-lite under the multicore example folder)
For the tests you can play with RPMsg test program included into unit-test of our Linux.
Please refer to chapter 2.8.5 "Running i.MX RPMsg Test Programs" of 2.8.5 of i.MX Linux Reference Manual included to this bundle:
https://www.nxp.com/docs/en/supporting-information/fsl-yocto-L4.9.123_2.3.0_mx8mm.zip