Skip to content

fit: Image node compression

Julius Werner u-boot 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 0 repliesNew
  2. v5 posting 2/20 of 3 patches 0 repliesSuperseded
  3. v5 posting 1/23 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v42 patches0 repliesSuperseded
v32 patches0 repliesSuperseded
v22 patches0 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3common: Move bootm_decomp_image() to image.c (as image_decomp())common/bootm.c common/image.c include/bootm.h +2 more+160 -1572 replies
2/3fit: Support compression for non-kernel components (e.g. FDT)common/image-fit.c test/py/tests/test_fit.py+77 -382 replies
3/3fit: Support compat string property in configuration nodecommon/image-fit.c doc/uImage.FIT/kernel_fdts_compressed.its doc/uImage.FIT/source_file_format.txt+119 -281 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSimon GlassSimon Goldschmidt
1/3R-b
2/3R-b R-b
3/3R-b

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

Read the v6 thread

Cover letter [U-Boot] [PATCH v6 0/3] fit: Image node compression

This patch series adds compression support for non-kernel FIT image nodes (e.g. FDTs). The first patch is a preparatory refactoring, the second adds the compression support itself, and the third adds a new feature to compatible string matching that allows it to be useful with compressed FDTs.

Sandbox-tested with FIT images with and without compressed FDTs, with and without overlays, in both compatible string matching and direct config selection modes. Also expanded the test_fit pytest to include a case with compressed kernel, FDT and ramdisk.

Julius Werner (3):
common: Move bootm_decomp_image() to image.c (as image_decomp())
fit: Support compression for non-kernel components (e.g. FDT)
fit: Support compat string property in configuration node

- Changes for v6
- Fixed test_fit.py (had a printf() without a newline)
- Changes for v5
- Added first patch to support tools-only_defconfig (which doesn't build bootm.c)
- Changes for v4
- Added documentation
- Changes for v3
- Added tests, fixed a few minor issues
- Changes for v2
- Changed to support all non-kernel image types (not just FDT)

 common/bootm.c                            | 148 +++-------------------
 common/image-fit.c                        | 143 ++++++++++++---------
 common/image.c                            | 111 ++++++++++++++++
 doc/uImage.FIT/kernel_fdts_compressed.its |  73 +++++++++++
 doc/uImage.FIT/source_file_format.txt     |   7 +
 include/bootm.h                           |  17 ---
 include/image.h                           |  17 +++
 test/compression.c                        |  24 ++--
 test/py/tests/test_fit.py                 |  29 ++++-
 9 files changed, 351 insertions(+), 218 deletions(-)
 create mode 100644 doc/uImage.FIT/kernel_fdts_compressed.its
Signature · 1 line
2.22.0.657.g960e92d24f-goog