Forum Discussion
Hi
Do you have any update on this case?
Could you share me your command on which address you are writing to? and device tree?
Regards
Jingyang, Teh
Hi,
still the error not resolved and i doubt,memory region mapping is not the issue.While using bdinfo command in u-boot terminal it clearly shows the mapped 8gb of address,but the issue is only 2GB is effective remaining 6GB is reserved.Refer the below log.
bdinfo log
"
lmb_dump_all:
memory.cnt = 0x2 / max = 0x10
memory[0] [0x0-0x7fffffff], 0x80000000 bytes flags: 0 ( 2GB )
memory[1] [0x280000000-0x3ffffffff], 0x180000000 bytes flags: 0 ( 6GB )
reserved.cnt = 0x4 / max = 0x10
reserved[0] [0x0-0x1ffffff], 0x02000000 bytes flags: 4
reserved[1] [0x7eb08000-0x7fffffff], 0x014f8000 bytes flags: 0
reserved[2] [0x7fb0e940-0x7fffffff], 0x004f16c0 bytes flags: 0
reserved[3] [0x280000000-0x3ffffffff], 0x180000000 bytes flags: 0 ( Reserved 6GB )
"
2.Checked the serial console while running the u-boot,which mentioned DDR : 8192 MiB but DRAM: 2 GiB (effective 8 GiB)
u-boot serial console log
"
U-Boot SPL 2024.07-36773-g0dad0a0a478-dirty (Feb 11 2025 - 12:14:33 +0530)
Reset state: Cold
MPU 1350000 kHz
L4 Main 400000 kHz
L4 sys free 100000 kHz
L4 MP 200000 kHz
L4 SP 100000 kHz
SDMMC 50000 kHz
DDR: 8192 MiB
SDRAM-ECC: Initialized success with 13735 ms
QSPI: Reference clock at 400000 kHz
WDT: Started watchdog@ffd00200 with servicing every 1000ms (10s timeout)
Trying to boot from MMC1
## Checking hash(es) for config board-0 ... OK
## Checking hash(es) for Image atf ... crc32+ OK
## Checking hash(es) for Image uboot ... crc32+ OK
## Checking hash(es) for Image fdt-0 ... crc32+ OK
NOTICE: BL31: v2.10.0 (release):
NOTICE: BL31: Built : 14:42:42, Dec 19 2024
U-Boot 2023.10 (Dec 24 2024 - 15:22:57 +0530)socfpga_agilex
CPU: Intel FPGA SoCFPGA Platform (ARMv8 64bit Cortex-A53)
Model: SoCFPGA Agilex SoCDK
DRAM: 2 GiB (effective 8 GiB)
Core: 27 devices, 22 uclasses, devicetree: separate
WDT: Started watchdog@ffd00200 with servicing every 1000ms (10s timeout)
MMC: dwmmc0@ff808000: 0
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
In: serial0@ffc02000
Out: serial0@ffc02000
Err: serial0@ffc02000
Net:
Warning: ethernet@ff804000 (eth0) using random MAC address - 1a:8f:6a:b4:eb:81
eth0: ethernet@ff804000
Hit any key to stop autoboot: 0
"
I have attached the serial console and bdinfo log image for your reference.
Thanks,
M Gokulraj