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

Kumar, Udit u-kumar1 at ti.com
Mon Jun 5 00:40:48 PDT 2023


Please ignore below series,  sent by mistake.

Thanks
Udit

>-----Original Message-----
>From: Kumar, Udit <u-kumar1 at ti.com>
>Sent: Monday, June 5, 2023 12:17 PM
>To: linux-arm-kernel at lists.infradead.org
>Cc: Hambardzumyan, Minas <minas at ti.com>; Kumar, Udit <u-
>kumar1 at ti.com>; Chawdhry, Manorit <m-chawdhry at ti.com>; Francis, Neha
><n-francis at ti.com>; Raghavendra, Vignesh <vigneshr at ti.com>; Jain, Nikhil
><n-jain1 at ti.com>; Gurudasani, Kamlesh <kamlesh at 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 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 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




More information about the linux-arm-kernel mailing list