[PATCH v2 0/3] booti: Remove the SYS_BOOTM_LEN limit for booti
Simon Glass
sjg at chromium.org
Thu May 1 15:18:32 CEST 2025
This series restores the original behaviour of extlinux booting linux
'Image' files, which is to ignore CONFIG_SYS_BOOTM_LEN and instead uses
a limit of 10x the compressed size.
It also adds RISC-V support, since it uses a similar format to ARM64.
Future work should integrate the code in 'booti' into main 'bootm'
logic.
Changes in v2:
- Change the commit subject so it doesn't mention ignoring SYS_BOOTM_LEN
Simon Glass (3):
boot: Add a function to check if a linux Image is supported
bootm: Add RISC-V support in booti_is_supported()
booti: Allow using 10x the uncompressed size with booti
boot/bootm.c | 31 +++++++++++++++++++++++++------
cmd/booti.c | 1 +
include/bootm.h | 3 +++
3 files changed, 29 insertions(+), 6 deletions(-)
--
2.43.0
base-commit: d755a928c802f9807abb5270d80c4b25aefefc1d
branch: fix-booti2
More information about the U-Boot
mailing list