How to resolve a situation where an invalid firmware has been marked for update #78
Unanswered
hakanlundvall
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Suppose the firmware loads a new image to the update partition and then marks it for update using
update_trigger()
, but the image is corrupt so that the integrity or authenticity check fails. To me it seems we end up in a panic and the update trigger is still there so the same thing happens on every boot attempt.rustBoot/boards/update/src/update/update_flash.rs
Lines 161 to 177 in 8437fd2
The only way out seems to be to connect the debug port and clear the update partition. Or am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions