Ram Size Increase - Android imx8mm

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

Ram Size Increase - Android imx8mm

941 次查看
seanlink
Contributor I

We are working on a product that is closely modeled after the imx8mm_evk. Due to increased memory demand, we decided to increase the amount of RAM from 2GB to 3GB. Android is able to boot with only one change within uboot.

include/configs/imx8mm_evk.h

-  #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */
+ #define PHYS_SDRAM_SIZE 0xC0000000 /* 3GB DDR */

 

I was wondering why I didn't need to make any changes to the device tree itself? Shouldn't this have crashed or failed to compile if the deivce tree was not updated? Am I going to get into any trouble without updating the device tree?

 

Section to update in question

arch/arm/dts/imx8mm-evk.dts

memory@40000000 {
    device_type = "memory";
    reg = <0x0 0x40000000 0 0x80000000>;
};

 

0 项奖励
回复
1 回复

923 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Am I going to get into any trouble without updating the device tree?

-->No, The DRAM has been initialized in SPL. It doesn't use dts in this stage.

0 项奖励
回复