Refer to scripts/canflash
Add a way to flash old firmware binaries from the web app.
All of the uploaded binaries are put into the uploads/ folder. Find a way to nicely display these on the web app and let the user re-flash it.
Support firmware metadata like add notes