linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MPC860 onchip WatchDog
@ 2002-03-06 23:56 Andres Chamorro Morillas
  2002-03-06 22:19 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Andres Chamorro Morillas @ 2002-03-06 23:56 UTC (permalink / raw)
  To: linuxppc-embedded


Hi, I trying to use the MPC860 onchip WatchDog.I compile ppcboot-1.1.4
with include/config_MBX.h ( I have a MBX860 board) I compile the
linux-2.4.4-2002-02-14 kernel by denx. I activate the WatchDog support
for
MPC860.Well, I make tftpboot then I tray to boot the
kernel but...
Loading .text @ 0x00180000 (23052 bytes)
Loading .rodata @ 0x00185a10 (2320 bytes)
Loading .data @ 0x00187000 (808bytes)
Loading __ex_table @ 0x00187328 (24 bytes)
## Starting application at 0x00180000...
loaded at:  00210000 0021B59C
relocated to:  00180000 0018B59C
board data at: 043A0288 043A02BC
relocated to:  00200100 00200134
zimage at:  00218000 002A95D8
avail ram:  002AA000 04400000
Linux/PPC load:root=/dev/nfs rw
Uncompressing Linux...done.
Now booting the kernel

And reset.
Thats mean that WD works fine but I can't boot.
What can I do???
Modify the kernel code to service the watchdog????
Which part of kernel I have to modify???
Thanks a lot.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: MPC860 onchip WatchDog
@ 2002-03-06 22:01 Banks, Kelly
  2002-03-06 22:22 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Banks, Kelly @ 2002-03-06 22:01 UTC (permalink / raw)
  To: 'Andres Chamorro Morillas', linuxppc-embedded


I just did this last week.  My test load is cooking in the test oven now.
You need to tickle the WD at several places within the kernel.  For me, it
worked by putting the tickle code in kernel/sched.c &
arch/ppc/boot/simple/misc-embedded.c.  Granted, there is likely a better
place to put chip specific code than in kernel/sched.c, but it did get the
job done.

I'm curious to know if there are any 'proper conventions' for doing this
sort of thing.

Kelly

-----Original Message-----
From: Andres Chamorro Morillas [mailto:achamorro@prodys.net]
Sent: Wednesday, March 06, 2002 6:57 PM
To: linuxppc-embedded@lists.linuxppc.org
Subject: MPC860 onchip WatchDog



Hi, I trying to use the MPC860 onchip WatchDog.I compile ppcboot-1.1.4
with include/config_MBX.h ( I have a MBX860 board) I compile the
linux-2.4.4-2002-02-14 kernel by denx. I activate the WatchDog support
for
MPC860.Well, I make tftpboot then I tray to boot the
kernel but...
Loading .text @ 0x00180000 (23052 bytes)
Loading .rodata @ 0x00185a10 (2320 bytes)
Loading .data @ 0x00187000 (808bytes)
Loading __ex_table @ 0x00187328 (24 bytes)
## Starting application at 0x00180000...
loaded at:  00210000 0021B59C
relocated to:  00180000 0018B59C
board data at: 043A0288 043A02BC
relocated to:  00200100 00200134
zimage at:  00218000 002A95D8
avail ram:  002AA000 04400000
Linux/PPC load:root=/dev/nfs rw
Uncompressing Linux...done.
Now booting the kernel

And reset.
Thats mean that WD works fine but I can't boot.
What can I do???
Modify the kernel code to service the watchdog????
Which part of kernel I have to modify???
Thanks a lot.


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

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

end of thread, other threads:[~2002-03-06 23:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-06 23:56 MPC860 onchip WatchDog Andres Chamorro Morillas
2002-03-06 22:19 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2002-03-06 22:01 Banks, Kelly
2002-03-06 22:22 ` 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).