Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



There's a very useful framework called greenboot[0] for the latter case.

[0] https://github.com/fedora-iot/greenboot




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: