[PATCH] configs: am64x_evm_r5_defconfig: enlarge simple malloc pool
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Fri Feb 9 09:06:53 CET 2024
With the default size the stack grows into the malloc, pool leading to
stack corruption and boot failure.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
Note:
Maybe this should be increased for a broader set of devices.
---
configs/am64x_evm_r5_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am64x_evm_r5_defconfig b/configs/am64x_evm_r5_defconfig
index 56df6a4a19..707fe506f3 100644
--- a/configs/am64x_evm_r5_defconfig
+++ b/configs/am64x_evm_r5_defconfig
@@ -42,6 +42,7 @@ CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y
CONFIG_SPL_BOARD_INIT=y
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
CONFIG_SPL_STACK_R=y
+CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x400000
CONFIG_SPL_SEPARATE_BSS=y
CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
---
base-commit: a4650bf65e4b7d3ef04c90ba8031374428e4a682
change-id: 20240209-am64x_evm_r5_defconfig-malloc-simple-len-b1e36478e431
Best regards,
--
Thomas Weißschuh <thomas.weissschuh at linutronix.de>
More information about the U-Boot
mailing list