News for hackers. Stuff that matters.
Re:Buildroot by opello on Saturday October 05, 2024 @11:12PM (#41754468)
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

Re:Buildroot by tkfu on Sunday October 06, 2024 @03:27AM (#41755429)
There's a very useful framework called greenboot[0] for the latter case.

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