I am using a IMX8M mini EVK in my project. On A53 android (P9.0.0_2.3.0) is running and on M4 freertos based application is running. Both were running in parallel without any issues until I added a SPI functionality on M4 side. (Used ECSPI2). Now M4 application gets stuck once the android boots.
Changed vendor/nxp-opensource/kernel_imx/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk-m4.dts to disable the ECSPI2 on android.
status = "disabled";
Rebuilt the kernel and android and flashed using uuu tool with "-d m4" option. But still the problem persists.
Please let me know how to resolve this. Also let us know how can we confirm that ecspi2 is actually got disabled in android.
Thanks in advance !!