Allow imxtract to extract part of script image.
PATCH 1/1 Allow imxtract to extract part of script image.
From: Pierre Aubert <[email protected]>
Scripts are multi-file images, the imxtract command should handle them in the same manner.
Signed-off-by Pierre Aubert <[email protected]>
--- common/cmd_ximg.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
common/cmd_ximg.c +2 -1
@@ -87,7 +87,8 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])image_print_contents (hdr);#endif -if (!image_check_type (hdr,IH_TYPE_MULTI )) { +if (!image_check_type (hdr,IH_TYPE_MULTI ) && + !image_check_type (hdr,IH_TYPE_SCRIPT )) {printf ("Wrong Image Type for %s command\n" , cmdtp->name);return 1 ;
Signature · 1 line
1.7.6.5
Quoted 6 lines · Pierre Aubert
From: Pierre Aubert <[email protected]>
Scripts are multi-file images, the imxtract command should handle them in the same manner.
Signed-off-by Pierre Aubert <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151024/58d54dcc/attachment.sig>