Skip to content

Mark image as invalid from within the application #1240

Answered by d3zd3z
HenryGiraldo asked this question in Q&A
Discussion options

You must be logged in to vote

The old image still exists in the secondary slot after a successful upgrade, so you could just mark it for upgrade again and confirm once it boots.

This would only work if rollback protection is not enabled.

But, to clarify, there isn't really a way to unmark an image as valid after it has been marked as Ok. To do so would require erasing the flash sector, which could result in the loss of the other data in that sector.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@HenryGiraldo
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by HenryGiraldo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants