▲ | dylan604 2 hours ago | |
And what recovery mechanisms do you have in place when the OTA flash goes wrong? | ||
▲ | kobalsky 44 minutes ago | parent | next [-] | |
you can have 2 identical partitions on the ESP, the OTA flashes the inactive partition and signals to bootloader to attempt to boot it from there. the device is restarted, if the new firmware is working correctly you signal the update process that everything is all right and it sets the new partition as default. if the device doesn't boot correctly, or your sanity checks don't pass, either you or the watchdog restarts the device and it boot from the known-working partition. | ||
▲ | yapyap 2 hours ago | parent | prev [-] | |
same recovery mechanism as when the Crowdstrike OTA goes wrong |