iMX7 Relocating M4 Code to DDR

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

iMX7 Relocating M4 Code to DDR

961 Views
Duracell
Contributor II

Hi

I currently have a board with iMX7d. The M4 is running from TCM. I already have units in field but I am not able to remotely update uBoot. I can update Linux remotely.

I now want to run the M4 code from DDR. Can this be done with only changing the Linux image and not changing uBoot?

Thanks in advance

0 Kudos
6 Replies

925 Views
BiyongSUN
NXP Employee
NXP Employee

It is  related to M4. Please search i.MX6SX_M4_MPU_Settings_For_RPMSG_08102018.pdf in the below link.

Although it is i.MX6SX, it is the same knowledge. 

 

 

i.MX Development Miscellanea(i.MX 开发杂记)
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-Development-Miscellanea-i-MX-%E5%BC...

 

0 Kudos

955 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sean

 

one can try procedures described in below documents

AN5317    Loading Code on Cortex-M4 from Linux for the i.MX 6SoloX and i.MX 7Dual/7Solo Application Processors
https://github.com/NXPmicro/imx-m4fwloader

 

Best regards
igor

0 Kudos

948 Views
Duracell
Contributor II

Hi Igor

Thanks for your response. The AN talks about OCR and TCM and loading a new image at run time. Unfortunately it still does not help me understand the following:

My M4 code is currently running from TCM. I will modify my M4 code to run from DDR. Do I also need to rebuild my make change to my Yocto Linux image or will it work without a change to the Linux image?

Thanks in advance

 

0 Kudos

945 Views
Duracell
Contributor II

eg. does the Linux memory map need to be adjusted and Linux therefore needs to be rebuilt?

0 Kudos

943 Views
Duracell
Contributor II

also, does uBoot need to be recompiled to accommodate this change?

0 Kudos

932 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos