<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: boot failure on lite5200b board</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>I have actually tried both kernel with both console configurations. It gave the same output, thus I presume that the problem lies somewhere else. I attached the log to this email.<BR>
<BR>
the board is Lite5200B Version 1.0. Which .config file do you want?<BR>
<BR>
Sylvain, we have ordered a debugging set but we are still waiting for delivery, the leaking time is said to be one month, tant pis. And the log I attached here are booting from a higher address (0x500000).<BR>
<BR>
My current u-boot args:<BR>
Autostarting. Press any key to abort..<BR>
<BR>
Hit any key to stop autoboot:&nbsp; 0<BR>
=&gt; printenv<BR>
baudrate=115200<BR>
autoload=no<BR>
ethact=FEC ETHERNET<BR>
flshroot=root=/dev/mtdblock2 rw<BR>
ethaddr=00:01:9F:00:27:2F<BR>
preboot=echo; echo Autostarting. Press any key to abort..; echo<BR>
bootdelay=5<BR>
hostname=icecube<BR>
bootfile=MPC5200/uImage<BR>
nv=nfsroot root=/dev/nfs rw nfsroot=10.190.3.113:/opt/eldk/rootfs<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-4-0/rootfs<BR>
bootcmd=run net_nfs<BR>
filesize=546<BR>
fileaddr=500000<BR>
netmask=255.255.240.0<BR>
ipaddr=10.190.3.144<BR>
serverip=10.190.3.103<BR>
setconsole=setenv bootargs console=ttyPSC0, 115200n8 console=tty1<BR>
rootfs=root=/dev/nfs rw nfsroot=10.190.3.103:/opt/eldk-4-0/rootfs<BR>
bootargs=env bootargs root=/dev/nfs rw nfsroot=10.190.3.103:/opt/eldk-4-0/rootfs ip=10.190.3.144:10.190.3.103:10.190.3.103:255.255.240.0:icecube::off<BR>
flash_nfs=run setconsole nfsargs addip;bootm<BR>
net_nfs=tftp 500000 MPC5200/uImage;run setconsole nfsargs addip;bootm<BR>
nfsargs=setenv bootargs env bootargs root=/dev/nfs rw nfsroot=10.190.3.103:/opt/eldk-4-0/rootfs ip=10.190.3.144:10.190.3.103:10.190.3.103:255.255.240.0:icecube::offroot=/dev/nfs rw<BR>
addip=setenv bootargs env bootargs root=/dev/nfs rw nfsroot=10.190.3.103:/opt/eldk-4-0/rootfs ip=10.190.3.144:10.190.3.103:10.190.3.103:255.255.240.0:icecube::off<BR>
ramargs=setenv bootargs root=/dev/ram rw<BR>
console=console=ttyS0,115200n8 console=tty1<BR>
stdin=serial<BR>
stdout=serial<BR>
stderr=serial<BR>
<BR>
Environment size: 1472/65532 bytes<BR>
=&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
<BR>
<BR>
<BR>
USING Sylvain's KERNEL:<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: 0x500000<BR>
Loading: #################################################################<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ################################################################<BR>
done<BR>
Bytes transferred = 658114 (a0ac2 hex)<BR>
## Booting image at 00500000 ...<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>
<BR>
<BR>
USING KERNEL FROM Freescale:<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: 0x500000<BR>
Loading: #################################################################<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #################################################################<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #################################################################<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #################################################################<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ###################################<BR>
done<BR>
Bytes transferred = 1510143 (170aff hex)<BR>
## Booting image at 00500000 ...<BR>
&nbsp;&nbsp; Image Name:&nbsp;&nbsp; Linux-2.6.11.7<BR>
&nbsp;&nbsp; Image Type:&nbsp;&nbsp; PowerPC Linux Kernel Image (gzip compressed)<BR>
&nbsp;&nbsp; Data Size:&nbsp;&nbsp;&nbsp; 1510079 Bytes =&nbsp; 1.4 MB<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>
ocp: exit<BR>
arch: exit<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: John Rigby [<A HREF="mailto:jcrigby@gmail.com">mailto:jcrigby@gmail.com</A>]<BR>
Sent: Fri 2/24/2006 0:18<BR>
To: #LI JIANGGAN#<BR>
Subject: Re: boot failure on lite5200b board<BR>
<BR>
If you are using Sylvain's kernel you need to set console=ttyPSC0.&nbsp; If you are<BR>
using a kernel from Freescale then you need to set console=ttyS0.<BR>
<BR>
Also what rev of the board do you have?<BR>
<BR>
<BR>
<BR>
On 2/23/06, #LI JIANGGAN# &lt;lijianggan@pmail.ntu.edu.sg&gt; wrote:<BR>
&gt;<BR>
&gt;<BR>
&gt; Thank you José María and Andrey for your advices, however the problem<BR>
&gt; remains. I've tried setting the console (though I remember that our previous<BR>
&gt; lite5200 board was working fine on kernel 2.4 without setting the console);<BR>
&gt; meantime, I've set the booting image to 0x500000; I have also tried using<BR>
&gt; the kernel image come together with the BSP, it's always the same error.<BR>
&gt;<BR>
&gt;&nbsp; Sylvain, I've actually using your kernel source, the compiled image is<BR>
&gt; around 700k (compared to the 1.4M image from the BSP), but it doesn't solve<BR>
&gt; the problem. So I presume that the problem is lying somewhere else.<BR>
&gt;<BR>
&gt;&nbsp; A SNAPSHOT OF THE BOOTING MESSAGES:<BR>
&gt;<BR>
&gt;<BR>
&gt;&nbsp; U-Boot 1.1.3 (Feb&nbsp; 6 2006 - 09:56:46)<BR>
&gt;<BR>
&gt;&nbsp; CPU:&nbsp;&nbsp; MPC5200 v2.2 at 462 MHz<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bus 132 MHz, IPB 132 MHz, PCI 33 MHz<BR>
&gt;&nbsp; Board: Freescale MPC5200 (Lite5200B)<BR>
&gt;&nbsp; I2C:&nbsp;&nbsp; 85 kHz, ready<BR>
&gt;&nbsp; DRAM:&nbsp; 256 MB<BR>
&gt;&nbsp; FLASH: 32 MB<BR>
&gt;&nbsp; PCI:&nbsp;&nbsp; Bus Dev VenId DevId Class Int<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00&nbsp; 1a&nbsp; 1057&nbsp; 5809&nbsp; 0680&nbsp; 00<BR>
&gt;&nbsp; In:&nbsp;&nbsp;&nbsp; serial<BR>
&gt;&nbsp; Out:&nbsp;&nbsp; serial<BR>
&gt;&nbsp; Err:&nbsp;&nbsp; serial<BR>
&gt;&nbsp; Net:&nbsp;&nbsp; FEC ETHERNET<BR>
&gt;&nbsp; IDE:&nbsp;&nbsp; Bus 0: OK<BR>
&gt;&nbsp;&nbsp;&nbsp; Device 0: not available<BR>
&gt;&nbsp;&nbsp;&nbsp; Device 1: not available<BR>
&gt;<BR>
&gt;&nbsp; Autostarting. Press any key to abort..<BR>
&gt;<BR>
&gt;&nbsp; Hit any key to stop autoboot:&nbsp; 0<BR>
&gt;&nbsp; Using FEC ETHERNET device<BR>
&gt;&nbsp; TFTP from server 10.190.3.103; our IP address is 10.190.3.144<BR>
&gt;&nbsp; Filename 'MPC5200/uImage'.<BR>
&gt;&nbsp; Load address: 0x100000<BR>
&gt;&nbsp; Loading:<BR>
&gt; #################################################################<BR>
&gt;<BR>
&gt; ################################################################<BR>
&gt;&nbsp; done<BR>
&gt;&nbsp; Bytes transferred = 658114 (a0ac2 hex)<BR>
&gt;&nbsp; ## Booting image at 00100000 ...<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Image Name:&nbsp;&nbsp; Linux-2.6.16-rc1<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Image Type:&nbsp;&nbsp; PowerPC Linux Kernel Image (gzip compressed)<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Data Size:&nbsp;&nbsp;&nbsp; 658050 Bytes = 642.6 kB<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Load Address: 00000000<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Entry Point:&nbsp; 00000000<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Verifying Checksum ... OK<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Uncompressing Kernel Image ... OK<BR>
&gt;&nbsp; id mach(): done<BR>
&gt;&nbsp; MMU:enter<BR>
&gt;&nbsp; MMU:hw init<BR>
&gt;&nbsp; MMU:mapin<BR>
&gt;&nbsp; MMU:setio<BR>
&gt;&nbsp; MMU:exit<BR>
&gt;&nbsp; setup_arch: enter<BR>
&gt;&nbsp; setup_arch: bootmem<BR>
&gt;&nbsp; arch: exit<BR>
&gt;<BR>
&gt;<BR>
&gt;&nbsp; I am wondering whether it's a kernel problem or more likely to be a problem<BR>
&gt; lying with the U-boot. It seems to hang when executing setup_arch()<BR>
&gt; function, or maybe there is sth else behind the wall?<BR>
&gt;<BR>
&gt;&nbsp; Regards,<BR>
&gt;&nbsp; Jianggan LI<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;&nbsp; -----Original Message-----<BR>
&gt;&nbsp; From: Sylvain Munaut [<A HREF="mailto:tnt@246tNt.com">mailto:tnt@246tNt.com</A>]<BR>
&gt;&nbsp; Sent: Thu 2/23/2006 15:38<BR>
&gt;&nbsp; To: #LI JIANGGAN#<BR>
&gt;&nbsp; Cc: linuxppc-embedded@ozlabs.org<BR>
&gt;&nbsp; Subject: Re: boot failure on lite5200b board<BR>
&gt;<BR>
&gt;&nbsp; #LI JIANGGAN# wrote:<BR>
&gt;&nbsp; &gt; Hello all,<BR>
&gt;&nbsp; &gt;<BR>
&gt;&nbsp; &gt; For my end-of-study project, I am working on an embedded system with<BR>
&gt;&nbsp; &gt; reference of freescale's lite5200b reference board. I was trying to boot<BR>
&gt;&nbsp; &gt; Linux 2.6.15 on the board (with the fec and bestcomm corrected). however<BR>
&gt;&nbsp; &gt; the booting was stuck at the following stage:<BR>
&gt;<BR>
&gt;&nbsp; In addition to what has already been said (use a higher address for the<BR>
&gt;&nbsp; image and don't forget console=ttyPSC0 in kernel command line), make<BR>
&gt;&nbsp; sure you use the kernel from my git tree, it contains a few patches from<BR>
&gt;&nbsp; John Rigby to add support for the lite5200b.<BR>
&gt;<BR>
&gt;&nbsp; Please report if it works, I've not been able to test those myself since<BR>
&gt;&nbsp; i'm still on lite5200.<BR>
&gt;<BR>
&gt;<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sylvain<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt; _______________________________________________<BR>
&gt; Linuxppc-embedded mailing list<BR>
&gt; Linuxppc-embedded@ozlabs.org<BR>
&gt; <A HREF="https://ozlabs.org/mailman/listinfo/linuxppc-embedded">https://ozlabs.org/mailman/listinfo/linuxppc-embedded</A><BR>
&gt;<BR>
&gt;<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>