AnsweredAssumed Answered

Alternate way of loading Cortex M4 core on i.MX8MQ EVK

Question asked by Venkatasai Thotakura on May 13, 2020
Latest reply on May 19, 2020 by igorpadykov

Context: I'm able to load binary to M4 core from u-boot prompt (using bootaux command) from attached file. I'm curious if there is any alternate way to load the M4 core like we have for i.MX8QXP here


Some info:

   I can see that the image format differs for i.MX8MQ & i.MX8QXP. Where as  i.MX8QXP has SECO (Security Controller) firmware, SCU (System Controller Unit) firmware, Cortex M Image (optional), Cortex A Image (optional) etc., as part of image format but i.MX8MQ has Image Vector Table, Boot data, Device Configuration Data, User code and data.



   So, we can't use the same procedure.


1. I'm wondering if there is any way to load the M4 core's binary from firmware before the u-boot comes up? or loading from u-boot is the only way?


2. Also, in the i.MX8MQ there is flash memory under the M4's memory map (from reference manual) how to load binary in to it and make the M4 get loaded from the same?


3. Under the program image has user code and data but there is no description of the same in the i.MX8MQ reference manual. So, does it refer to Cortex M & A images? can you please share some information on the same?


4. Any additional information which helps me in loading & executing the M4 core independently or at least before u-boot comes up?