mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[GH-ISSUE #61] Feature request: check file before sending ota to tag #2235
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bartbh on GitHub (Jun 11, 2023).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/61
Originally assigned to: @jonasniesner on GitHub.
I was stupid enough to send a faulty firmware.bin to 2 of my tags. 1 was the AP firmware instead of the TAG firmware, the other was sending the AP_FW_Pack.bin to the tag.
Both resulted in the tag not communicating to the AP and stuck with the message "AP Mode" or "Updating!". This can hopefully be fixed by pulling out my hw-flasher and flashing new, correct firmware.
In order to prevent this from happening to others (or myself again), maybe a simple filecheck could help? Before a .bin file is transferred to a tag.
@jjwbruijn commented on GitHub (Jun 11, 2023):
Yeah it's certainly fixable by flashing the tags again, so that's good. We want to add an option to do updates with files retrieved automatically from github, but that'll take some rewriting. That should help in the future :)
On the other hand, I don't like validation all that much. I want to able to brick my tag OTA :)
@bartbh commented on GitHub (Jun 21, 2023):
Validation and the option to brick aren't mutually exclusive :) So a check would be nice to have. On the other hand, this bricking is a good lesson.
@jonasniesner commented on GitHub (Sep 27, 2023):
The new file names should make it even more unlikely to upload the wrong file. I'm closing this for now but keep it in mind for possible future automatic tag ota.