Re: Questions about Watch Dog Timer under Linux.
From: Alan Cox
Date: Sat Dec 12 2009 - 20:55:38 EST
> timer. This type of WDT is widely used in our embedded systems and we
> usually install a callback in timer interrupt to clearing WD before
> BSP starting the RTOS kernel, and then starting a task to clear WD and
> uninstall the callback.
> I'm wonder when cope with that type of WD, is there any framework
> already in the Linux kernel and booter, or I've to modify them by
> myself?
Without knowing which boot environment you are using I don't know. For
the kernel itself you may need to touch the timer early on in boot (in
your platform setup code), then set up the driver early on.
There isn't a general framework for this although there may be one I
don't know about implemented in some other specific platform.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/