aboutsummaryrefslogtreecommitdiff
path: root/board/LaCie
diff options
context:
space:
mode:
authorJérôme Carretero2022-03-16 15:35:36 -0400
committerTom Rini2022-03-28 08:22:17 -0400
commit408e2d5a224d8c62beae4cb1e7a3804abbbb123f (patch)
treed8ca5ddacd741cd875a513fcbbf2962b0cd62c0b /board/LaCie
parentd66b0f5dd7a9662f8c9c3d11e6ad351acc1ce630 (diff)
boot: image: fixup zstd decompression buffer initialization typo
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 -T kernel uImage -C zstd -d linux.bin.zst \ -a 0x80008000 -e 0x80008000 Without the windowLog restriction, bootm fails with a zstd decompression error 7 (window too large), which I haven't troubleshooted. There should be a bit more documentation on the feature... Reviewed-by: Simon Glass <sjg@chromium.org> Fixes: 458b30af66c image: Update image_decomp() to avoid ifdefs
Diffstat (limited to 'board/LaCie')
0 files changed, 0 insertions, 0 deletions