[PATCH] configs: am62x_evm_a53_defconfig: Remove CONFIG_SYS_BOOTM_LEN

Kamlesh Gurudasani kamlesh at ti.com
Mon Jul 8 13:50:40 CEST 2024


Increase the maximum size of the buffer that is used to decompress
the OS image in to.

If image size is greater than the buffer, boot
will fail with following error,
"Error: inflate() returned -5"
"gzip compressed: uncompress error -1"

Default limit for ARM64 platforms is 0x4000000, remove
CONFIG_SYS_BOOTM_LEN=0x8000000, so that it follows default limit.

Signed-off-by: Kamlesh Gurudasani <kamlesh at ti.com>
---
 configs/am62x_evm_a53_defconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig
index ca993b427b..dfa5ecc847 100644
--- a/configs/am62x_evm_a53_defconfig
+++ b/configs/am62x_evm_a53_defconfig
@@ -32,7 +32,6 @@ CONFIG_SPL_SPI=y
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_SPL_LOAD_FIT_ADDRESS=0x81000000
 CONFIG_BOOTSTD_FULL=y
-CONFIG_SYS_BOOTM_LEN=0x800000
 CONFIG_BOOTCOMMAND="run findfdt; run envboot; bootflow scan -lb"
 CONFIG_BOARD_LATE_INIT=y
 CONFIG_SPL_MAX_SIZE=0x58000

---
base-commit: fd46ea0e701920eb205c2bce9d527bf0dec10b59
change-id: 20240708-remove-bootm-len-ab4e46039656

Best regards,
-- 
Kamlesh Gurudasani <kamlesh at ti.com>



More information about the U-Boot mailing list