mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
binman: add tests for sign option
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@gmail.com> 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: Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4023dc9c95
commit
5b34efe865
7 changed files with 227 additions and 6 deletions
|
@ -1378,3 +1378,6 @@ features to produce new behaviours.
|
|||
if entries:
|
||||
for entry in entries.values():
|
||||
entry.mark_build_done()
|
||||
|
||||
def UpdateSignatures(self, privatekey_fname, algo, input_fname):
|
||||
self.Raise('Updating signatures is not supported with this entry type')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue