Skip to contentSkip to conversation

configs: am62x_evm_r5: Increase malloc pool

PATCH In review Anshul Dalal 2 participants 2 messages Oct 15 – Oct 20

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: am62x_evm_r5: Increase malloc pool

Since the commit 6b4b1c8dc464 ("arm: mach-k3: am62: add &main_uart6 to clock and pwr tree"), the malloc usage of R5 SPL for AM62x EVM has been increased by ~400 bytes before relocation which leads to a boot failure with an "alloc space exhausted" error.

This patch fixes the issue by increasing the malloc pool.

Fixes 6b4b1c8dc464 ("arm: mach-k3: am62: add &main_uart6 to clock and pwr tree")
---
 configs/am62x_evm_r5_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/am62x_evm_r5_defconfig +1 -1
index 49656680252b..083fa780ca0d 100644
@@ -16,7 +16,7 @@ CONFIG_DM_GPIO=y
 CONFIG_SPL_DM_SPI=y
 CONFIG_DEFAULT_DEVICE_TREE="k3-am625-r5-sk"
 CONFIG_DM_RESET=y
-CONFIG_SPL_SYS_MALLOC_F_LEN=0x7000
+CONFIG_SPL_SYS_MALLOC_F_LEN=0x8000
 CONFIG_SPL_MMC=y
 CONFIG_SPL_SERIAL=y
 CONFIG_SPL_DRIVERS_MISC=y

---
base-commit: 65a7532545336e4b73e049a69436e255da7df961
change-id: 20261015-am62x_increase_malloc_pool-2c0ee0ff3fc1

Best regards,

Signature · 1 line
Anshul Dalal <[email protected]>
#1 lore raw
Quoted 8 lines · Anshul Dalal

Since the commit 6b4b1c8dc464 ("arm: mach-k3: am62: add &main_uart6 to clock and pwr tree"), the malloc usage of R5 SPL for AM62x EVM has been increased by ~400 bytes before relocation which leads to a boot failure with an "alloc space exhausted" error.

This patch fixes the issue by increasing the malloc pool.

[...]

Applied to u-boot/main, thanks!

[1/1] configs: am62x_evm_r5: Increase malloc pool

      commit: 2b696f8ead5f258c9dab045d1b1abb46fea11c24
Signature · 1 line
Tom