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