<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>8270 &amp; Watchdog - early start</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>

<P><FONT SIZE=2 FACE="Comic Sans MS">Hi,</FONT>

<BR><FONT SIZE=2 FACE="Comic Sans MS">I have a custom MPC8270 board running Linux and u-boot.</FONT>

<BR><FONT SIZE=2 FACE="Comic Sans MS">Now, I enabled the watchdog on the 8270 and need to kick it regularly by</FONT>

<BR><FONT SIZE=2 FACE="Comic Sans MS">writing ;</FONT>
</P>

<P><FONT SIZE=2 FACE="Comic Sans MS">0x556c</FONT>

<BR><FONT SIZE=2 FACE="Comic Sans MS">0xaa39</FONT>
</P>

<P><FONT SIZE=2 FACE="Comic Sans MS">To the internal register @ 0x0x1000e.</FONT>
</P>

<P><FONT SIZE=2 FACE="Comic Sans MS">When I am coming out from head.S to start_kernel I was thinking of kicking</FONT>

<BR><FONT SIZE=2 FACE="Comic Sans MS">it a couple times &quot;manually&quot;</FONT>

<BR><FONT SIZE=2 FACE="Comic Sans MS">before a timer interrupt is inserted which will take care of it until a</FONT>

<BR><FONT SIZE=2 FACE="Comic Sans MS">&quot;superdaemon&quot; is taking over.</FONT>
</P>

<P><FONT SIZE=2 FACE="Comic Sans MS">I tried to serve the register as follows;</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Comic Sans MS">*((volatile unsigned int*)(0xf001000e))=0x556c;</FONT>

<BR><FONT SIZE=2 FACE="Comic Sans MS">*((volatile unsigned int*)(0xf001000e))=0xaa39;</FONT>
</P>

<P><FONT SIZE=2 FACE="Comic Sans MS">But it does not take effect. I thought that since u-boot had set up the IMMR</FONT>

<BR><FONT SIZE=2 FACE="Comic Sans MS">to 0xf000'0000 I could</FONT>

<BR><FONT SIZE=2 FACE="Comic Sans MS">directly write to the register as above.</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Comic Sans MS">Any clues why this does not work?</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Comic Sans MS">Thx // Matias</FONT>
</P>

</BODY>
</HTML>