Skip to contentSkip to conversation

configs: phycore_am62x_r5_defconfig: Increase SPL Malloc Pool

PATCH In review Daniel Schultz 2 participants 2 messages Jan 15, 2025 – Jan 23, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: phycore_am62x_r5_defconfig: Increase SPL Malloc Pool

Increase the malloc pool size for the SPL by additional 4kB from 0x7000 to 0x8000.

This fixes following error message:
...
alloc space exhausted ptr 7028 limit 7000
DRAM init failed: -12

---
 configs/phycore_am62x_r5_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/phycore_am62x_r5_defconfig +1 -1
index a856e69d88c..c5ddcd72852 100644
@@ -21,7 +21,7 @@ CONFIG_SPL_MMC=y
 CONFIG_SPL_SERIAL=y
 CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
-CONFIG_SPL_SYS_MALLOC_F_LEN=0x7000
+CONFIG_SPL_SYS_MALLOC_F_LEN=0x8000
 CONFIG_SPL_TEXT_BASE=0x43c00000
 CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
 CONFIG_SPL_BSS_START_ADDR=0x43c3b000
Signature · 1 line
2.25.1
#1 lore raw
Quoted 9 lines · Daniel Schultz

Increase the malloc pool size for the SPL by additional 4kB from 0x7000 to 0x8000.

This fixes following error message:
...
alloc space exhausted ptr 7028 limit 7000
DRAM init failed: -12

[...]

Applied to u-boot/master, thanks!

Signature · 1 line
Tom