Skip to contentSkip to conversation

configs: omap3x_logic: Fix boot hang by reducing SYS_MALLOC_F_LEN

PATCH In review Adam Ford 2 participants 2 messages Jun 25, 2021 – Jul 14, 2021

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 configs: omap3x_logic: Fix boot hang by reducing SYS_MALLOC_F_LEN

The AM3517 uses SYS_MALLOC_F_LEN of size 0x3000, but the rest of the OMAP3 boards from LogicPD / BeaconEmbedded use 0x4000, but they don't boot SPL.

Reduce the malloc size to restore booting.

configs/omap35_logic_defconfig +1 -1
index 681a955a7a..9ff5929b96 100644
@@ -5,7 +5,7 @@ CONFIG_ARCH_OMAP2PLUS=y
 CONFIG_SYS_TEXT_BASE=0x80100000
 CONFIG_TI_COMMON_CMD_OPTIONS=y
 # CONFIG_SPL_GPIO_SUPPORT is not set
-CONFIG_SYS_MALLOC_F_LEN=0x4000
+CONFIG_SYS_MALLOC_F_LEN=0x3000
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_SPL_TEXT_BASE=0x40200000
 CONFIG_TARGET_OMAP3_LOGIC=y
configs/omap35_logic_somlv_defconfig +1 -1
index 64fe9da623..2cc7060de5 100644
@@ -5,7 +5,7 @@ CONFIG_ARCH_OMAP2PLUS=y
 CONFIG_SYS_TEXT_BASE=0x80100000
 CONFIG_TI_COMMON_CMD_OPTIONS=y
 # CONFIG_SPL_GPIO_SUPPORT is not set
-CONFIG_SYS_MALLOC_F_LEN=0x4000
+CONFIG_SYS_MALLOC_F_LEN=0x3000
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_SPL_TEXT_BASE=0x40200000
 CONFIG_TARGET_OMAP3_LOGIC=y
configs/omap3_logic_defconfig +1 -1
index 84f989de6b..53febdd132 100644
@@ -5,7 +5,7 @@ CONFIG_ARCH_OMAP2PLUS=y
 CONFIG_SYS_TEXT_BASE=0x80100000
 CONFIG_TI_COMMON_CMD_OPTIONS=y
 # CONFIG_SPL_GPIO_SUPPORT is not set
-CONFIG_SYS_MALLOC_F_LEN=0x4000
+CONFIG_SYS_MALLOC_F_LEN=0x3000
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_SPL_TEXT_BASE=0x40200000
 CONFIG_TARGET_OMAP3_LOGIC=y
configs/omap3_logic_somlv_defconfig +1 -1
index c825d0df4e..90c670cee2 100644
@@ -5,7 +5,7 @@ CONFIG_ARCH_OMAP2PLUS=y
 CONFIG_SYS_TEXT_BASE=0x80100000
 CONFIG_TI_COMMON_CMD_OPTIONS=y
 # CONFIG_SPL_GPIO_SUPPORT is not set
-CONFIG_SYS_MALLOC_F_LEN=0x4000
+CONFIG_SYS_MALLOC_F_LEN=0x3000
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_SPL_TEXT_BASE=0x40200000
 CONFIG_TARGET_OMAP3_LOGIC=y
Signature · 1 line
2.25.1
#1 lore raw
Quoted 5 lines · Adam Ford

The AM3517 uses SYS_MALLOC_F_LEN of size 0x3000, but the rest of the OMAP3 boards from LogicPD / BeaconEmbedded use 0x4000, but they don't boot SPL.

Reduce the malloc size to restore booting.

Applied to https://source.denx.de/u-boot/custodians/u-boot-ti.git for-rc, thanks! [1/1] configs: omap3x_logic: Fix boot hang by reducing SYS_MALLOC_F_LEN

      https://source.denx.de/u-boot/custodians/u-boot-ti/-/commit/3141bf0c09

--
Thanks and Regards,
Lokesh