Trucrux Inc

Watchdog

Table of Contents

The internal watchdog is enabled by default in the kernel configuration.

To check the node search for watchdog0 in /dev.

If not then enable the config in menu-config

  • In menuconfig: Device Drivers -> Watchdog Timer Support -> <*> IMX2+ Watchdog

Test the Watchdog #

Watchdog will be activated as soon as /dev/watchdog is opened and will reboot unless the watchdog is pinged within timeout (128 is the preconfigured value).

root@imx8mq-trux-q01:~# echo "1" > /dev/watchdog0