On Mon, Jul 08, 2024 at 05:20:40PM +0530, Kamlesh Gurudasani wrote:

> 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 <kaml...@ti.com>
> ---
>  configs/am62x_evm_a53_defconfig | 1 -
>  1 file changed, 1 deletion(-)

Please check and correct all of the TI K3 platforms. We have at least
this from a quick grep on am6*:
configs/am62x_beagleplay_a53_defconfig:CONFIG_SYS_BOOTM_LEN=0x800000
configs/am62x_evm_a53_defconfig:CONFIG_SYS_BOOTM_LEN=0x800000
configs/am65x_evm_r5_defconfig:CONFIG_SYS_BOOTM_LEN=0x4000000
configs/am65x_evm_r5_usbdfu_defconfig:CONFIG_SYS_BOOTM_LEN=0x4000000
configs/am65x_evm_r5_usbmsc_defconfig:CONFIG_SYS_BOOTM_LEN=0x4000000

(And so are those larger values on the R5 core actually needed?)

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to