<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> </div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1">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 class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1"></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">Any idea on this 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> </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> </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> </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> </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> </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> </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></div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"><span style="mso-tab-count: 1"> </span>slwi<span style="mso-tab-count: 1"> </span>r6,r6,5<span style="mso-tab-count: 2">
</span>/* setup new context with other address space */<br><span style="mso-tab-count: 1"> </span>bl<span style="mso-tab-count: 1"> </span>1f<span style="mso-tab-count: 2"> </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"> </span>mflr<span style="mso-tab-count: 1"> </span>r9<br><span style="mso-tab-count: 1">
</span>rlwimi<span style="mso-tab-count: 1"> </span>r7,r9,0,20,31<br><span style="mso-tab-count: 1"> </span>addi<span style="mso-tab-count: 1"> </span>r7,r7,24<br><span style="mso-tab-count: 1"> </span>
mtspr<span style="mso-tab-count: 1"> </span>SRR0,r7 ........No change in SRR0<br><span style="mso-tab-count: 1"> </span></span>mtspr<span style="mso-tab-count: 1"> </span>SRR1,r6 ........No change in SRR1
<br><span style="mso-tab-count: 1"> </span>rfi ........System crash<br><br>/* 4. Clear out PIDs & Search info */<span style="mso-tab-count: 1"> </span>l</font></font></div>
<div class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font size="2"><font face="Courier New"> li<span style="mso-tab-count: 1"> </span>r6,0<br><span style="mso-tab-count: 1"> </span>mtspr<span style="mso-tab-count: 1">
</span>SPRN_PID0,r6<br><span style="mso-tab-count: 1"> </span>mtspr<span style="mso-tab-count: 1"> </span>SPRN_PID1,r6<br><span style="mso-tab-count: 1"> </span>mtspr<span style="mso-tab-count: 1"> </span>SPRN_PID2,r6
<br><span style="mso-tab-count: 1"> </span>mtspr<span style="mso-tab-count: 1"> </span>SPRN_MAS6,r6</font></font><br> </div></span>