|
|
|
|
|
by dividuum
3397 days ago
|
|
> Using the bootcount feature of uboot it is possible to roll back automatically if booting fails. I see. Thanks for the info. I suspected that u-boot does have support for that, but I wasn't sure. > Once the mender daemon comes up it will try to report the success of the deployment to the server. If this fails it will also roll back. Is there any deadline at all for that? I explicitly spawn a reboot command that ensures that even if everything gets stuck (in software, not in hardware) for whatever reason, the system falls back to the previous version (unless the reboot command gets killed too, in which case a manual restart is required). Any thoughts on that? |
|
We have looked into hardware watchdog for this, but it is in the gray-zone of what an updater should be involved in. This is actually a more generic problem - maybe it hangs even when you did not deploy an update. There is varying support for hardware watchdogs across boards as well, unfortunately.
Most of the time it will not just hang, maybe it will crash or kernel panic and in those cases Mender will rollback. But the indefinite-hanging case is quite tricky and not yet handled.
Would be open to ideas here.