3 ms·
For systems using U-Boot you can use the bootcount[1] feature to detect the failure and react by booting into the old environment. Edit: This doesn't cover you
by opello 2y ago
For systems using U-Boot you can use the bootcount[1] feature to detect the failure and react by booting into the old environment.
Edit: This doesn't cover your running instability case, but that seems more like a feature that should be implemented using a user space watchdog.
[1] https://docs.u-boot.org/en/latest/api/bootcount.html https://docs.u-boot.org/en/latest/api/bootcount.html
- tkfu 2y agoThere's a very useful framework called greenboot[0] for the latter case. [0] https://github.com/fedora-iot/greenboot https://github.com/fedora-iot/greenboot