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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

641件の閲覧回数
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 返信

506件の閲覧回数
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 件の賞賛