
12 Apr
2019
12 Apr
'19
11:49 p.m.
Image type is not supplied to `mkimage -l`. For this reason, we cannot use imagetool_verify_print_header_by_type. Instead, this patch uses imagetool_verify_print_header to look through all header types to find one where image validation succeeds.
This patch fixes failures in test/image/test-imagetools.sh
Signed-off-by: Jordan Hand jorhand@microsoft.com Tested-by: Alex Kiernan alex.kiernan@gmail.com Tested-by: Vagrant Cascadian vagrant@debian.org ---
Changes in v2: - Fix patch formatting to move commit message above the cut
tools/mkimage.c | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-)
Applied to u-boot-dm, thanks!