IMx7 Solo M4 boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMx7 Solo M4 boot

1,487 Views
makrist
Contributor I

Hello all,

Is it possible on IMx7 Solo to run application only for M4 core and not boot linux on A7 core?

2 Replies

643 Views
igorpadykov
NXP Employee
NXP Employee

Hi Lukaz

processor boot options are given in sect.6.6 System Boot i.MX7D Reference Manual

http://cache.nxp.com/files/32bit/doc/ref_manual/IMX7DRM.pdf

there is no option to boot directly M4, so some code should be run from

A7 to load code to M4 and run it. One can check AN5317

Loading Code on Cortex-M4 from Linux for the i.MX 6SoloX and i.MX 7Dual/7Solo Application Processors

cache.nxp.com/files/soft_dev_tools/doc/app_note/AN5317.pdf

In general one can develop custom code for such purpose and

run M4 from Uboot in similar way as in sect.4.7.6 Running the ARM

Cortex-M4 image attached Linux Guide.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

643 Views
erikfriedel
Contributor III

Hi

I have a few problems with loading the code for the M4 from Linux. how exactly can you move the code to a specific address in memory? This part isn't mentioned in the AN5317.pdf

Setting single bits is possible with devmem, so the rest of the procedure is fine.

Do I need to write a script or is there a super convenient command for this purpose I am unable to find?

"Load the code for the Cortex-M4 processor into the TCM_L memory." - But how?

Erik

0 Kudos