diff mbox series

configs: am62x_evm_r5: Increase size of malloc_simple heap after relocation

Message ID 20240429214936.15187-1-jm@ti.com
State Accepted
Commit 8c1019bec85a8d06883638548d34b39aba116630
Delegated to: Tom Rini
Headers show
Series configs: am62x_evm_r5: Increase size of malloc_simple heap after relocation | expand

Commit Message

Judith Mendez April 29, 2024, 9:49 p.m. UTC
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(+)


base-commit: 174ac987655c888017c82df1883c0c2ea0dc2495

Comments

A. Sverdlin May 2, 2024, 6:06 a.m. UTC | #1
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
Bryan Brattlof May 3, 2024, 3:50 p.m. UTC | #2
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
Tom Rini May 3, 2024, 10:21 p.m. UTC | #3
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!
diff mbox series

Patch

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