Watchdog
From ArmadeusWiki
Page under construction... Informations on this page are not guaranteed !!
!! This page is under construction and Watchdog driver is still not integrated in current software version !!
On this page, you will find usefull informations to configure and use the Watchdog of your APF boards.
Contents
Configuration
First be sure to have the Watchdog Linux driver activated:
$ make linux26-menuconfig
[*] Watchdog Timer Support ---> <M> IMX Watchdog
$ make
Installation
If you choose to include driver in Linux kernel then reflash your kernel image.
Else either copy the generated module through NFS to your board or reflash your rootfs.
Usage
Load the module:
# modprobe watchdog
You can now access the watchdog through /dev/watchdog device file:
- to activate it, just open the file:
# cat /dev/watchdog
- then you will have to write to this file regularly or your system will be reseted
# echo 1 > /dev/watchdog