Difference between revisions of "Watchdog"

From ArmadeusWiki
Jump to: navigation, search
 
m
Line 1: Line 1:
 +
{{Under_Construction}}
 +
 
'''!! This page is under construction and Watchdog driver is still not integrated in current software version !!'''
 
'''!! This page is under construction and Watchdog driver is still not integrated in current software version !!'''
  

Revision as of 18:10, 27 July 2008

Page under construction... Construction.png 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 APF9328 board.

Configuration

First be sure to have the Watchdog Linux driver activated:

$ make linux-menuconfig

File:Watchdog config.png

$ 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:

# insmod /lib/modules/2.6.18.1/drivers/char/watchdog.ko

or (if you have reflashed your rootfs):

# modprobe watchdog

You can access the watchdog through /dev/misc/imx_wdt file

  • to activate it, just open the file:
# cat /dev/misc/imx_wdt
  • then you will have to write to this file regularly or your system will be reseted
# echo 1 > /dev/misc/imx_wdt


Links