<div>Hello all</div>
<div>&nbsp;&nbsp; </div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; When&nbsp;I try to compile the latest kernel2.6.16.1 for MPC8548, I have the following questions.</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; 1. run the make command after the kernel is configured(all are default configurations except the processor type is MPC8548), the following errors are got</div>
<div><font style="BACKGROUND-COLOR: #ffffff"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CC arch/powerpc/kernel/asm-offset.s</strong></font></div>
<div><font style="BACKGROUND-COLOR: #ffffff"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;In file included from include/asm-ppc/io.h:39</strong></font></div>
<div><font style="BACKGROUND-COLOR: #ffffff"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from include/asm/io.h:13,</strong></font></div>
<div><font style="BACKGROUND-COLOR: #ffffff"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from arch/powerpc/kernel/asm-offsets.c:33:</strong></font></div>
<div><font style="BACKGROUND-COLOR: #ffffff"><strong>&nbsp;&nbsp;&nbsp;&nbsp; arch/powerpc/include/asm/mpc85xx.h:29:40: platforms/85xx/mpc8555_cds.h: No such file or directory</strong></font></div>
<div><font style="BACKGROUND-COLOR: #ffffff"><strong>make[1]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1</strong></font></div>
<div><font style="BACKGROUND-COLOR: #999999"></font>&nbsp;</div>
<div><font style="BACKGROUND-COLOR: #ffffff">&nbsp; It seems the header file path is wrong. so I build the symbol link</font></div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ln -s /usr/src/linux-<a href="http://2.6.16.1/include/platforms">2.6.16.1/include/platforms</a> /usr/src/linux-<a href="http://2.6.16.1/arch/ppc/platforms">2.6.16.1/arch/ppc/platforms</a></div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ln -s /usr/src/linux-<a href="http://2.6.16.1/include/syslib">2.6.16.1/include/syslib</a> /usr/src/linux-<a href="http://2.6.16.1/arch/ppc/syslib">2.6.16.1/arch/ppc/syslib</a></div>
<div>&nbsp; After that, the issues is fixed. But I have still other issues:</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp; 2. </div>
<div><strong>&nbsp;&nbsp;&nbsp;&nbsp; arch/powerpc/kernel/entry_32.S:48:24: head_booke.h: No such file or directory</strong></div>
<div><strong><font style="BACKGROUND-COLOR: #ffffff">&nbsp;&nbsp;&nbsp;&nbsp; make[1]: *** [arch/powerpc/kernel/entry_32.o] Error 1</font></strong></div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; I found this file in arch/ppc/kernel/head_booke.h and copy it into arch/powerpc/kernel/ and re-compile it. sio this issue is fixed. but new problem coming</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp; 3. </div>
<div><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ld: arch/powerpc/platforms/85xx/built-in.o: No such file: No such file or directory</strong></div>
<div><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; make[1]: *** [arch/powerpc/platforms/built-in.o] Error 1</strong></div>
<div><strong></strong>&nbsp;</div>
<div><strong>&nbsp;&nbsp;&nbsp;&nbsp; What do I do? Any patches for these issues?</strong></div>
<div><strong></strong>&nbsp;</div>
<div><strong></strong>&nbsp;</div>
<div><strong>Best Regards</strong></div>
<div><strong>Lu </strong></div>