iTCO_Watchdog
Watchdog module is enabled by default for UP Squared with BIOS 4.6 or newer and UP Core Plus with BIOS 1.5 or newer.
Note: At the moment the iTCO Watchdog is using the standard WDAT driver with the Ubuntu, future versions of the kernel will enable the iTCO driver and use that instead.
First, 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 the board reboot:
echo 1 > /dev/watchdog
NOTE: This wiki is the main source of documentation for developers working with (or contributing to) the UP products. If this is your first time hearing about UP, we recommend starting with our main UP website, and our UP community page.