I am using MCUXpresso SDK 24.12 to run the RPMsg multicore examples on the Cortex-M7 on the i.MX 8M Plus EVK board. These work correctly when run against the default i.MX Linux 5.4 kernel shipped with the EVK board in flash.
I have downloaded the latest i.MX Linux 6.12 kernel prebuilt image from NXP and written the wic image to an SD card.
The A53 boots from the SD card but if I try to run the RPMsg examples I find that the Cortex M7 is reset during the Linux boot sequence.
I am following the procedure in the i.MX Linux User Guide for v6.12 using the prepare_mcore and bootaux commands to start the Cortex-M7 core before booting Linux on the A53.
Are these RPMsg examples known to work with the v6.12 kernel on the i.MX 8M Plus EVK?
What might be causing the Cortex-M7 to be reset and is there a fix or workaround?
Hi Daniel.
I installed the 2.16 SDK but when I try to build the RPMsg example for the i.MX 8M Plus board I get the following error:
CMake Error at C:/Projects/P001312/mcux_sdk_mcux_2_16_100/middleware/multicore/set_middleware_multicore.cmake:1075 (message):
middleware_multicore_rpmsg_lite dependency does not meet, please check
C:/Projects/P001312/mcux_sdk_mcux_2_16_100/middleware/multicore/set_middleware_multicore.cmake.
Call Stack (most recent call first):
C:/Projects/P001312/mcux_sdk_mcux_2_16_100/core/devices/MIMX8ML8/all_lib_device.cmake:371 (include)
CMakeLists.txt:77 (include)
Looking at error source it seems the i.MX 8m Plus EVK is not one of the supported boards for this example project.
John
HI @JohnE :
To support i.MX 8M Plus, the patch for SEGGER J-LINK must be installed.
Please refer to AN14120 for more details.
AN14120: Debugging Cortex-M with VS Code on i.MX 8M, i.MX 8ULP, and i.MX 9 | NXP Semiconductors
Regards
Daniel
I have the Segger support already installed.
The problem is the check at line 1060 of mcux_sdk_mcux_2_16_100/middleware/multicore/set_middleware_multicore.cmake