[U-Boot-Users] CONFIG_HW_WATCHDOG in 1.1.6

vb vb at vsbe.com
Tue Mar 20 01:43:20 CET 2007


Gentlemen,

I am trying to enable hardware watchdog in version 1.1.6 on an 85xx
based platform.

I added CONFIG_HW_WATCHDOG definition to include/configs/<platform>.h
and provided the hw_watchdog_reset() function. The image compiled and
linked nicely, but once I run it in u-boot CLI (monitor) mode - it
gets killed by the watchdog in no time.

My examination of the source code has shown that there is no watchdog
interactions in the tight loop in drivers/ns16550.c:NS16550_getc(). So
the HW watchdog is in fact not being kicked in the tight loop if the
system enters the u-boot CLI mode, so it is getting reset for a
reason.

Is this expected behavior and the HW watchdog is required to be
disabled when in u-boot CLI mode?

TIA,
cheers,
vadim




More information about the U-Boot mailing list