configs: am62x_evm_r5: Increase size of malloc_simple heap after relocation
PATCH 1/1 configs: am62x_evm_r5: Increase size of malloc_simple heap after relocation
On AM62x SK we can see a boot failure with signature "alloc space exhausted", so fix by increasing size of SPL_STACK_R_MALLOC_SIMPLE_LEN.
--- configs/am62x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/am62x_evm_r5_defconfig +1 -0
@@ -26,6 +26,7 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x43c3b000 CONFIG_SPL_BSS_MAX_SIZE=0x3000 CONFIG_SPL_STACK_R=y +CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200000 CONFIG_SPL_SIZE_LIMIT=0x3A7F0 CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK=0x3500 CONFIG_SPL_FS_FAT=y
base-commit: 174ac987655c888017c82df1883c0c2ea0dc2495
Signature · 1 line
2.43.2
Hi Judith!
Quoted 5 lines · Judith Mendez
On AM62x SK we can see a boot failure with signature "alloc space exhausted", so fix by increasing size of
SPL_STACK_R_MALLOC_SIMPLE_LEN.Fixes 128f81290b ("arm: dts: k3: binman: am625: add support for signing TIFSSTUB Images")Signed-off-by Judith Mendez <[email protected]>
This also helped me to enable DFU on AM625, so:
Quoted 16 lines
---
configs/am62x_evm_r5_defconfig | 1 +1 file changed, 1 insertion(+)configs/am62x_evm_r5_defconfig +0
-0@@ -26,6 +26,7 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=yCONFIG_SPL_BSS_START_ADDR=0x43c3b000
CONFIG_SPL_BSS_MAX_SIZE=0x3000
CONFIG_SPL_STACK_R=y
+CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200000
CONFIG_SPL_SIZE_LIMIT=0x3A7F0
CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK=0x3500
CONFIG_SPL_FS_FAT=y
Signature · 3 lines
Alexander Sverdlin Siemens AG www.siemens.com
Thanks Judith!
On April 29, 2024 thus sayeth Judith Mendez:
Quoted 9 lines
On AM62x SK we can see a boot failure with signature "alloc space exhausted", so fix by increasing size of
SPL_STACK_R_MALLOC_SIMPLE_LEN.Fixes 128f81290b ("arm: dts: k3: binman: am625: add support for signing TIFSSTUB Images")Signed-off-by Judith Mendez <[email protected]>--- configs/am62x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+)
This fixes the 62 for me
~Bryan
Quoted 7 lines · Judith Mendez
On AM62x SK we can see a boot failure with signature "alloc space exhausted", so fix by increasing size of
SPL_STACK_R_MALLOC_SIMPLE_LEN.Fixes 128f81290b ("arm: dts: k3: binman: am625: add support for signing TIFSSTUB Images")Signed-off-by Judith Mendez <[email protected]>Tested-by Alexander Sverdlin <[email protected]>Reviewed-by Bryan Brattlof <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom