Skip to content

How does the bootloader notice there is a new image in the secondary slot #1480

Answered by d3zd3z
xianghui-renesas asked this question in Q&A
Discussion options

You must be logged in to vote

For most configurations, there is a magic number that is written at the end of the slot that marks the slot for upgrade. At this point, at least MCUboot will then look at the slot to see if an upgrade can be done (it will try to validate the image in the second slot). Until the magic value is written, it won't even look at it. Look at boot_set_pending and similar functions in the public API.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@xianghui-renesas
Comment options

Answer selected by nvlsianpu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants