<!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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</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&nbsp;normally ? what should i do now?</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>thanks</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;.globl&nbsp;__start<BR>__start:<BR>&nbsp;mr&nbsp;r31,r3&nbsp;&nbsp;&nbsp;/* 
save parameters 
*/<BR>&nbsp;mr&nbsp;r30,r4<BR>&nbsp;mr&nbsp;r29,r5<BR>&nbsp;mr&nbsp;r28,r6<BR>&nbsp;mr&nbsp;r27,r7</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;/* We have to turn on the MMU right away so we get cache 
modes<BR>&nbsp; * set correctly.<BR>&nbsp; */<BR>&nbsp;bl&nbsp;initial_mmu</DIV>
<DIV>&nbsp;</DIV>
<DIV>/* We now have the lower 8 Meg mapped into TLB entries, and the 
caches<BR>&nbsp;* ready to work.<BR>&nbsp;*/</DIV>
<DIV>&nbsp;</DIV>
<DIV>turn_on_mmu:<BR>&nbsp;mfmsr&nbsp;r0<BR>&nbsp;ori&nbsp;r0,r0,MSR_DR|MSR_IR<BR>&nbsp;mtspr&nbsp;SPRN_SRR1,r0<BR>&nbsp;lis&nbsp;r0,start_here@h<BR>&nbsp;ori&nbsp;r0,r0,start_here@l<BR>&nbsp;mtspr&nbsp;SPRN_SRR0,r0<BR>&nbsp;SYNC<BR>&nbsp;rfi&nbsp;&nbsp;&nbsp;&nbsp;/* 
enables MMU */</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Verdana><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</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>