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

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

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

801 Views
jongjyhhsieh
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

487 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

1.

  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 :

http://www.nxp.com/webapp/Download?colCode=L4.1.15_2.1.0_LINUX_DOCS&Parent_nodeId=133769948107170617... 

 

Summary page :

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

2.

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

i.MX DDR Register Programming Aids 

 

3.

  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).

 

https://community.nxp.com/docs/DOC-105652 

Have a great day,
Yuri

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

0 Kudos