<span class="ppt" id="_user_linuxppc-dev@ozlabs.org">
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1">Hi All,</span></font></font></div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1"></span></font></font>&nbsp;</div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1">I&nbsp;am trying to bring&nbsp;up MPC8548 CDS board on 2.4 kernel.&nbsp;I have problem in the head_e500.S. The &quot;mtspr SRR0, r7; mtspr SRR1 r6&quot;&nbsp;does not work for me. The content of R7 and R6&nbsp;are not moved to SRR0 and&nbsp;SRR1.&nbsp; I am using the tool-chain from Freescale for 
2.6 kernel.&nbsp;</span></font></font></div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1"></span></font></font>&nbsp;</div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1">Any idea on this&nbsp;issue?</span></font></font></div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1"></span></font></font>&nbsp;</div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1">Thanks,</span></font></font></div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1"></span></font></font>&nbsp;</div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1">Mike</span></font></font></div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1"></span></font></font>&nbsp;</div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1"></span></font></font>&nbsp;</div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1"></span></font></font>&nbsp;</div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1">Code of head_e500.S:</span></font></font></div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1"></span></font></font>&nbsp;</div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1">&nbsp;</span></font></font></div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>slwi<span style="mso-tab-count: 1">&nbsp; </span>r6,r6,5<span style="mso-tab-count: 2">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>/* setup new context with other address space */<br><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>bl<span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp; </span>1f<span style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>/* Find our address */
<br></font></font><font size="2"><font face="Courier New"><span lang="PT-BR" style="mso-ansi-language: PT-BR">1:<span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp; </span>mflr<span style="mso-tab-count: 1">&nbsp; </span>r9<br><span style="mso-tab-count: 1">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>rlwimi<span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>r7,r9,0,20,31<br><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>addi<span style="mso-tab-count: 1">&nbsp; </span>r7,r7,24<br><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
mtspr<span style="mso-tab-count: 1"> </span>SRR0,r7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ........No change in SRR0<br><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>mtspr<span style="mso-tab-count: 1"> </span>SRR1,r6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;........No&nbsp;change in SRR1
<br><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>rfi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ........System crash<br><br>/* 4. Clear out PIDs &amp; Search info */<span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>l</font></font></div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;li<span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp; </span>r6,0<br><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>mtspr<span style="mso-tab-count: 1">
 </span>SPRN_PID0,r6<br><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>mtspr<span style="mso-tab-count: 1"> </span>SPRN_PID1,r6<br><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>mtspr<span style="mso-tab-count: 1"> </span>SPRN_PID2,r6
<br><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>mtspr<span style="mso-tab-count: 1"> </span>SPRN_MAS6,r6</font></font><br>&nbsp;</div></span>