linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 8270 & Watchdog - early start
@ 2007-09-20  8:19 Matias Sundman
  2007-09-20  8:54 ` Laurent Pinchart
  2007-09-20 10:06 ` 8270 & Watchdog - early start - II Matias Sundman
  0 siblings, 2 replies; 6+ messages in thread
From: Matias Sundman @ 2007-09-20  8:19 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 775 bytes --]


Hi,
I have a custom MPC8270 board running Linux and u-boot.
Now, I enabled the watchdog on the 8270 and need to kick it regularly by
writing ;

0x556c
0xaa39

To the internal register @ 0x0x1000e.

When I am coming out from head.S to start_kernel I was thinking of
kicking
it a couple times "manually"
before a timer interrupt is inserted which will take care of it until a
"superdaemon" is taking over.

I tried to serve the register as follows;


*((volatile unsigned int*)(0xf001000e))=0x556c;
*((volatile unsigned int*)(0xf001000e))=0xaa39;

But it does not take effect. I thought that since u-boot had set up the
IMMR
to 0xf000'0000 I could
directly write to the register as above.


Any clues why this does not work?


Thx // Matias


[-- Attachment #2: Type: text/html, Size: 2068 bytes --]

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

end of thread, other threads:[~2007-09-20 11:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20  8:19 8270 & Watchdog - early start Matias Sundman
2007-09-20  8:54 ` Laurent Pinchart
2007-09-20 10:06 ` 8270 & Watchdog - early start - II Matias Sundman
2007-09-20 11:22   ` Laurent Pinchart
2007-09-20 11:11     ` samppa
2007-09-20 11:44       ` Laurent Pinchart

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