mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Marc Reilly" <marc@cpdesign.com.au>
To: 'Erwin Rol' <mailinglists@erwinrol.com>, barebox@lists.infradead.org
Subject: RE: Watchdog support
Date: Fri, 14 May 2010 18:33:56 +1000	[thread overview]
Message-ID: <00be01caf340$34440550$9ccc0ff0$@cpdesign.com.au> (raw)
In-Reply-To: <4BECF779.50306@erwinrol.com>


> >> does barebox have any watchdog support ?
> >
> > I think the answer to your question is really dependent on what
> > platform you are using, and exactly what you want the watchdog to do.
> 
> Platform does not really matter here, I mean does barebox trigger the
> watchdog if it is doing lengthy operations like writing flash to prevent
it from
> being reset in the middle of the operation. That has little to do with if
the
> platform has a watchdog or not.
> 
> So let me changes the question a bit;
> 
> Does barebox have a standard API to trigger and program a watchdog ?

I'm definitely not an authority on this, but I think not. From a quick scan
the strategy is to disable the wdt if it's going to be a problem. There
seems to be some API to trigger a reset via the wdt, but that's all.
Platform may be an issue because the platform may not implement those
functions.
(Note I didn't look very hard - I invite anyone to correct me).

Cheers
Marc


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2010-05-14  8:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-13 10:14 Erwin Rol
2010-05-14  2:16 ` Marc Reilly
2010-05-14  7:10   ` Erwin Rol
2010-05-14  8:33     ` Marc Reilly [this message]
2010-05-17  8:36     ` Sascha Hauer
2010-05-17 10:57       ` Marc Reilly

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='00be01caf340$34440550$9ccc0ff0$@cpdesign.com.au' \
    --to=marc@cpdesign.com.au \
    --cc=barebox@lists.infradead.org \
    --cc=mailinglists@erwinrol.com \
    /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