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>;
};
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.