Skip to content

Add compressed Image booting support

Tom Rini u-boot 1 version New

Get series with b4
b4 am 20200327194115.GA27133@bill-the-cat

Versions newest first

  1. v5 Latest3 patches 0 repliesNew

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib: kconfig: Add option to set BZIP2 compression method+0 -00 replies
2/3image: Add a common compression type detection function.+0 -00 replies
3/3image: Add compressed Image parsing support in booti.+0 -01 reply
3/3image: Add compressed Image parsing support in booti.+0 -00 replies
3/3image: Add compressed Image parsing support in booti.+0 -00 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchTom Rini
1/3
2/3
3/3R-b
3/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [RFT PATCH v5 0/3] Add compressed Image booting support
Quoted 36 lines · Atish Patra
Quoted 31 lines · Atish Patra

This patch series extends booti to support compressed images as well. Following compressed images are supported for now.

lzma, lzo, bzip2, gz.

Other compression methods can easily be supported if required. The above compression methods are common ones that Linux kernel (ARM64/RISC-V) and U-Boot supports.

Changes from v4->v5
1. Moved back to explicit kernel_comp_size enviornemnt variable from filesize.
2. Rebased on top latest master.

Changes from v3->v4
1. Removed CONFIG_SYS_BOOTM_LEN usage.

Atish Patra (3):
lib: kconfig: Add option to set BZIP2 compression method
image: Add a common compression type detection function.
image: Add compressed Image parsing support in booti.

cmd/booti.c                | 40 ++++++++++++++++++++++++++-
common/image.c             | 23 ++++++++++++++++
doc/README.distro          | 12 +++++++++
doc/board/sifive/fu540.rst | 55 ++++++++++++++++++++++++++++++++++++++
include/image.h            | 21 +++++++++++++++
lib/Kconfig                |  5 ++++
6 files changed, 155 insertions(+), 1 deletion(-)
Quoted 3 lines

--
2.24.0

Quoted 8 lines

The series is not in master yet. I am not sure about the merge window cycle for U-Boot.
I am assuming nothing else is required for this series to go in. Please let me know otherwise.

The patchwork shows it is delegated to Tom. I guess it will end up in master in sometime before the next release.
https://patchwork.ozlabs.org/project/uboot/list/?submitter=74477

It won't be in v2020.04, but it should be in v2020.07, I'll likely pull it to -next soon. Thanks again!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200327/3374a1f8/attachment.sig>