Hello.
We are developing a device based on the AM6548 SR2.0 processor.
For development, we use the Linux SDK for AM65x 07_00_00_08.
The device will have 4Gb and 2Gb RAM memory. We use _defconfig to change 2G/4G options (2 devicetree file options).
Through conditional compilation (define) we set the memory size in uBoot in the file evm.c
/* Bank 0 declares the memory available in the DDR low region */
gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
gd->bd->bi_dram[0].size = 0x80000000;
gd->ram_size = 0x80000000;
#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;
#ifdef CONFIG_2GB_DEVICE
gd->bd->bi_dram[1].size = 0;
gd->ram_size = 0x80000000;
#else
gd->bd->bi_dram[1].size = 0x80000000;
gd->ram_size = 0x100000000;
#endif
#endif
When compiling the 2GB version of the device, the USB bus and Ethernet works normally. When compiling the 4GB version we get an error:
[ 9.430219] am65-cpsw-nuss 46000000.ethernet: phy /interconnect@100000/interconnect@28380000/ethernet@46000000/mdio@f00/ethernet-phy@0 not found on slave 1
We found out that this error is fixed if we remove DDR high region.
Can you tell us what might be causing this problem?