<div>Unfortunately, all the applications are running on 2.4 kernel. I can not just throw the 2.4 kernel. I took the some core specific code from <a href="http://ppc.bkbits.net">ppc.bkbits.net</a>, such as head_e500.S and mpc85xx_cds_common.c. I assume the image should work on the 8548 CDS board, or at least for the bootup. I shall able to have the serial port working in platform_init(). However , the code stops in the head_e500.S. This does not make any sense. Please correct me if I am wrong.
</div>
<div> </div>
<div>BTW, I am using the tool-chain gcc-3_4-e5000glibc-2.3.4-dp, which is from Freescale for the 8548 CDS BSP of 2.6 kernel. </div>
<div> </div>
<div>Any suggest or comment is welcome, I am struggling with this issue for almost one week...... :-(<br><br> </div>
<div><span class="gmail_quote">On 8/15/07, <b class="gmail_sendername">Becky Bruce</b> <<a href="mailto:becky.bruce@freescale.com">becky.bruce@freescale.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>On Aug 15, 2007, at 11:28 AM, Kumar Gala wrote:<br><br>><br>> On Aug 15, 2007, at 11:02 AM, Scott Wood wrote:
<br>><br>>> On Wed, Aug 15, 2007 at 09:57:59AM -0400, mike zheng wrote:<br>>>> Did you done similar work before? Current 2.6 code need many other<br>>>> files, I<br>>>> have following errors when I try to use the head_e500.S from
2.6<br>>>> code:<br>>>><br>>>><br>>>> /kernel-> powerpc-linux-gnuspe-gcc -m32 -Wp,-MD,arch/ppc/<br>>>> kernel/.entry.o.d<br>>>> -nostdinc -isystem /opt/mtwk/usr/local/gcc-3_4-
<br>>>> e500-glibc-2.3.4-dp/powerpc-linux-gnuspe/lib/gcc/powerpc-linux-<br>>>> gnuspe/3.4.3/include<br>>>> -D__KERNEL__ -Iinclude -Iarch/ppc -D__ASSEMBLY__ -Iarch/ppc -Wa,-<br>>>> me500 -c
<br>>>> -o arch/ppc/kernel/entry.o arch/ppc/kernel/entry.S<br>>>> arch/ppc/kernel/entry.S: Assembler messages:<br>>>><br>>>> 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<br>>><br>>> Try arch/powerpc; arch/ppc is deprecated.<br>><br>> He's trying a
2.4 kernel.<br><br>I think maybe he misunderstood Jon's advive to "use 2.6" as using<br>just some files from 2.6. I think the above is probably some strange<br>mix of 2.4 and 2.6, which, of course, won't work.
<br><br>Jon's real advice was "use 2.6", as in, the whole thing.<br><br>-B<br>_______________________________________________<br>Linuxppc-dev mailing list<br><a href="mailto:Linuxppc-dev@ozlabs.org">Linuxppc-dev@ozlabs.org
</a><br><a href="https://ozlabs.org/mailman/listinfo/linuxppc-dev">https://ozlabs.org/mailman/listinfo/linuxppc-dev</a><br></blockquote></div><br>