[PATCH v2 27/28] binman: Support compression of sections

Simon Glass sjg at chromium.org
Fri Oct 30 04:33:40 CET 2020


With the previous changes, it is now possible to compress entire
sections. Add some tests to check that compression works correctly,
including updating the metadata.

Also update the documentation.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
- Renumber the test .dts files to make space for three inserted earlier

 tools/binman/README                           |   8 +
 tools/binman/ftest.py                         | 217 ++++++++++++++++++
 tools/binman/test/182_compress_image.dts      |  14 ++
 tools/binman/test/183_compress_image_less.dts |  14 ++
 .../binman/test/184_compress_section_size.dts |  17 ++
 tools/binman/test/185_compress_section.dts    |  16 ++
 tools/binman/test/186_compress_extra.dts      |  37 +++
 7 files changed, 323 insertions(+)
 create mode 100644 tools/binman/test/182_compress_image.dts
 create mode 100644 tools/binman/test/183_compress_image_less.dts
 create mode 100644 tools/binman/test/184_compress_section_size.dts
 create mode 100644 tools/binman/test/185_compress_section.dts
 create mode 100644 tools/binman/test/186_compress_extra.dts

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list