In the boot log, i saw "adi_wdt: initialized: timeout=20 sec (nowayout=0)",
but how to test whether the watchdog is really work to protect my system?
and in the /etc/init.d/S15watchdog file,
start)echo "Starting watchdog..."watchdog -t 5 /dev/watchdog
i changed it to
watchdog -t 5 -T 2 /dev/watchdog
which means it shoud reboot after 2 seconds if no reset,
but it did not reboot , which confused me, how to test the watchdog?
Hi Wei, sorry for the delayed response. This is problem a watchdog process has already been started in inittab with "respawn", check file: output/target/etc/inittab.
So if you remove this line, rebuild the uImage and test it again it should works.
Hi Wu, thanks for your reply, i would try it .
i had some a new finding for this problem:
if adi_sec_init() is called in sharc_core1,
then the watchdog will not work.
It the system only have linux on arm core, the watchdog worked fine.
Any suggestion for this problem?
We've enabled SEC fault source for watchdog0 to handle the WDOG expiry event(sec_init() in Linux kernel), please find more information from the SEC and WDOG chapters in the HRM, thanks a lot.