krux
krux copied to clipboard
[Enhancement] SD Card Update version control
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
-
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?”
-
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).
- Show an error message
Nice suggestion! The current version is easy, but not the SD file version... but I think I could do this before next release
Should the installer prevent older versions too?
I don't think so. The installer is not just an updater.