<div>Hello all</div>
<div> </div>
<div> When I try to compile the latest kernel2.6.16.1 for MPC8548, I have the following questions.</div>
<div> </div>
<div> 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> CC arch/powerpc/kernel/asm-offset.s</strong></font></div>
<div><font style="BACKGROUND-COLOR: #ffffff"><strong> In file included from include/asm-ppc/io.h:39</strong></font></div>
<div><font style="BACKGROUND-COLOR: #ffffff"><strong> from include/asm/io.h:13,</strong></font></div>
<div><font style="BACKGROUND-COLOR: #ffffff"><strong> from arch/powerpc/kernel/asm-offsets.c:33:</strong></font></div>
<div><font style="BACKGROUND-COLOR: #ffffff"><strong> 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> </div>
<div><font style="BACKGROUND-COLOR: #ffffff"> It seems the header file path is wrong. so I build the symbol link</font></div>
<div> 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> 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> After that, the issues is fixed. But I have still other issues:</div>
<div> </div>
<div> 2. </div>
<div><strong> 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"> make[1]: *** [arch/powerpc/kernel/entry_32.o] Error 1</font></strong></div>
<div> 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> </div>
<div> 3. </div>
<div><strong> ld: arch/powerpc/platforms/85xx/built-in.o: No such file: No such file or directory</strong></div>
<div><strong> make[1]: *** [arch/powerpc/platforms/built-in.o] Error 1</strong></div>
<div><strong></strong> </div>
<div><strong> What do I do? Any patches for these issues?</strong></div>
<div><strong></strong> </div>
<div><strong></strong> </div>
<div><strong>Best Regards</strong></div>
<div><strong>Lu </strong></div>