public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] CONFIG_HW_WATCHDOG in 1.1.6
@ 2007-03-20  0:43 vb
  2007-03-20  1:36 ` Wolfgang Denk
  2007-03-20  8:52 ` Daniel Hobi
  0 siblings, 2 replies; 10+ messages in thread
From: vb @ 2007-03-20  0:43 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-03-20 23:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-20  0:43 [U-Boot-Users] CONFIG_HW_WATCHDOG in 1.1.6 vb
2007-03-20  1:36 ` Wolfgang Denk
2007-03-20  8:56   ` Daniel Hobi
2007-03-20 12:10     ` Wolfgang Denk
2007-03-20 22:00   ` vb
2007-03-20 23:02     ` Wolfgang Denk
2007-03-20 23:12       ` vb
2007-03-20  8:52 ` Daniel Hobi
2007-03-20 15:23   ` vb
2007-03-20 21:19     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox