[Backport ncs-v3.4-branch] [nrf noup] boot/bootutil/loader: image discovery by ih_load_address#681
Open
NordicBuilder wants to merge 2 commits into
Open
[Backport ncs-v3.4-branch] [nrf noup] boot/bootutil/loader: image discovery by ih_load_address#681NordicBuilder wants to merge 2 commits into
NordicBuilder wants to merge 2 commits into
Conversation
While reading cortex Vector table, the reset handler addres is at offest of one 4 bytes word, not two words. This patch corrects this offset. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no> (cherry picked from commit f48e87edd473abdc966c03fadb8a00305e466732) (cherry picked from commit cb3f8dc)
Align all image's matching exercises to MCUBOOT_CHECK_HEADER_LOAD_ADDRES. This method uses ih_load_address field of the image header instead of reset vector address. This allows to match incoming image to the partition even when it is for instance encrypted, as the image header is always plain-text. Firmware need to be signed with imgtool.py sign --rom-fixed <partition_address> parameter in order to involve this feature. ref.: NCSIDB-1173 Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no> (cherry picked from commit 348bc33)
|
nvlsianpu
approved these changes
Jun 2, 2026
tomchy
approved these changes
Jun 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Backport 348bc33~2..348bc33 from #680.