<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="cid:filelist.xml@01C6378D.7ECC6A40">
<title>boot failure on lite5200b board</title>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:Zoom>0</w:Zoom>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:ForgetLastTabAlignment/>
   <w:DoNotUseHTMLParagraphAutoSpacing/>
  </w:Compatibility>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
p
        {margin-right:0cm;
        mso-margin-top-alt:auto;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.EstiloCorreo16
        {mso-style-type:personal-reply;
        mso-ansi-font-size:10.0pt;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
</head>

<body lang=ES style='tab-interval:35.4pt'>
<!-- Converted from text/plain format -->

<div class=Section1>

<p class=MsoNormal><span class=EstiloCorreo16><font size=2 color=navy
face=Arial><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-GB'>Hi Li,<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EstiloCorreo16><font size=2 color=navy
face=Arial><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-GB'>I&#8217;m working on a lite5200b too but with
a 2.4.25 kernel. Anyway, I found some problems to launch the 2.4.25 kernel from
the U-Boot version that comes with the board from Freescale. I fixed some bugs
in this U-Boot version and sent a patch for the U-Boot 1.1.4 version to the U-Boot
users mailing list. The patch is not yet accepted and added to the git
repository but I suggest that you apply this patch and try it again.</span></font></span><span
class=EstiloCorreo16><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial;color:navy;
mso-color-alt:windowtext;mso-ansi-language:EN-GB'><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EstiloCorreo16><font size=2 color=navy
face=Arial><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-GB'>Another suggestion is not to use a
low address to copy the kernel image (in your case 0x100000, try 0x500000 by
example). The kernel is decompressed at the 0 address and your kernel could be
overlapped.</span></font></span><span class=EstiloCorreo16><font size=2
color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial;color:navy;mso-color-alt:windowtext;mso-ansi-language:
EN-GB'><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EstiloCorreo16><font size=2 color=navy
face=Arial><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-GB'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EstiloCorreo16><font size=2 color=navy
face=Arial><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-GB'>Good luck,<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EstiloCorreo16><font size=2 color=navy
face=Arial><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-GB'>Jose Maria Lopez.<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EstiloCorreo16><font size=2 color=navy
face=Arial><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-GB'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:black'>-----Mensaje original-----<br>
<b><span style='font-weight:bold'>De:</span></b>
linuxppc-embedded-bounces+tlopez=fagorautomation.es@ozlabs.org
[mailto:linuxppc-embedded-bounces+tlopez=fagorautomation.es@ozlabs.org]<b><span
style='font-weight:bold'>En nombre de </span></b>#LI JIANGGAN#<br>
<b><span style='font-weight:bold'>Enviado el:</span></b> miércoles, 22 de
febrero de 2006 5:05<br>
<b><span style='font-weight:bold'>Para:</span></b> linuxppc-embedded@ozlabs.org<br>
<b><span style='font-weight:bold'>Asunto:</span></b> boot failure on lite5200b
board</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=2 color=black face="Times New Roman"><span
lang=EN-GB style='font-size:10.0pt;color:black;mso-ansi-language:EN-GB'>Hello
all,<br>
<br>
For my end-of-study project, I am working on an embedded system with reference
of freescale's lite5200b reference board. I was trying to boot Linux 2.6.15 on
the board (with the fec and bestcomm corrected). however the booting was stuck
at the following stage:<br>
U-Boot 1.1.3 (Feb&nbsp; 6 2006 - 09:56:46)<br>
<br>
## Booting image at 00100000 ...<br>
&nbsp;&nbsp; Image Name:&nbsp;&nbsp; Linux-2.6.16-rc1<br>
&nbsp;&nbsp; Image Type:&nbsp;&nbsp; PowerPC Linux Kernel Image (gzip
compressed)<br>
&nbsp;&nbsp; Data Size:&nbsp;&nbsp;&nbsp; 658050 Bytes = 642.6 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>
id mach(): done<br>
MMU:enter<br>
MMU:hw init<br>
MMU:mapin<br>
MMU:setio<br>
MMU:exit<br>
setup_arch: enter<br>
setup_arch: bootmem<br>
arch: exit<br>
<br>
I think it's probably the problem of kernel configuration prior to compilation.
Has anybody got 2.6 kernel working probably lite5200b?<br>
<br>
THE U-BOOT ENVIRONMENT SETTINGS:<br>
<br>
=&gt; printenv<br>
baudrate=115200<br>
autoload=no<br>
ethact=FEC ETHERNET<br>
preboot=echo;echo Autostarting. Press any key to abort..;echo<br>
bootdelay=5<br>
hostname=icecube<br>
flshroot=root=/dev/mtdblock2 rw<br>
ethaddr=00:01:9F:00:27:2F<br>
rootfs=root=/dev/nfs rw nfsroot=10.190.3.103:/opt/eldk/rootfs<br>
filesize=f2<br>
fileaddr=100000<br>
netmask=255.255.240.0<br>
serverip=10.190.3.103<br>
bootcmd=tftp; bootm<br>
bootfile=MPC5200/uImage<br>
ipaddr=10.190.3.144<br>
ip=ip=10.190.3.144:10.190.3.103:10.190.3.103:255.255.240.0:icecube::off<br>
nfsroot=root=/dev/nfs rw nfsroot=10.190.3.103:/opt/eldk/rootfs<br>
bootargs=root=/dev/nfs rw nfsroot=10.190.3.103:/opt/eldk/rootfs
ip=10.190.3.144:10.190.3.103:10.190.3.103:255.255.240.0:icecube::off<br>
stdin=serial<br>
stdout=serial<br>
stderr=serial<br>
<br>
Environment size: 704/65532 bytes<br>
=&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
<br>
THE WHLOE BOOTING MESSAGE:<br>
<br>
U-Boot 1.1.3 (Feb&nbsp; 6 2006 - 09:56:46)<br>
<br>
CPU:&nbsp;&nbsp; MPC5200 v2.2 at 462 MHz<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bus 132 MHz, IPB 132 MHz, PCI 33 MHz<br>
Board: Freescale MPC5200 (Lite5200B)<br>
I2C:&nbsp;&nbsp; 85 kHz, ready<br>
DRAM:&nbsp; 256 MB<br>
FLASH: 32 MB<br>
PCI:&nbsp;&nbsp; Bus Dev VenId DevId Class Int<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00&nbsp; 1a&nbsp; 1057&nbsp;
5809&nbsp; 0680&nbsp; 00<br>
In:&nbsp;&nbsp;&nbsp; serial<br>
Out:&nbsp;&nbsp; serial<br>
Err:&nbsp;&nbsp; serial<br>
Net:&nbsp;&nbsp; FEC ETHERNET<br>
IDE:&nbsp;&nbsp; Bus 0: OK<br>
&nbsp; Device 0: not available<br>
&nbsp; Device 1: not available<br>
<br>
Autostarting. Press any key to abort..<br>
<br>
Hit any key to stop autoboot:&nbsp; 0<br>
Using FEC ETHERNET device<br>
TFTP from server 10.190.3.103; our IP address is 10.190.3.144<br>
Filename 'MPC5200/uImage'.<br>
Load address: 0x100000<br>
Loading: #################################################################<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
################################################################<br>
done<br>
Bytes transferred = 658114 (a0ac2 hex)<br>
## Booting image at 00100000 ...<br>
&nbsp;&nbsp; Image Name:&nbsp;&nbsp; Linux-2.6.16-rc1<br>
&nbsp;&nbsp; Image Type:&nbsp;&nbsp; PowerPC Linux Kernel Image (gzip
compressed)<br>
&nbsp;&nbsp; Data Size:&nbsp;&nbsp;&nbsp; 658050 Bytes = 642.6 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>
id mach(): done<br>
MMU:enter<br>
MMU:hw init<br>
MMU:mapin<br>
MMU:setio<br>
MMU:exit<br>
setup_arch: enter<br>
setup_arch: bootmem<br>
arch: exit<br>
<br>
Thanks.<br>
<br>
</span></font><font size=2 color=black><span style='font-size:10.0pt;
color:black'>Jianggan LI</span></font><font color=black><span style='color:
black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

</div>

</body>

</html>