<!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 860T, </FONT></FONT><FONT
face=Verdana><FONT size=2>using bootm command boot a linux kernel image, the
following message print by smc1:</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Verdana>bootm 300000</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana>## Booting image at 00300000 ...<BR> Image
Name: Linux-2.6.20.14<BR> Image Type:
PowerPC Linux Kernel Image (gzip compressed)<BR> Data
Size: 1081591 Bytes = 1 MB<BR> Load Address:
00100000<BR> Entry Point: 00100000<BR> Verifying
Checksum ... OK<BR> Uncompressing Kernel Image ... OK<BR>## Current
stack ends at 0x01D5DB10 => set upper limit to 0x00800000<BR>No initrd<BR>##
Transferring control to Linux (at address 00100000) ...</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>then, the program has no response.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>i debug it througth BDM, in u-boot function "do_bootm_linux",
execute at "kernel = (void (*)(bd_t *, ulong, ulong, ulong,
ulong))hdr->ih_ep", the program branch to address "0x00000000", the code is
shown as following:</FONT></DIV>
<DIV><FONT size=2>00000000 mr
r31,r3</FONT></DIV>
<DIV><FONT size=2>00000004 mr
r30,r4</FONT></DIV>
<DIV><FONT size=2>00000008 mr
r29,r5</FONT></DIV>
<DIV><FONT size=2>0000000C mr
r28,r6</FONT></DIV>
<DIV><FONT size=2>00000010 mr
r27,r7</FONT></DIV>
<DIV><FONT size=2>00000014 bl
0x000020C8</FONT></DIV>
<DIV><FONT size=2>00000018 mfmsr
r0</FONT></DIV>
<DIV><FONT size=2>0000001C ori
r0,r0,0x30</FONT></DIV>
<DIV><FONT size=2>00000020 mtspr
SRR1,r0</FONT></DIV>
<DIV><FONT size=2>00000024 lis
r0,0xC0002004@h</FONT></DIV>
<DIV><FONT size=2>00000028 ori
r0,r0,0xC0002004@l</FONT></DIV>
<DIV><FONT size=2>0000002C mtspr
SRR0,r0</FONT></DIV>
<DIV><FONT size=2>00000030 rfi</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>my questions are:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>1. Is the code "kernel = (void (*)(bd_t *, ulong, ulong,
ulong, ulong))hdr->ih_ep" branch right?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>2. What's the expected code after "kernel = (void
(*)(bd_t *, ulong, ulong, ulong, ulong))hdr->ih_ep"?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>3. When the kernel run to the
"boot/simple/head.s"?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>thanks a lot</FONT></DIV>
<DIV><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-22</FONT></FONT></DIV></FONT></BODY></HTML>