[U-Boot] [PATCH v5 0/3] fit: Image node compression
Julius Werner
jwerner at chromium.org
Thu Jul 11 20:53:17 UTC 2019
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())
- First version: v5
fit: Support compression for non-kernel components (e.g. FDT)
- Changes for v2:
- Changed from only supporting compressed FDTs to supporting all
non-kernel image node types.
- Changes for v3:
- Fixed up some debug output that was still written for v1.
- Fixed a mistake with handling FIT_LOAD_OPTIONAL_NON_ZERO when
'load' was 0 (i.e. unset).
- Added compression test case to the test_fit pytest.
- No changes for v4
- No changes for v5
fit: Support compat string property in configuration node
- No changes for v2
- No changes for v3
- Changes for v4:
- Added documentation for compatible string in config node.
- Added example .its file for compressed FDT with compat string in
config node.
- No changes for v5
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
--
2.20.1
More information about the U-Boot
mailing list