Zephyr: MIMXRT1180-EVK dual-core system where CM33 boots first and then starts CM7 #102719
-
|
What I am trying to do ?
What I have tried so far?
However, there is no observable execution on CM7 (no UART output / GPIO activity) Additional issue I also attempted to use west build --sysbuild to build the primary (CM33) and child (CM7) images together, but I am currently unable to get the child image to build successfully on MIMXRT1180. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Hi @ruchi-30 , That command leverages Sysbuild to build both images for CM33 and CM7. West will also flash both images with the Launching the CM7 core requires selecting Let us know how that works for you. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @ruchi-30 , I just tested the mbox sample on the MIMXRT1180-EVK using the build command below, and the sample with Sysbuild works great in NXP already provides a few multicore sample apps running on this evaluation board, leveraging Sysbuild to simplify the examples. I understand you will not use the mbox driver in your app. But I recommend you start with a known good example like mbox. Verify this runs as expected on your hardware. Then you can copy that app and remove what you want. If you still have issues, you can compare the app with issues to the working reference to find what is different. To answer your questions:
Sysbuild works with the mbox sample for me in
Not that I am aware of. Start with the known good examples listed above.
Yes, the mbox and other multicore samples shared above.
I recommend you flash a working example like mbox, confirm it works on your hardware. Then you can use a debugger and step through second_core_boot() in soc.c to see how the CM33 app launches the CM7 core. Let us know how that works for you. |
Beta Was this translation helpful? Give feedback.
Hi @ruchi-30 ,
I just tested the mbox sample on the MIMXRT1180-EVK using the build command below, and the sample with Sysbuild works great in
v4.3.0andv4.2.0and the latest main branch with b4108b5 .NXP already provides a few multicore sample apps running on this evaluation board, leveraging Sysbuild to simplify the examples. I understand you will not use the mbox driver in your app. But I recommend you start with a known good example like mbox. Verify this runs as expected on your hardware. Then you can copy that app and remove what you want. If you still have issues, you can compare the app with…