diff mbox series

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

Message ID 20230605064715.2034372-1-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: Manorit Chawdhry <m-chawdhry@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 below
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 ### 

With patch
boot logs: http://serenity.dal.design.ti.com:7777/jidenicozi.yaml

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

Comments

Kumar, Udit June 5, 2023, 7:40 a.m. UTC | #1
Please ignore below series,  sent by mistake.

Thanks
Udit

>-----Original Message-----
>From: Kumar, Udit <u-kumar1@ti.com>
>Sent: Monday, June 5, 2023 12:17 PM
>To: linux-arm-kernel@lists.infradead.org
>Cc: Hambardzumyan, Minas <minas@ti.com>; Kumar, Udit <u-
>kumar1@ti.com>; Chawdhry, Manorit <m-chawdhry@ti.com>; Francis, Neha
><n-francis@ti.com>; Raghavendra, Vignesh <vigneshr@ti.com>; Jain, Nikhil
><n-jain1@ti.com>; Gurudasani, Kamlesh <kamlesh@ti.com>
>Subject: [PATCH 1/2] configs: j721s2_evm_r5_defconfig: Increase malloc pool
>size in DRAM
>
>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: Manorit Chawdhry <m-chawdhry@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 below
>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 ###
>
>With patch
>boot logs: http://serenity.dal.design.ti.com:7777/jidenicozi.yaml
>
> configs/j721s2_evm_r5_defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/configs/j721s2_evm_r5_defconfig
>b/configs/j721s2_evm_r5_defconfig index c197504eec..6910705d59 100644
>--- a/configs/j721s2_evm_r5_defconfig
>+++ b/configs/j721s2_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
diff mbox series

Patch

diff --git a/configs/j721s2_evm_r5_defconfig b/configs/j721s2_evm_r5_defconfig
index c197504eec..6910705d59 100644
--- a/configs/j721s2_evm_r5_defconfig
+++ b/configs/j721s2_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