I am using imx8mq board to develop rpmsg in my project. I am running Android 11.0.0_2.0.0. I flashed the M4 image along with Android images with "uuu_imx_android_flash.sh" script. And in uboot I set bootcmd as below:
At first, M4 run normally as expected, But after few seconds, M4 program crashed and Android run normally.
What's the problem maybe?
I have solved the rpmsg problem.
What you said is about solveing M4 crashing when using UART2? You mean uart2 clock is enabled by A-core not by M-core. I donot agree with you, if as you said, why M4 can run with UART2 printing alone without runging A-core.