Increasing DRAM size of FVP
Hi All, I want to increase the size of DRAM available in FVP but My initial trials were not successful. Based on my previous experience with Arm reference integration (https://gitlab.arm.com/arm-reference-solutions/arm-reference-solutions-docs/-/blob/master/docs/aemfvp-a-rme/user-guide.rst?ref_type=heads), I just need to modify tf-a/fdts/fvp-base-psci-common.dtsi file in the following way:
memory@80000000 { device_type = "memory";
#if (ENABLE_RME == 1)
reg = <0x00000000 0x80000000 0 0x7C000000>,
<0x00000008 0x80000000 0 0x80000000>;
Changed to:
memory@80000000 { device_type = "memory";
#if (ENABLE_RME == 1)
reg = <0x00000000 0x80000000 0 0x7C000000>,
<0x00000008 0x80000000 0x00000001 0x80000000>;
The mentioned change will increase the RAM size from 4GB to 8GB. Based on my understanding, in contrast with the reference integration, shrinkwrap uses edk2 to boot NS stack. Therefore, I can already see two types of DTS, one in tf-a folder and the other type in dt and linux folders. So far, I have tried to apply the same change into all the mentioned DTS's and locally rebuild all things (using --no-sync-all option) but cannot see any changes and still there is 4GB RAM available to NW world (I just run $ free -h to see the available RAM size). What should be done to overcome this issue? I also added the following lines in dt-base.yaml OVERLAY section but it fails to build dtb during build step:
memory@80000000 { device_type = "memory";
reg = <0x00000000 0x80000000 0 0x80000000>,
<0x00000008 0x80000000 0x00000001 0x80000000>;
};
Cheers, Sina