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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,026 次查看
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

标签 (1)
0 项奖励
回复
1 回复

690 次查看
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 项奖励
回复