Hello,
I need to control the Cortex M7 from Linux. For that, I enabled the rpproc driver by removing the comment-marks from the definitions of SUPPORT_M7 and SUPPORT_RPMSG in the picocoremx8mp.dts device tree file. The driver gets loaded, and the remoteproc0 node and its children appear in /sys/class/remoteproc. However, any attempt to start a program on the M7 freezes the entire system. Starting M7 from U-boot with bootaux works fine.
The issue is well known, see e.g. https://community.nxp.com/t5/i…RPMSG/m-p/1625436#M203496. The solution from NXP, which is even documented on page 44 in https://www.nxp.com/docs/en/us…IMX_LINUX_USERS_GUIDE.pdf, is to execute "run prepare_mcore" in U-boot before the Linux kernel gets started. However, my U-boot version (2021.04-F+S-fsimx8mp-Y2023.09) does not provide prepare_mcore. So, what can I do to get the M7 running from Linux?