diff mbox series

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

Message ID 20230605064715.2034372-2-u-kumar1@ti.com (mailing list archive)
State New, archived
Headers show
Series [1/2] configs: j721s2_evm_r5_defconfig: Increase malloc pool size in DRAM | expand

Commit Message

Kumar, Udit June 5, 2023, 6:47 a.m. UTC
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@ti.com>
Cc: Neha Francis <n-francis@ti.com>
Cc: Vignesh Raghavendra <vigneshr@ti.com>
Cc: Nikhil M Jain <n-jain1@ti.com>
Cc: Kamlesh Gurudasani <kamlesh@ti.com>
Signed-off-by: Udit Kumar <u-kumar1@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 mbox series

Patch

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