diff options
author | Hiago De Franco <hiago.franco@toradex.com> | 2024-03-20 10:54:22 -0300 |
---|---|---|
committer | Hiago De Franco <hiago.franco@toradex.com> | 2024-03-20 14:09:28 -0300 |
commit | 30d95b256314ed803d7c91be8b06280700e92786 (patch) | |
tree | f83a2e32a5a9e4defe33a1b877c87364986f4205 /configs | |
parent | 3c4a5852541253d831d27652fc48feadd2e52f70 (diff) |
board: toradex: verdin-am62_r5: Increase SPL_STACK_R_MALLOC_SIMPLE_LEN
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
```
Upstream-Status: Submitted [https://lore.kernel.org/all/20240320164845.141894-1-hiagofranco@gmail.com/]
- Only the verdin-am62_r5_defconfig was submmited because USB support is
missing upstream, and there is no verdin-am62_r5_usbdfu_defconfig file
yet.
Related-to: ELB-5658
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/verdin-am62_r5_defconfig | 2 | ||||
-rw-r--r-- | configs/verdin-am62_r5_usbdfu_defconfig | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/configs/verdin-am62_r5_defconfig b/configs/verdin-am62_r5_defconfig index 878195a61a..e8e9bedb3c 100644 --- a/configs/verdin-am62_r5_defconfig +++ b/configs/verdin-am62_r5_defconfig @@ -36,7 +36,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_SYS_SPL_MALLOC=y CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y diff --git a/configs/verdin-am62_r5_usbdfu_defconfig b/configs/verdin-am62_r5_usbdfu_defconfig index 0d28ec09ab..d3d22380bd 100644 --- a/configs/verdin-am62_r5_usbdfu_defconfig +++ b/configs/verdin-am62_r5_usbdfu_defconfig @@ -34,6 +34,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=0x200000 CONFIG_SPL_SEPARATE_BSS=y CONFIG_SYS_SPL_MALLOC=y CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y |