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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

856 次查看
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,

标签 (2)
0 项奖励
回复
1 回复

721 次查看
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 项奖励
回复