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")
Signed-off-by: Anshul Dalal <[email protected]>
---
 configs/am62x_evm_r5_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/am62x_evm_r5_defconfig b/configs/am62x_evm_r5_defconfig
index 49656680252b..083fa780ca0d 100644
--- a/configs/am62x_evm_r5_defconfig
+++ b/configs/am62x_evm_r5_defconfig
@@ -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,
--  
Anshul Dalal <[email protected]>

Reply via email to