UBOOT Shows 3GB RAM on hardware 2GB RAM

cancel
Showing results for 
Search instead for 
Did you mean: 

UBOOT Shows 3GB RAM on hardware 2GB RAM

Jump to solution
317 Views
trongthinh
Contributor IV

I used MScale DDR Tool to do RAM calibration on my custom board base on iMX8mq-evk. MScale DDR Tool RAM shows size of RAM is 2GB (2GB is correct value). Then I generated ddr_init.c and ddrphy_train.c to build with uboot. 

LPDDR4Calib.PNG

Uboot was build successfully but it show 3GB RAM in boot log (3GB is wrong value). I marked it Yellow. So What wrong with my uboot or MScale DDR Tool? I would like to correct this for my custom board. I also attached some files that generated by MScale ddr tool.

LPDDR4Log.PNG

Labels (1)
1 Solution
127 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Thinh

one can check #define PHYS_SDRAM_SIZE parameter in

uboot/include/configs/imx8mq_evk.h   

imx8mq_evk.h\configs\include - uboot-imx - i.MX U-Boot 

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

View solution in original post

0 Kudos
2 Replies
128 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Thinh

one can check #define PHYS_SDRAM_SIZE parameter in

uboot/include/configs/imx8mq_evk.h   

imx8mq_evk.h\configs\include - uboot-imx - i.MX U-Boot 

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

View solution in original post

0 Kudos
127 Views
trongthinh
Contributor IV

Hi igor,

Thank you very much

0 Kudos