[PATCH v6 21/21] binman: Add zstd bintool

Simon Glass sjg at chromium.org
Sat Aug 20 23:33:51 CEST 2022


On Fri, 19 Aug 2022 at 08:26, Stefan Herbrechtsmeier
<stefan.herbrechtsmeier-oss at weidmueller.com> wrote:
>
> From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>
>
> Add zstd bintool to binman to support on-the-fly compression.
>
> Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>
>
> ---
>
> (no changes since v5)
>
> Changes in v5:
> - Test that zstd compress of device-tree files failed
> - Add algorithm name to entry.py
> - Add tool name to ftest.py
>
> Changes in v2:
> - Add commit to add zstd bintool
>
>  tools/binman/btool/zstd.py                  | 30 +++++++++++++++++++++
>  tools/binman/entry.py                       |  2 +-
>  tools/binman/etype/blob_dtb.py              |  4 +++
>  tools/binman/ftest.py                       | 12 +++++++--
>  tools/binman/test/238_compress_dtb_zstd.dts | 16 +++++++++++
>  5 files changed, 61 insertions(+), 3 deletions(-)
>  create mode 100644 tools/binman/btool/zstd.py
>  create mode 100644 tools/binman/test/238_compress_dtb_zstd.dts

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


More information about the U-Boot mailing list