How to get U-boot work with 4GByte Memory for iMX6DL

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

How to get U-boot work with 4GByte Memory for iMX6DL

798 Views
skuzu
Contributor II

The register to physically access 4GByte DDR3 RAM is set to:

        0x021b0040, 0x0000007F   

Memory above 2GByte is physically available and we can read/write using U-boot md/mw commands.

When CONFIG_DDR_MB is set to 2048, U-boot is fine.

But when we make CONFIG_DDR_MB above 2048 (more than 2GByte)  and it does not work, U-boot freezes when it tries to relocate itself.

What else needs to be changed?

regards,

Selcuk

Labels (1)
0 Kudos
1 Reply

462 Views
igorpadykov
NXP Employee
NXP Employee

Hi Selcuk

settings should be modified in uboot/configs/*board*.h  file, like

#define PHYS_SDRAM_SIZE  (1u * 1024 * 1024 * 1024)

also refer to attached Porting Guide Chapter 1.   *.cfg file

in board/freescale/mx6sabresd should be updated with new ddr settings

found from ddr tester

i.MX6/7 DDR Stress Test Tool V2.40

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos