linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* wdt_mpc8xx documentation
@ 2003-12-18  4:32 Robin Gilks
  2003-12-18  5:52 ` Andreas Oberritter
  2003-12-19 20:30 ` Wolfgang Denk
  0 siblings, 2 replies; 6+ messages in thread
From: Robin Gilks @ 2003-12-18  4:32 UTC (permalink / raw)
  To: linuxppc mail list


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 : robin.gilks@tait.co.nz
New Zealand


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: wdt_mpc8xx documentation
  2003-12-18  4:32 wdt_mpc8xx documentation Robin Gilks
@ 2003-12-18  5:52 ` Andreas Oberritter
  2003-12-18 16:13   ` Tom Rini
  2003-12-19 20:30 ` Wolfgang Denk
  1 sibling, 1 reply; 6+ messages in thread
From: Andreas Oberritter @ 2003-12-18  5:52 UTC (permalink / raw)
  To: Robin Gilks; +Cc: linuxppc-embedded, Tom Rini


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



On Thu, 2003-12-18 at 05:32, Robin Gilks wrote:
> 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 : robin.gilks@tait.co.nz
> New Zealand
>
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: wdt_mpc8xx documentation
  2003-12-18  5:52 ` Andreas Oberritter
@ 2003-12-18 16:13   ` Tom Rini
  2003-12-18 16:59     ` Andreas Oberritter
  0 siblings, 1 reply; 6+ messages in thread
From: Tom Rini @ 2003-12-18 16:13 UTC (permalink / raw)
  To: Andreas Oberritter; +Cc: Robin Gilks, linuxppc-embedded


On Thu, Dec 18, 2003 at 06:52:46AM +0100, Andreas Oberritter wrote:
> 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?

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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: wdt_mpc8xx documentation
  2003-12-18 16:13   ` Tom Rini
@ 2003-12-18 16:59     ` Andreas Oberritter
  2003-12-18 22:10       ` Robin Gilks
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Oberritter @ 2003-12-18 16:59 UTC (permalink / raw)
  To: Tom Rini; +Cc: linuxppc-embedded


On Thu, 2003-12-18 at 17:13, Tom Rini wrote:
> > 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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: wdt_mpc8xx documentation
  2003-12-18 16:59     ` Andreas Oberritter
@ 2003-12-18 22:10       ` Robin Gilks
  0 siblings, 0 replies; 6+ messages in thread
From: Robin Gilks @ 2003-12-18 22:10 UTC (permalink / raw)
  To: Andreas Oberritter, linuxppc mail list


Andreas Oberritter wrote:
> On Thu, 2003-12-18 at 17:13, Tom Rini wrote:
>
>>>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 : robin.gilks@tait.co.nz
New Zealand

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: wdt_mpc8xx documentation
  2003-12-18  4:32 wdt_mpc8xx documentation Robin Gilks
  2003-12-18  5:52 ` Andreas Oberritter
@ 2003-12-19 20:30 ` Wolfgang Denk
  1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2003-12-19 20:30 UTC (permalink / raw)
  To: Robin Gilks; +Cc: linuxppc mail list


In message <3FE12DCD.10609@tait.co.nz> 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

> 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.)

> 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: wd@denx.de
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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-12-19 20:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-18  4:32 wdt_mpc8xx documentation Robin Gilks
2003-12-18  5:52 ` Andreas Oberritter
2003-12-18 16:13   ` Tom Rini
2003-12-18 16:59     ` Andreas Oberritter
2003-12-18 22:10       ` Robin Gilks
2003-12-19 20:30 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).