Watchdog support.
Hi ML,
I'm working on a mips based SoC with an external watchdog. The watchdog should be touched every 5 seconds in order to avoid the system reboot.
I tried to define macros like CONFIG_HW_WATCHDOG / CONFIG_WATCHDOG, but I'm not happy for the result. For example, the serial port driver (ns16550 in my case) don't touch the watchdog during the status polling, as well as a lot of commands (copy in flash, tftp, ...).
I don't understand if u-boot supports or not watchdogs in a "structural" manner.
Kindly, if you have experience on Watchdog under u-boot, tell my any comments or suggestion.... in my application the watchdog is mandatory (i cannot stop the _watchdog_).
Thanks again and best regards,
luigi
Signature · 8 lines
Luigi Mantellini R&D - Software Industrie Dial Face S.p.A. Via Canzo, 4 20068 Peschiera Borromeo (MI), Italy Tel.: +39 02 5167 2813 Fax: +39 02 5167 2459 Email: luigi.mantellini at idf-hit.com
Dear "Luigi 'Comio' Mantellini",
Quoted 3 lines · In message <[email protected]> you wrote:
I'm working on a mips based SoC with an external watchdog. The watchdog should be touched every 5 seconds in order to avoid the system reboot.
That shgould be no problem. We have a couple of boards that have watchdogs enabled, some with really strict requirements (like triggering the watchdow every 80 milliseconds).
Quoted 4 lines
I tried to define macros like
CONFIG_HW_WATCHDOG/CONFIG_WATCHDOG, but I'm not happy for the result. For example, the serial port driver (ns16550 in my case) don't touch the watchdog during the status polling, as well as a lot of commands (copy in flash, tftp, ...).
I can't speak for MIPS in general, but the common infeastructure should work just fine.
Quoted 2 lines
I don't understand if u-boot supports or not watchdogs in a "structural" manner.
Yes, it does.
Quoted 3 lines
Kindly, if you have experience on Watchdog under u-boot, tell my any comments or suggestion.... in my application the watchdog is mandatory (i cannot stop the _watchdog_).
It's a standard feature being used actively on several boards, some of them in mass production.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de This restaurant was advertising breakfast any time. So I ordered french toast in the renaissance. - Steven Wright, comedian