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
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!
-----------------------------------------------------------------------------------------------------------------------