[PATCH] 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.
Fixes: 128f81290b ("arm: dts: k3: binman: am625: add support for signing TIFSSTUB Images") Signed-off-by: Judith Mendez jm@ti.com --- configs/am62x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/configs/am62x_evm_r5_defconfig b/configs/am62x_evm_r5_defconfig index 4b2e57b13a0..648241488ed 100644 --- a/configs/am62x_evm_r5_defconfig +++ b/configs/am62x_evm_r5_defconfig @@ -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

Hi Judith!
On Mon, 2024-04-29 at 16:49 -0500, Judith Mendez wrote:
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 jm@ti.com
This also helped me to enable DFU on AM625, so:
Tested-by: Alexander Sverdlin alexander.sverdlin@siemens.com
configs/am62x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/configs/am62x_evm_r5_defconfig b/configs/am62x_evm_r5_defconfig index 4b2e57b13a0..648241488ed 100644 --- a/configs/am62x_evm_r5_defconfig +++ b/configs/am62x_evm_r5_defconfig @@ -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

Thanks Judith!
On April 29, 2024 thus sayeth 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 jm@ti.com
configs/am62x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+)
This fixes the 62 for me
Reviewed-by: Bryan Brattlof bb@ti.com
~Bryan

On Mon, Apr 29, 2024 at 04:49:36PM -0500, Judith Mendez wrote:
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 jm@ti.com Tested-by: Alexander Sverdlin alexander.sverdlin@siemens.com Reviewed-by: Bryan Brattlof bb@ti.com
Applied to u-boot/master, thanks!
participants (4)
-
Bryan Brattlof
-
Judith Mendez
-
Sverdlin, Alexander
-
Tom Rini