configs: j721s2_evm_r5_defconfig: Increase malloc pool size in DRAM
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.
---
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 exhaustedspl_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(+)
configs/j721s2_evm_r5_defconfig +1 -0
@@ -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
Signature · 7 lines
2.34.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 2/2 configs: j784s4_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.
---
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 exhaustedspl_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(+)
configs/j784s4_evm_r5_defconfig +1 -0
@@ -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
Signature · 7 lines
2.34.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Please ignore below series, sent by mistake.
Thanks
Udit
Quoted 41 lines
-----Original Message-----
From: Kumar, Udit <[email protected]>
Sent: Monday, June 5, 2023 12:17 PM
To: [email protected]
Cc: Hambardzumyan, Minas <[email protected]>; Kumar, Udit <u- [email protected]>; Chawdhry, Manorit <[email protected]>; Francis, Neha <[email protected]>; Raghavendra, Vignesh <[email protected]>; Jain, Nikhil <[email protected]>; Gurudasani, Kamlesh <[email protected]>
Subject: [PATCH 1/2] configs:j721s2_evm_r5_defconfig: Increase malloc pool size in DRAMThe 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 <[email protected]>Cc Neha Francis <[email protected]>Cc Vignesh Raghavendra <[email protected]>Cc Nikhil M Jain <[email protected]>Cc Kamlesh Gurudasani <[email protected]>Signed-off-by Udit Kumar <[email protected]>---
Uboot was getting stuck at below
U-Boot SPL 2023.04-g495e929147 (Jun 03 2023 - 04:02:26 +0000) SYSFW ABI:
3.1 (firmware rev0x0008'8.6.3--1-g2249f (Chill Capybara') SPL initial stack
usage: 13424 bytes Trying to boot from MMC2 alloc space exhaustedspl_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.yamlconfigs/j721s2_evm_r5_defconfig | 1 +
1 file changed, 1 insertion(+)(quoted diff) +0
-0b/configs/j721s2_evm_r5_defconfig index
c197504eec..6910705d59100644configs/j721s2_evm_r5_defconfig +0
-0@@ -178,3 +178,4 @@ CONFIG_FS_FAT_MAX_CLUSTSIZE=16384
Quoted 5 lines
CONFIG_PANIC_HANG=yCONFIG_LIB_RATIONAL=yCONFIG_SPL_LIB_RATIONAL=y
+CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x140000
--
2.34.1
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel