board: toradex: verdin-am62_r5: Increase SPL_STACK_R_MALLOC_SIMPLE_LEN
PATCH 1/1 board: toradex: verdin-am62_r5: Increase SPL_STACK_R_MALLOC_SIMPLE_LEN
From: Hiago De Franco <[email protected]>
Increase the SPL_STACK_R_MALLOC_SIMPLE_LEN to 0x200000 to accommodate the size of tispl.bin fit image. With the recent upgrade of ti-linux-firmware from version v9.1.0 to v9.2.5, the size of tispl.bin fit image has increased to 1.4MB, causing allocation errors in the R5 SPL:
```
alloc space exhausted
Could not get FIT buffer of 1325056 bytes
check CONFIG_SPL_SYS_MALLOC_SIZE
```--- configs/verdin-am62_r5_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configs/verdin-am62_r5_defconfig +1 -1
@@ -35,7 +35,7 @@ CONFIG_SPL_BSS_MAX_SIZE=0x3000 CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y -CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x140000 +CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200000 CONFIG_SPL_SEPARATE_BSS=y CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
Signature · 1 line
2.39.2
Quoted 7 lines · Hiago De Franco
From: Hiago De Franco <[email protected]>
Increase the
SPL_STACK_R_MALLOC_SIMPLE_LENto0x200000to accommodate the size of tispl.bin fit image. With the recent upgrade of ti-linux-firmware from version v9.1.0 to v9.2.5, the size of tispl.bin fit image has increased to 1.4MB, causing allocation errors in the R5 SPL:
Quoted 7 lines
``` alloc space exhausted Could not get FIT buffer of 1325056 bytes check CONFIG_SPL_SYS_MALLOC_SIZE ```Signed-off-by Hiago De Franco <[email protected]>
Tom, this is also a candidate for master, thanks :-)
Francesco
Quoted 14 lines · Francesco Dolcini
Quoted 13 lines · Hiago De Franco
From: Hiago De Franco <[email protected]>
Increase the
SPL_STACK_R_MALLOC_SIMPLE_LENto0x200000to accommodate the size of tispl.bin fit image. With the recent upgrade of ti-linux-firmware from version v9.1.0 to v9.2.5, the size of tispl.bin fit image has increased to 1.4MB, causing allocation errors in the R5 SPL:``` alloc space exhausted Could not get FIT buffer of 1325056 bytes check CONFIG_SPL_SYS_MALLOC_SIZE ```
Quoted 5 lines
Quoted 1 line
Signed-off-by Hiago De Franco <[email protected]>Reviewed-by Francesco Dolcini <[email protected]>Tom, this is also a candidate for master, thanks :-)
OK, thanks.
Signature · 1 line
Tom
Quoted 5 lines · Hiago De Franco
Increase the
SPL_STACK_R_MALLOC_SIMPLE_LENto0x200000to accommodate the size of tispl.bin fit image. With the recent upgrade of ti-linux-firmware from version v9.1.0 to v9.2.5, the size of tispl.bin fit image has increased to 1.4MB, causing allocation errors in the R5 SPL:
Quoted 7 lines
``` alloc space exhausted Could not get FIT buffer of 1325056 bytes check CONFIG_SPL_SYS_MALLOC_SIZE ```[...]
Applied to u-boot/master, thanks!
Signature · 1 line
Tom