how to update ddr from 1g to 2g in kernel

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

how to update ddr from 1g to 2g in kernel

622 Views
conteczxy
Contributor III

Hi,

My environment:

Imx6q, 2G ddr, 8G emmc, Android8 oreo, kernel: 4.9.17,

How to update ddr from 1g to 2g in kernel?  

Should  I change memory node in dts file?

default:

 memory: memory {

 reg = <0x10000000 0x40000000>;
 };

Is this change correct?:

 memory: memory {

 reg = <0x10000000 0x80000000>;
 };

in uboot, I changed 

include/configs/mx6sabresd.h

#define PHYS_SDRAM_SIZE (2u * 1024 * 1024 * 1024) 

board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg

It seems works in uboot, and I noticed there is also memory config dts file in kernel, and should I change it accordingly?

Thanks,

Labels (2)
0 Kudos
1 Reply

487 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Use chapters about porting U-boot and kernel  in "i.MX_BSP_Porting_Guide.pdf" of NXP Linux documentation.

i.MX Software | NXP 

Regards,

Yuri.

0 Kudos