
12 Mar
2023
12 Mar
'23
6:36 p.m.
Hi Ivan,
On Fri, 10 Mar 2023 at 17:47, Simon Glass sjg@chromium.org wrote:
Add the test which provides sequence of actions:
- create the image from binman dts
- create public and private keys
- add public key into dtb with fdt_add_pubkey
- sign FIT container with new sign option with extracting from image
- sign exact FIT container with replacing of it in image
- check with fit_check_sign
Signed-off-by: Ivan Mikhaylov fr0st61te@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!
As mentioned on the other email I had a bit of trouble getting this over the line Here is what I did:
Renumber test file from 277 to 280 Move UpdateSignatures() to Entry base class Don't allow missing mkimage as it doesn't make sense Propagate --toolpath for CI Call mark_build_done() to avoid regenerating FIT
Regards, Simon
Applied to u-boot-dm/next, thanks!