Forum Discussion
alifzakuan_altera
New Contributor
5 months agoHi ihsan28,
You can set your desired DRAM size in the device tree by modifying this line of code here - https://github.com/altera-fpga/u-boot-socfpga/blob/cd3a9044d66128bc67c4ce60eb752ac528620f54/arch/arm/dts/socfpga_agilex7m_socdk-u-boot.dtsi#L36
Currently, the default value was set to 2GB - 0x80000000
reg = <0 0x00000000 0 0x80000000>;
You can set it to 4GB by changing the value to 0x100000000.
Thanks,
Alif