lkml.org 
[lkml]   [2009]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Questions about Watch Dog Timer under Linux.
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-12-09 18:31    [W:0.084 / U:7.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site