[PATCH 2/2] configs: j784s4_evm_r5_defconfig: Increase malloc pool size in DRAM

Udit Kumar u-kumar1 at ti.com
Sun Jun 4 23:47:15 PDT 2023


The malloc capacity in DRAM at R5 SPL is set to 1MB which isn't
sufficient to load the new tispl.bin to
enable loading of tispl.bin the size is increased by 256KB to 1.25MB.

Cc: Apurva Nandan <a-nandan at ti.com>
Cc: Neha Francis <n-francis at ti.com>
Cc: Vignesh Raghavendra <vigneshr at ti.com>
Cc: Nikhil M Jain <n-jain1 at ti.com>
Cc: Kamlesh Gurudasani <kamlesh at ti.com>
Signed-off-by: Udit Kumar <u-kumar1 at ti.com>
---
uboot was getting stuck at 
U-Boot SPL 2023.04-g495e929147 (Jun 03 2023 - 04:02:26 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--1-g2249f (Chill Capybara')
SPL initial stack usage: 13424 bytes
Trying to boot from MMC2
alloc space exhausted
spl_load_image_ext: ext4fs mount err - 0
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

Boot logs with patch
http://serenity.dal.design.ti.com:7777/sifosahowi.yaml

 configs/j784s4_evm_r5_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/j784s4_evm_r5_defconfig b/configs/j784s4_evm_r5_defconfig
index d121671ef5..7f1baebe3e 100644
--- a/configs/j784s4_evm_r5_defconfig
+++ b/configs/j784s4_evm_r5_defconfig
@@ -178,3 +178,4 @@ CONFIG_FS_FAT_MAX_CLUSTSIZE=16384
 CONFIG_PANIC_HANG=y
 CONFIG_LIB_RATIONAL=y
 CONFIG_SPL_LIB_RATIONAL=y
+CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x140000
-- 
2.34.1




More information about the linux-arm-kernel mailing list