[PATCH v2 3/5] binman: add tests for sign option
Simon Glass
sjg at chromium.org
Sat Mar 11 02:47:01 CET 2023
Add the test which provides sequence of actions:
1. create the image from binman dts
2. create public and private keys
3. add public key into dtb with fdt_add_pubkey
4. 1. sign FIT container with new sign option with extracting from
image
2. sign exact FIT container with replacing of it in image
5. check with fit_check_sign
Signed-off-by: Ivan Mikhaylov <fr0st61te at gmail.com>
---
tools/binman/ftest.py | 61 +++++++++++++++++++++++++++++
tools/binman/test/277_fit_sign.dts | 63 ++++++++++++++++++++++++++++++
2 files changed, 124 insertions(+)
create mode 100644 tools/binman/test/277_fit_sign.dts
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list