uboot ddr customization

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

uboot ddr customization

689 Views
vladimirchernin
Contributor III

Hi!

Our custom board based on IMX6ULL evk and it uses LPDDR2 2gb

we need to custom our uboot and linux 

in the mx6ull_customboard.h (uboot )

i changed the size of ddr 

#define PHYS_SDRAM_SIZE SZ_2G // for 2 Giga

should i change  next parameters

#define CONFIG_NR_DRAM_BANKS 1    // my memory has 8 bank
#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR  

should i change these 2 params numbers of banks and physical address?

Thanks

Labels (3)
0 Kudos
1 Reply

321 Views
igorpadykov
NXP Employee
NXP Employee

Hi Vladimir

if board is based on nxp evk design I believe these settings

can be left in default state. It is necessary to run ddr test

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

and change uboot/../mx6ullevk/imximage_lpddr2.cfg with new calibration

coefficients found from test.

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

0 Kudos