<div>Did you done similar work before? Current 2.6 code need many other files, I have following errors when I try to use the head_e500.S from 2.6 code:</div>
<div> </div>
<div>
<div>
<p style="MARGIN: 0in 0in 0pt"><font face="Courier New" size="2">/kernel-><span> </span>powerpc-linux-gnuspe-gcc -m32 -Wp,-MD,arch/ppc/kernel/.entry.o.d -nostdinc -isystem /opt/mtwk/usr/local/gcc-3_4- e500-glibc-2.3.4-dp
/powerpc-linux-gnuspe/lib/gcc/powerpc-linux-gnuspe/3.4.3/include -D__KERNEL__ -Iinclude<span> </span>-Iarch/ppc -D__ASSEMBLY__ -Iarch/ppc -Wa,-me500<span> </span>-c -o arch/ppc/kernel/entry.o arch/ppc/kernel/entry.S
<br>arch/ppc/kernel/entry.S: Assembler messages:</font></p><font face="Courier New" size="2">
<p style="MARGIN: 0in 0in 0pt"><font face="Courier New" size="2">entry.S:819: Error: unsupported relocation against CSRR0<br>entry.S:820: Error: unsupported relocation against CSRR1<br>entry.S:888: Error: unsupported relocation against MCSRR0
<br>entry.S:889: Error: unsupported relocation against MCSRR1<br>entry.S:909: Error: unsupported relocation against CSRR0<br>entry.S:911: Error: unsupported relocation against CSRR1</font><br></p>
<p style="MARGIN: 0in 0in 0pt"><br><br></p></font><font size="2"><font face="Courier New"><span lang="PT-BR">entry.S<br><br>819<span> </span>mtspr CSRR0, r11<br></span>820<span> </span>mtspr CSRR1, r12</font></font><br>
<font size="2"> </font></div><span></span><br> </div><br><br>
<div><span class="gmail_quote">On 8/14/07, <b class="gmail_sendername">Jon Loeliger</b> <<a href="mailto:jdl@freescale.com">jdl@freescale.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Tue, 2007-08-14 at 15:14, mike zheng wrote:<br>> Hi All,<br>><br>> I am trying to bring up MPC8548 CDS board on
2.4 kernel. I have<br>> problem in the head<br><br>Ow, it hurts when I do this!<br><br>> _e500.S. The "mtspr SRR0, r7; mtspr SRR1 r6" does not work for me. The<br>> content of R7 and R6 are not moved to SRR0 and SRR1. I am using the
<br>> tool-chain from Freescale for 2.6 kernel.<br>><br>> Any idea on this issue?<br><br>Maybe use current 2.6 code?<br><br>jdl<br><br><br></blockquote></div><br>