Hardware watchdog
A hardware watchdog is a digital clock that needs to be regularly restarted before it reaches a certain time.
Just like in the TV series Lost, there is a dead man's switch hidden on the island that needs to be pressed at regular intervals; otherwise, an unknown event will begin. In terms of the Broadcom GPU, if the switch is not pressed, it means that the system has stopped responding, and the reaction event is to restart Raspberry Pi and reload the operating system with the expectation that it will resolve the issue, at least temporarily.
Raspbian has a kernel module included—which is disabled by default—that deals with the watchdog hardware. A configurable daemon that runs on the software layer sends regular events (like pressing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access