public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Pádraig Brady" <P@draigBrady.com>
To: Cypher Wu <cypher.w@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Questions about Watch Dog Timer under Linux.
Date: Wed, 09 Dec 2009 17:26:58 +0000	[thread overview]
Message-ID: <4B1FDDE2.1090507@draigBrady.com> (raw)
In-Reply-To: <f9f38a550912090647q5af6cb14w84ea8d9223d82bd9@mail.gmail.com>

On 09/12/09 14:47, Cypher Wu wrote:
> I'm used to work on embedded systems, the Watch Dog Timer in our
> products is usually a seperate chip on the board wich will start to
> work after power reset and will time out in 2 seconds. The system has
> to start dog clearing from the very beginning and there have no way to
> disable WDT.

wow 2 seconds :(

It's easy to patch grub stage 1 to pat the watchdog.
I was even able to get support for the complicated iTCO intel
watchdogs in there, though your watchdog may be much simpler.

Then when the kernel started it patted the watchdog as normal.

Note I did this to support robust remote upgrade (as the boot
loader wasn't touched on upgrade), rather than to support a
very short timeout.

cheers,
Pádraig.

  parent reply	other threads:[~2009-12-09 17:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-09 14:47 Questions about Watch Dog Timer under Linux Cypher Wu
2009-12-09 14:59 ` Mark Brown
2009-12-11  8:27   ` Cypher Wu
2009-12-11 10:21     ` Mark Brown
2009-12-12  3:46       ` Cypher Wu
2009-12-12 13:50         ` Alan Cox
2009-12-09 16:29 ` Alan Cox
2009-12-11  8:33   ` Cypher Wu
2009-12-09 17:26 ` Pádraig Brady [this message]
2009-12-11  8:38   ` Cypher Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B1FDDE2.1090507@draigBrady.com \
    --to=p@draigbrady.com \
    --cc=cypher.w@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox