[U-Boot] [PATCH 26/31] binman: Support hashing entries

Simon Glass sjg at chromium.org
Tue Oct 2 11:20:21 UTC 2018


On 14 September 2018 at 03:57, Simon Glass <sjg at chromium.org> wrote:
> Sometimesi it us useful to be able to verify the content of entries with
> a hash. Add an easy way to do this in binman. The hash information can be
> retrieved from the device tree at run time.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  tools/binman/README                    | 22 ++++++++++++++++
>  tools/binman/bsection.py               |  3 +++
>  tools/binman/entry.py                  |  4 +++
>  tools/binman/ftest.py                  | 36 ++++++++++++++++++++++++++
>  tools/binman/state.py                  | 25 ++++++++++++++++++
>  tools/binman/test/90_hash.dts          | 12 +++++++++
>  tools/binman/test/91_hash_no_algo.dts  | 11 ++++++++
>  tools/binman/test/92_hash_bad_algo.dts | 12 +++++++++
>  tools/binman/test/99_hash_section.dts  | 18 +++++++++++++
>  9 files changed, 143 insertions(+)
>  create mode 100644 tools/binman/test/90_hash.dts
>  create mode 100644 tools/binman/test/91_hash_no_algo.dts
>  create mode 100644 tools/binman/test/92_hash_bad_algo.dts
>  create mode 100644 tools/binman/test/99_hash_section.dts

Applied to u-boot-dm, and now in mainline.


More information about the U-Boot mailing list