Difference between revisions of "ITCO Watchdog"

From UpWiki
Jump to: navigation, search
(iTCO Watchdog for UP Squared board)
(iTCO Watchdog for UP Squared board)
Line 2: Line 2:
 
Watchdog module is enabled by default for UP Squared  with [[Bios Update|BIOS]] 4.6 or newer.
 
Watchdog module is enabled by default for UP Squared  with [[Bios Update|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.
+
'''Note:''' At the moment the iTCO Watchdog is using the standard WDAT driver with the [[Ubuntu|kernel we provide]], 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:
 
First at all, load the WDAT module to enable the watchdog device:

Revision as of 14:43, 29 August 2019

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 driver with the kernel we provide, 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