wdt_mpc8xx documentation
Greetings
Whilst rummaging about the PPC development tree I came across the Siemens/SGI/Denx watchdog driver for the mpc8xx. It references a man page which so far I've not been able to find (man wdt_mpx8xx(4)) so I'm a bit clueless about what the monitor chain code does.
It doesn't seem to relate to the generic watchdog_api.txt in the kernel documentation (at least the defines don't seem to tie in with any of the
ioctl options).
Any help here appreciated.
--
Robin Gilks
Senior Design Engineer Phone: (+64)(3) 357 1569 Tait Electronics Fax : (+64)(3) 359 4632 PO Box 1645 Christchurch Email : [email protected]
New Zealand
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Hi Robin,
Have a look at our driver, which uses the kernel's watchdog api:
http://cvs.tuxbox.org/cgi-bin/viewcvs.cgi/*checkout*/tuxbox/cdk/Patches/linux-2.4.23-pre6-m8xxwdt.diff?rev=HEAD&content-type=text/plain
It will probably never get into vanilla 2.4 because Marcelo doesn't respond to my Emails. However, it is really stable since months... What other driver were you talking about?
Tom, would you put this driver into the 2.4 ppc trees if I rediffed it?
Regards,
Andreas
Quoted 11 lines · Robin Gilks
Greetings
Whilst rummaging about the PPC development tree I came across the Siemens/SGI/Denx watchdog driver for the mpc8xx. It references a man page which so far I've not been able to find (man
wdt_mpx8xx(4)) so I'm a bit clueless about what the monitor chain code does.It doesn't seem to relate to the generic watchdog_api.txt in the kernel documentation (at least the defines don't seem to tie in with any of the
ioctl options).
Quoted 11 lines
Any help here appreciated.
--
Robin GilksSenior Design Engineer Phone: (+64)(3) 357 1569 Tait Electronics Fax : (+64)(3) 359 4632 PO Box 1645 Christchurch Email : [email protected]New Zealand
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 10 lines · Andreas Oberritter
Hi Robin,
Have a look at our driver, which uses the kernel's watchdog api:
http://cvs.tuxbox.org/cgi-bin/viewcvs.cgi/*checkout*/tuxbox/cdk/Patches/linux-2.4.23-pre6-m8xxwdt.diff?rev=HEAD&content-type=text/plainIt will probably never get into vanilla 2.4 because Marcelo doesn't respond to my Emails. However, it is really stable since months... What other driver were you talking about?
Tom, would you put this driver into the 2.4 ppc trees if I rediffed it?
Have there been any updates since the last one you sent me? I've actually got it in a tree I'm going to get Marcelo to pull from. Thanks.
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 5 lines · Tom Rini
Quoted 1 line
Tom, would you put this driver into the 2.4 ppc trees if I rediffed it?
Have there been any updates since the last one you sent me? I've actually got it in a tree I'm going to get Marcelo to pull from. Thanks.
That's great news! The driver has not been not changed since then. The last patch I sent to you was for 2.4.23-pre7 I think. Thank you!
Regards,
Andreas
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 10 lines · Andreas Oberritter
Quoted 5 lines · Tom Rini
Quoted 2 lines
Tom, would you put this driver into the 2.4 ppc trees if I rediffed it?
Have there been any updates since the last one you sent me? I've actually got it in a tree I'm going to get Marcelo to pull from.
That's great news! The driver has not been not changed since then. The last patch I sent to you was for 2.4.23-pre7 I think. Thank you!
My reading of your code interprets the resetting of the watchdog as being from the real-time clock interrupt. This block does not exist on newer 8xx CPUs so it looks like I'm going to have to hack the code about a bit for 859/866 CPUs at least.
Maybe I've missed something - I'd be interested in your feedback (after the Christmas break!!).
--
Robin Gilks
Senior Design Engineer Phone: (+64)(3) 357 1569 Tait Electronics Fax : (+64)(3) 359 4632 PO Box 1645 Christchurch Email : [email protected]
New Zealand
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 5 lines · In message <[email protected]> you wrote:
Whilst rummaging about the PPC development tree I came across the Siemens/SGI/Denx watchdog driver for the mpc8xx. It references a man page which so far I've not been able to find (man
wdt_mpx8xx(4)) so I'm a bit clueless about what the monitor chain code does.
In the top directory of the Linux source tree, type:
man Documentation/man4/wdt_mpc8xx.4
Quoted 3 lines
It doesn't seem to relate to the generic watchdog_api.txt in the kernel documentation (at least the defines don't seem to tie in with any of the
ioctl options).
You are right; this watchdog driver provides a very different API with a few pretty powerful options (like escalation strategies etc.)
Quoted 1 line
Any help here appreciated.
Hope this helps.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] A fanatic is a person who can't change his mind and won't change the
subject. - Winston Churchill
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/