Enable Watchdog

From Ambedded
Revision as of 14:54, 24 July 2014 by Desmond (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


1.Enable watchdog in u-boot


mw f1020704 0x0101;
mw f1020330 0xffffffff;
mw f1020334 0xffffffff;
mw f1020300 0x70103;


2.Enable watchdog in filesystem


make sure you have enable kernel configure by using menuconfig,and then your .config will have string as below
CONFIG_ARMADA_WATCHDOG=y

Install watchdog software

apt-get install watchdog

edit /etc/watchdog.conf,and un-hash as below

#test-timeout           =

watchdog-device = /dev/watchdog

# Defaults compiled into the binary
#temperature-device     =
#max-temperature        = 120
Personal tools
Namespaces

Variants
Actions
Navigation
Tools