Skip to contentSkip to conversation

include: env: ti_common: remove bootm_size

PATCH In review Bryan Brattlof 2 participants 2 messages Jul 15, 2025 – Jul 22, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 include: env: ti_common: remove bootm_size

As the size of 64b ARM kernels, DTs, vendor firmware, and initial ram disks continues to grow, the 256MB size limit set aside for image processing by the bootm command has become too small for some K3 reference boards.

For ARMv7 removing this limit could introduce issues so move the bootm_size variable to ti_armv7_keystone2.env and remove the limit for any board using a TI K3 SoC.

---
Changes in v2:
- ensure the size limit is set for ARMv7 platforms
- Link to v1: https://lore.kernel.org/r/[email protected]

---
 include/env/ti/ti_armv7_keystone2.env | 1 +
 include/env/ti/ti_common.env          | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
include/env/ti/ti_armv7_keystone2.env +1 -0
index e0395d302cb9c308cbe56f1e7355fcdd129474f5..1b2aaa2808a8eb896ef821d5d978d77d0f687ef8 100644
@@ -12,6 +12,7 @@ dfu_alt_info_mmc=
 	uEnv.txt fat 0 1
 
 bootdir=/boot
+bootm_size=0x10000000
 tftp_root=/
 nfs_root=/export
 mem_lpae=1
include/env/ti/ti_common.env +0 -1
index 7029d12bf203320fde859965ae57c272ed4c685c..03e3267ef8a1bf3e14c65df124ed1ac842c88760 100644
@@ -8,7 +8,6 @@ rdaddr=0x88080000
 ramdisk_addr_r=0x88080000
 scriptaddr=0x80000000
 pxefile_addr_r=0x80100000
-bootm_size=0x10000000
 boot_fdt=try
 
 boot_fit=0

---
base-commit: cd79a2839b01571b6f2915c219f71c05e3c97482
change-id: 20250715-initrd-fixes-ffe70a839f0a

Best regards,

Signature · 1 line
Bryan Brattlof <[email protected]>
#1 lore raw
Quoted 10 lines · Bryan Brattlof

As the size of 64b ARM kernels, DTs, vendor firmware, and initial ram disks continues to grow, the 256MB size limit set aside for image processing by the bootm command has become too small for some K3 reference boards.

For ARMv7 removing this limit could introduce issues so move the bootm_size variable to ti_armv7_keystone2.env and remove the limit for any board using a TI K3 SoC.

[...]

Applied to u-boot/master, thanks!

[1/1] include: env: ti_common: remove bootm_size

      commit: babae80169dd4c9ea94f27e3c6f0f4e004f8e71a
Signature · 1 line
Tom