aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiago De Franco <hiago.franco@toradex.com>2024-03-20 13:48:45 -0300
committerTom Rini <trini@konsulko.com>2024-03-22 11:10:51 -0400
commitbd0aedde3ea3691616c17c720e2d25351308c0a1 (patch)
tree9cb3c8d9972a1ae3010bd6e7400be0bfed9d9e91
parent1e3a2c0a4a981372f5d74ba07c6eb98820964155 (diff)
downloadu-boot-WIP/22Mar2024.zip
u-boot-WIP/22Mar2024.tar.gz
u-boot-WIP/22Mar2024.tar.bz2
board: toradex: verdin-am62_r5: Increase SPL_STACK_R_MALLOC_SIMPLE_LENWIP/22Mar2024
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 ``` Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
-rw-r--r--configs/verdin-am62_r5_defconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/verdin-am62_r5_defconfig b/configs/verdin-am62_r5_defconfig
index a3febdc..5b4b81c 100644
--- a/configs/verdin-am62_r5_defconfig
+++ b/configs/verdin-am62_r5_defconfig
@@ -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