Skip to contentSkip to conversation

include: env: ti_common: remove bootm_size

PATCH Superseded Bryan Brattlof 2 participants 3 messages Jul 15, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

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

Rather than increasing this limit let's just remove any limit by default and let each board set its own (if needed) for there use case.

---
 include/env/ti/ti_common.env | 1 -
 1 file changed, 1 deletion(-)
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 17 lines · Bryan Brattlof

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

Rather than increasing this limit let's just remove any limit by default and let each board set its own (if needed) for there use case.

---
 include/env/ti/ti_common.env | 1 -
 1 file changed, 1 deletion(-)
include/env/ti/ti_common.env +0 -0
index 7029d12bf203320fde859965ae57c272ed4c685c..03e3267ef8a1bf3e14c65df124ed1ac842c88760 100644

include/env/ti/ti_common.env rdaddr=0x88080000 · line 13

Quoted 7 lines
include/env/ti/ti_common.env +0 -1
@@ -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

So, which of the older families of parts use this file if any? This can be a concern on am33xx for example, still.

Signature · 1 line
Tom
#2 lore raw

On July 15, 2025 thus sayeth Tom Rini:

Quoted 25 lines · Bryan Brattlof
Quoted 24 lines

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

Rather than increasing this limit let's just remove any limit by default and let each board set its own (if needed) for there use case.

---
 include/env/ti/ti_common.env | 1 -
 1 file changed, 1 deletion(-)
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
 
Quoted 4 lines

include/env/ti/ti_common.env rdaddr=0x88080000 · line 13

Quoted 1 line
include/env/ti/ti_common.env +0 -0
 boot_fit=0

So, which of the older families of parts use this file if any? This can be a concern on am33xx for example, still.

Ah I though it checked but I see some K2 platforms #include this. I'll just set it for those boards as I don't really want to mess with them.

~Bryan