Re: [PATCH v2] boot: image: fixup zstd decompression buffer initialization typo

2022-03-28 Thread Tom Rini
On Wed, Mar 16, 2022 at 03:35:36PM -0400, Jérôme Carretero wrote: > The code was mistakenly initializing the input buffer twice. > > Tested to be working on BeagleBone by adjusting CONFIG_SYS_BOOTM_LEN to > 64MiB (probably works with less) and preparing uImage with: > > cat arch/arm/boot/Image

[PATCH v2] boot: image: fixup zstd decompression buffer initialization typo

2022-03-16 Thread Jérôme Carretero
The code was mistakenly initializing the input buffer twice. Tested to be working on BeagleBone by adjusting CONFIG_SYS_BOOTM_LEN to 64MiB (probably works with less) and preparing uImage with: cat arch/arm/boot/Image \ | zstd --ultra -22 --zstd=windowLog=22 \ > linux.bin.zst mkimage -A arm