[U-Boot-Users] Enabling watchdog for MPC850
Shlomo_Kut at mksinst.com
Shlomo_Kut at mksinst.com
Thu Mar 4 08:22:43 CET 2004
Hi,
I enabled the watchdog both in u-boot and in Linux and it worked fine.
Linux rebooted itself after printing a warning message on the console.
Thanks.
One thing I don't understand form the watchdog driver documentation.
>In open-only mode, the watchdog will not expire if the device file is not
opened by any process, while in
>always mode the behavior is independent of the device file being opened.
How can you set open only mode without opening /dev/watchdog?
Could anybody direct me to an example of a simple watchdog application
using the regular API?
regards
Shlomo Kut
Software Engineer
MKS Instruments
Tenta Products
Tel: 972-8-9181015
Fax: 972-8-9181020
www.mksinst.com
Wolfgang Denk <wd at denx.de>
Sent by: wd at denx.de
03/03/2004 01:54 AM
To: Shlomo_Kut at mksinst.com
cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] Enabling watchdog for MPC850
Hello,
in message
<OF711943DA.EE1C86A3-ON42256E4C.0033BE6B-08256E4C.0033E9D8 at mksinternal.com>
you wrote:
>
> >Please define "crash". Does the board simply reset (like after a
> >watchdog timeout), or is there any error message, or what?
>
> The board simply resets.
Then this is just the normal watchdog reset.
> >You always have to configure both sides to match, i. e. if you enable
> >the watchdog in U-Boot you must do so in Linux, and if you don;t
> >enable it in U-Boot you must not enable it in Linux (althought in
> >that case you will not crash the system).
>
> How do I enable it in Linux?
Select "CONFIG_WATCHDOG=y" and "CONFIG_WDT_MPC8XX=y".
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
An optimist believes we live in the best world possible; a pessimist
fears this is true.
More information about the U-Boot
mailing list