Skip to content

Resetting firmware doesn't always reset to the last validated firmware #1091

@watertrainer

Description

@watertrainer

Verification

  • I searched for similar bug reports and found none was relevant.

What happened?

When updating the watch over the air twice and resetting it after it goes to the second last which was booted and not the last one which was validated

What should happen instead?

Pressing the reset button should reset the watch to the last validated firmware

Reproduction steps

The easiest way is just to install the old 1.8.0 dfu using Gadgetbridge, in the firmware setting it shows 1.8.0 and gives the option to reset/validate.
Now installing the 1.8.0 dfu zip again on top of the old firmware the version doesn't change the version and it still gives the option to validate to reset (note that I never validated a firmware image), if pressing reset though and going back to the firmware setting it still says 1.8.0 and gives the option to reset/validate.
There is no way to go back to 1.9.0 now without reloading the image using Gadgetbridge.

More details?

I don't know if this might be an issue in the mcuboot repo or infinitime.

Version

1.9.0

Companion app

Gadgetbridge v0.64.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions