-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scripts: imgtool: Fix img verify for hex file format #1888
Conversation
@rustammendel can you please help with the review ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a little comment, otherwise LGTM. However I'm not a maintainer on this repo.
Hi @d3zd3z can you please help with the review? |
@lzala can you fix compliance issue? |
@nordicjm I'm trying to fix the issue seems to be related to a wrong token configuration or something .. because the author and the "Sigend off by:" are the the same but it is looking for a different email address |
@lzala this needs a rebase |
Currently imgtool --verify fails for hex files with: Invalid image magic; is this an MCUboot image? Added support for hex files by converting hex to bin using IntelHex::tobinstr(). Reusing image.load() needs a bit of rework, maybe a common load method will be done in the future, Signed-off-by: Lucian Zala <[email protected]>
@nordicjm rebase done |
Currently imgtool --verify fails for hex files with:
Invalid image magic; is this an MCUboot image?
Added support for hex files by converting hex to bin using IntelHex::tobinstr().
Reusing image.load() needs a bit of rework, maybe a common load method will be done in the future.