ITCO Watchdog

From UpWiki
Revision as of 14:38, 29 August 2019 by Upwikiadmin (talk | contribs) (iTCO Watchdog for UP Squared board)
Jump to: navigation, search

iTCO Watchdog for UP Squared board

Watchdog module is enabled by default for UP Squared with BIOS 4.6 or newer.

Note: At the moment the iTCO Watchdog is using the standard WDAT kernel driver, future versions of the kernel will enable the iTCO driver and use that instead.

First at all, load the WDAT module to enable the watchdog device:

sudo sh -c 'echo wdat_wdt >> /etc/modules'

Then, you can define your timeout for halting the system. Otherwise, 30 seconds will be set by default:

wdctl -s 60

Finally, write to the watchdog device and wait until board reboot:

echo 1 > /dev/watchdog