[ECOS] Re: watchdog - powerpc

Andrew Lunn andrew.lunn@ascom.ch
Fri May 23 08:13:00 GMT 2003

>> Or arguably just write a standard watchdog device driver (as lives in 
>> devs/watchdog and uses io/watchdog) and include it in the RedBoot 
>> image.... and if CYGPKG_IO_WATCHDOG isn't defined in <pkgconf/system.h> 
>> just disable the watchdog entirely in SYPCR.
>That's what I planned to do. I was just looking for a way to avoid this
>kind of coupling between redboot and the application. Because of the
>write-once nature of the SYPCR register and the watchdog being enabled
>by default, redboot and the application can not decide independently on
>the use of a watchdog.

This is a generic problem actually. Recently code has been added so
that the application can exist back to Redboot. If the application has
started the watchdog, redboot needs to know to take over polling when
the application returns. 


Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list