krux icon indicating copy to clipboard operation
krux copied to clipboard

[Enhancement] SD Card Update version control

Open odudex opened this issue 8 months ago • 3 comments

Following @crwatkins’ suggestion, our SD card update flow should show the firmware version the user is about to install and block any attempt to install an older (downgrade) image.

Proposed Changes

  1. Show Target Version

    • Read version metadata from the firmware image on the SD card.
    • Surface it in the UI update prompt, e.g.:
      “You are about to install firmware v2025.5.0 (current: v2025.3.0). Continue?”
  2. Prevent Downgrades

    • Compare the SD‑card version against the running firmware version.
    • If SD‑card ≤ current:
      • Show an error message
        “Firmware (v2024.5.0) is not newer than your current firmware (v2025.3.0).

odudex avatar Apr 22 '25 18:04 odudex

Nice suggestion! The current version is easy, but not the SD file version... but I think I could do this before next release

tadeubas avatar Apr 22 '25 20:04 tadeubas

Should the installer prevent older versions too?

qlrd avatar Apr 22 '25 23:04 qlrd

I don't think so. The installer is not just an updater.

tadeubas avatar Apr 23 '25 01:04 tadeubas