Detect OS boot failure and attempt to restart?

Nano sometimes can fail to boot (rare but can happen especially if SD card is not so new) and is problematic in remote unattended installations.
I use B01 developer kit.
Is it possible to somehow implement some kind of a watchdog in Nano that detects that OS has not booted successfully and to attempt restart the device ? I guess e.g. maybe in bootloader or some other way UNDER the operating system ?

can you share the failed log?
if filesystem is not mounted, then system will panic eventually and reboot

There is a error screen (upon failed boot) , but sometimes screen is blank and no message at all…

Logs of what occurs previous to this probably matter. If you can provide a serial console boot log more could be learned about what is going on prior to this. For serial console boot logs, see:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.