Messages in this thread | | | Date | Wed, 09 Dec 2009 17:26:58 +0000 | From | Pádraig Brady <> | Subject | Re: 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/
| |