hi TI
We use SDK j721e-S2 8.04, our board DDR is 4G(onlu one DDR),but the default DDR setting in SDK is 16G, i change the file in linux as following:
Whether memery map need to change?if need, how to modify?(I didn't modify the memery map.And i have met some strange problems, i don't kown if it is related to this)
/linux-sdk / board-support/u-boot/arch/arm/dts/k3-j721s2-som-p0.dtsi
{
memory@80000000 {
device_type = "memory";
/* 16 GB RAM->4GB */
reg = <0x00 0x80000000 0x00 0x80000000>,
<0x08 0x80000000 0x00 0x80000000>;// default is <0x08 0x80000000 0x03 0x80000000>;
};
board-support/u-boot/board/ti/j721s2/evm.c
#ifdef CONFIG_PHYS_64BIT
/* Bank 1 declares the memory available in the DDR high region */
gd->bd->bi_dram[1].start = CONFIG_SYS_SDRAM_BASE1;
gd->bd->bi_dram[1].size = 0x7fffffff; //default is 0x37fffffff;
gd->ram_size = 0x100000000; //default is 0x400000000
#endif