<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana><FONT size=2>my cpu is MPC860, use u-boot-1.1.4,
linux-2.6.20.14</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Verdana><FONT size=2>i use the "tftp 300000 uImage" command
download kernel image,</FONT></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>then use the "bootm 300000" command boot the
image.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>i found the bootm cmd entered the
/arch/ppc/kernel/head_8xx.s, stop at the instruction "rfi".</FONT></DIV>
<DIV><FONT face=Verdana size=2>is it right? after the instruction, where does
the code go normally ? what should i do now?</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>thanks</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV> .globl __start<BR>__start:<BR> mr r31,r3 /*
save parameters
*/<BR> mr r30,r4<BR> mr r29,r5<BR> mr r28,r6<BR> mr r27,r7</DIV>
<DIV> </DIV>
<DIV> /* We have to turn on the MMU right away so we get cache
modes<BR> * set correctly.<BR> */<BR> bl initial_mmu</DIV>
<DIV> </DIV>
<DIV>/* We now have the lower 8 Meg mapped into TLB entries, and the
caches<BR> * ready to work.<BR> */</DIV>
<DIV> </DIV>
<DIV>turn_on_mmu:<BR> mfmsr r0<BR> ori r0,r0,MSR_DR|MSR_IR<BR> mtspr SPRN_SRR1,r0<BR> lis r0,start_here@h<BR> ori r0,r0,start_here@l<BR> mtspr SPRN_SRR0,r0<BR> SYNC<BR> rfi /*
enables MMU */</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV align=left><FONT size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
</FONT></DIV>
<DIV><FONT color=#c0c0c0><FONT size=2>poorbeyond</FONT></DIV>
<DIV><FONT size=2>2007-07-27</FONT></FONT></DIV></FONT></BODY></HTML>