-
Notifications
You must be signed in to change notification settings - Fork 232
[nrf noup] zephyr: Add support for ARM thumb filter #331
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
Conversation
a91ac9b
to
945338a
Compare
if (rc) { | ||
BOOT_LOG_ERR("Decompression error: %d", rc); | ||
rc = BOOT_EBADSTATUS; | ||
|
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.
The empty line looks odd; somehow I think that it should be above rc =
as the rc =
and goto finish
serve as "return".
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.
Removed the lines
boot/zephyr/decompression.c
Outdated
|
||
if (compression == NULL || compression->init == NULL || compression->deinit == NULL || | ||
compression->decompress_bytes_needed == NULL || compression->decompress == NULL) { | ||
if (compression_lzma == NULL || compression_lzma->init == NULL || |
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.
This basically begs for "is object valid" kind of function.
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.
Fixed
boot/zephyr/decompression.c
Outdated
|
||
if (compression == NULL || compression->init == NULL || compression->deinit == NULL || | ||
compression->decompress_bytes_needed == NULL || compression->decompress == NULL) { | ||
if (compression_lzma == NULL || compression_lzma->init == NULL || |
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.
The is "is object valid" function could be used here too.
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.
Fixed
945338a
to
31b797c
Compare
31b797c
to
3249524
Compare
Adds support for ARM thumb filter usage for compressed firmware updates Signed-off-by: Jamie McCrae <[email protected]>
3249524
to
7e94666
Compare
Adds ARM thumb filter to imgtool's LZMA2 compression. Upstream PR: mcu-tools/mcuboot#2084 Signed-off-by: Mateusz Michalek <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.