Hi,<br><br>I decided to start tracing down the issue. I&#39;m debugging early stage<br>by adding primitive debug code ( I don&#39;t have a fancy cpu debugger,<br>sign)<br><br>foobar:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .long 0<br>start_:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lis&nbsp;&nbsp; r4, 
foobar@h<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ori&nbsp;&nbsp; r4, r4, foobar@l<br>&nbsp;&nbsp;&nbsp; li&nbsp;&nbsp;&nbsp; r8, 0x1111<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stw&nbsp;&nbsp; r8, 0(r4)<br><br>I found that the bootelf command actually jumped to _start(), and then<br>stoped inside load_kernel()@arch/ppc/boot/simple/misc.c.&nbsp; Because of
<br>stupid debugging method, just slow progress.<br><br>- ken<br><br><br><div><span class="gmail_quote">On 3/23/07, <b class="gmail_sendername">Ken Sakurai</b> &lt;<a href="mailto:sakurken@gmail.com">sakurken@gmail.com</a>
&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Stephen,<span class="q"><br><br>&gt; I don&#39;t know the AVNET 440GX eval board. Is it _identical_ to the IBM/AMCC
<br>&gt; Ocotea? If not you will most likely have no luck with this image. You will<br>&gt; have to port Linux to this special board.
<br><br></span>yeah, sounds like. I was so optimistic that Linux is kind of primary OS for<br>any ppc board&nbsp; when I choosed this board :-)<br><br>I was just using the elf image, instead of uimage.<br>&#39;6501A8C0.img&#39; is refereing 
zImage.img which is Linux elf image.<br>It looks to me that the bootelf command interprets ELF format corrently.<br><br>As you sugested, I also made uImage and used bootm to boot it.<br>But no luck. Here is the log.<br><br>

=&gt; setenv bootargs &quot;console=ttyS0,19200 console=/dev/ttyS0&quot;<br>=&gt; tftp 0x100000 uImage<span class="q"><br>Waiting for PHY auto negotiation to complete.. done<br>ENET Speed is 100 Mbps - FULL duplex connection
<br></span><span class="q">Using ppc_440x_eth2 device
<br>TFTP from server <a href="http://192.168.1.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.1</a>; our IP address is <a href="http://192.168.1.101" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.1.101</a><br></span>Filename &#39;uImage&#39;.<span class="q"><br>Load address: 0x100000<br>Loading: #################################################################
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #################################################################<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ######<br>done<br></span>Bytes transferred = 695605 (a9d35 hex)<br>=&gt; bootm<br>## Booting image at 00100000 ...<br>&nbsp;&nbsp; Image Name:&nbsp;&nbsp; 
Linux-2.6.21-rc4
<br>&nbsp;&nbsp; Image Type:&nbsp;&nbsp; PowerPC Linux Kernel Image (gzip compressed)<br>&nbsp;&nbsp; Data Size:&nbsp;&nbsp;&nbsp; 695541 Bytes = 679.2 kB<br>&nbsp;&nbsp; Load Address: 00000000<br>&nbsp;&nbsp; Entry Point:&nbsp; 00000000<br>&nbsp;&nbsp; Verifying Checksum ... OK<br>&nbsp;&nbsp; Uncompressing Kernel Image ... OK
<br>(freeze at this point)<br><span class="sg"><br>- Ken</span><div><span class="e" id="q_111801e71310130a_9"><br><br><div><span class="gmail_quote">On 3/23/07, <b class="gmail_sendername">Stefan Roese</b> &lt;<a href="mailto:sr@denx.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
sr@denx.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ken,<br><br>On Thursday 22 March 2007 20:34, Ken Sakurai wrote:<br>&gt; I&#39;m trying to boot Linux on&nbsp;&nbsp;AVNET 440gx eval board but no luck so far.<br>&gt; What I did are that I downloaded a plain 2.6.20 kernel from <a href="http://kernel.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

kernel.org</a>,<br>&gt; configured with 440GX, OCOTEA target (I&#39;m not sure OCOTEA is correct<br>&gt; target),<br><br>I don&#39;t know the AVNET 440GX eval board. Is it _identical_ to the IBM/AMCC<br>Ocotea? If not you will most likely have no luck with this image. You will
<br>have to port Linux to this special board.<br><br>&gt; then loaded the kernel image via tftp&nbsp;&nbsp;and tried to boot with bootelf<br>&gt; command.<br>&gt; But I had no output message from Linux.<br>&gt;<br>&gt; I suspected setting of Linux serial console. So I changed the kernel
<br>&gt; parameter to<br>&gt; &quot;ttyS0,19200&quot; which I suppose correct becuase this is the minicom setting.<br>&gt; But still didn&#39;t work.<br>&gt;<br>&gt; The board comes with u-boot 1.0.2 with some fixes.&nbsp;&nbsp;I&#39;m checking the u-boot
<br>&gt; source code (might be some hint in there) and the serial device<br>&gt; initialization code in Linux.<br>&gt;<br>&gt; Has anyone had experiece with Linux on AVNET 440GX board?<br>&gt; Any advise would be appreciated !
<br><br>See below.<br><br>&gt; -<br>&gt; Ken<br>&gt;<br>&gt; ------<br>&gt;<br>&gt; =&gt; tftp<br>&gt; Waiting for PHY auto negotiation to complete.. done<br>&gt; ENET Speed is 100 Mbps - FULL duplex connection<br>&gt; *** Warning: no boot file name; using &#39;
6501A8C0.img&#39;<br><br>Hmmmm. That&#39;s a strange image name. Normally you should boot the uImage file<br>from U-Boot.<br><br>&gt; Using ppc_440x_eth2 device<br>&gt; TFTP from server <a href="http://192.168.1.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.1.1
</a>; our IP address is <a href="http://192.168.1.101" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.101</a><br>&gt; Filename &#39;6501A8C0.img&#39;.<br>&gt; Load address: 0x100000<br>&gt; Loading: #################################################################
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#################################################################<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#################################<br>&gt; done<br>&gt; Bytes transferred = 832121 (cb279 hex)<br>&gt; =&gt; bootelf<br>
&gt; Loading .text @ 0x01000000 (15316 bytes)
<br>&gt; Loading .data @ 0x01004000 (700416 bytes)<br>&gt; Clearing .bss @ 0x010af000 (8500 bytes)<br>&gt; ## Starting application at 0x01000000 ...<br><br>And use the &quot;bootm&quot; command to boot the uImage.<br><br>

Best regards,<br>Stefan<br><br>=====================================================================<br>DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk<br>Office:&nbsp;&nbsp;Kirchenstr. 5,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D-82194 Groebenzell,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Germany
<br>=====================================================================<br></blockquote></div><br>
</span></div></blockquote></div><br>