IMX6 Linux Booting Fail after change RAM from 1G to 2G

Showing results for 
Search instead for 
Did you mean: 

IMX6 Linux Booting Fail after change RAM from 1G to 2G

Contributor I

I am having hard time booting after ram ugprade from 1G to 2G with IMX6Q. 

the target board that I use have been upgraded from 1G RAM to 2G RAM. 

After the RAM upgade, the target fails to boot with following error message:


RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (junk in compressed archive); looks like an initrd

With the RAM uprade, I have modified PHYS_SDRAM_1_SIZE in board specific file of Uboot (board/freescale/mx6q_xxx/mx6q_xxx.c) from 1G to 2G, and also modified the MMDC Core Control Register's Row Address Width field to match the 2G RAM.

The upgraded target boots fine when I revert the PHYS_SDRAM_1_SIZE back to 1G and MMDC Core Control Register. 

Would there be anything else need to be fixed for the RAM size upgrade?

Thanks in advnace. 

Labels (2)
0 Kudos
1 Reply

NXP TechSupport
NXP TechSupport




  Although in general Your approach is correct, please check if all needed
U-boot modification were performed : refer to Chapter 1 (Porting U-Boot from an i.MX 6/7

Reference Board to an i.MX 6/7 Custom Board) of “i.MX_BSP_Porting_Guide.pdf”.


 Recent BSP : 


Summary page :

 i.MX 6 / i.MX 7 Series Software and Development Tool|NXP 


  Perhaps fine tuning of some timing parameters is needed. Please use Aid tool(s) for it.

i.MX DDR Register Programming Aids 



  Please check the memory, using the recent memory test (with resulting settings after

calibration) more carefully, during long time (say, for several hours / overnight mode). 

Have a great day,

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

0 Kudos