Issue with DRAM Size in im6ULL

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with DRAM Size in im6ULL

21 Views
Contributor I

Hi,
We are using imx6ULL custom board mounted with 512MB DDR. We are trying to boot our board with 512MB DRAM, but it was not booting. But our board was booting fine with 256MB DRAM with same DDR size(512MB).

Below are the steps we followed,

1.We calibrated 512MB memory space successfully using ddr_stress_tool.

2.Once, calibration was completed, We applied the calibration changes in our U-boot imximage.cfg and plugin.S files.

Our board is not booting with the above 512MB calibration.

But when we changed calibration size to 256MB from 512MB, then it is working fine with 256MB DRAM size.

Please suggest if any changes are required.

0 Kudos
1 Reply

14 Views
NXP TechSupport
NXP TechSupport

Hi sheik

 

512MB DDR is used in i.MX6ULL EVK, from uboot/include/configs/mx6ullevk.h:

#define PHYS_SDRAM_SIZE SZ_512M

https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/mx6ullevk.h?h=imx_v2020.04...

For errors one can try to run ddr test 

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-6-7-DDR-Stress-Test-Tool/ta-p/11082...

and rebuild image from scratch using new ddr calibration coefficients found from ddr test

 

Best regards
igor

0 Kudos