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 <[email protected]>
---

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!

Reply via email to