<!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: 0<BR>
=> 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>
=> <BR>
<BR>
<BR>
<BR>
<BR>
USING Sylvain's KERNEL:<BR>
<BR>
U-Boot 1.1.3 (Feb 6 2006 - 09:56:46)<BR>
<BR>
CPU: MPC5200 v2.2 at 462 MHz<BR>
Bus 132 MHz, IPB 132 MHz, PCI 33 MHz<BR>
Board: Freescale MPC5200 (Lite5200B)<BR>
I2C: 85 kHz, ready<BR>
DRAM: 256 MB<BR>
FLASH: 32 MB<BR>
PCI: Bus Dev VenId DevId Class Int<BR>
00 1a 1057 5809 0680 00<BR>
In: serial<BR>
Out: serial<BR>
Err: serial<BR>
Net: FEC ETHERNET<BR>
IDE: Bus 0: OK<BR>
Device 0: not available<BR>
Device 1: not available<BR>
<BR>
Autostarting. Press any key to abort..<BR>
<BR>
Hit any key to stop autoboot: 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>
################################################################<BR>
done<BR>
Bytes transferred = 658114 (a0ac2 hex)<BR>
## Booting image at 00500000 ...<BR>
Image Name: Linux-2.6.16-rc1<BR>
Image Type: PowerPC Linux Kernel Image (gzip compressed)<BR>
Data Size: 658050 Bytes = 642.6 kB<BR>
Load Address: 00000000<BR>
Entry Point: 00000000<BR>
Verifying Checksum ... OK<BR>
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 6 2006 - 09:56:46)<BR>
<BR>
CPU: MPC5200 v2.2 at 462 MHz<BR>
Bus 132 MHz, IPB 132 MHz, PCI 33 MHz<BR>
Board: Freescale MPC5200 (Lite5200B)<BR>
I2C: 85 kHz, ready<BR>
DRAM: 256 MB<BR>
FLASH: 32 MB<BR>
PCI: Bus Dev VenId DevId Class Int<BR>
00 1a 1057 5809 0680 00<BR>
In: serial<BR>
Out: serial<BR>
Err: serial<BR>
Net: FEC ETHERNET<BR>
IDE: Bus 0: OK<BR>
Device 0: not available<BR>
Device 1: not available<BR>
<BR>
Autostarting. Press any key to abort..<BR>
<BR>
Hit any key to stop autoboot: 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>
#################################################################<BR>
#################################################################<BR>
#################################################################<BR>
###################################<BR>
done<BR>
Bytes transferred = 1510143 (170aff hex)<BR>
## Booting image at 00500000 ...<BR>
Image Name: Linux-2.6.11.7<BR>
Image Type: PowerPC Linux Kernel Image (gzip compressed)<BR>
Data Size: 1510079 Bytes = 1.4 MB<BR>
Load Address: 00000000<BR>
Entry Point: 00000000<BR>
Verifying Checksum ... OK<BR>
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. 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# <lijianggan@pmail.ntu.edu.sg> wrote:<BR>
><BR>
><BR>
> Thank you José María and Andrey for your advices, however the problem<BR>
> remains. I've tried setting the console (though I remember that our previous<BR>
> lite5200 board was working fine on kernel 2.4 without setting the console);<BR>
> meantime, I've set the booting image to 0x500000; I have also tried using<BR>
> the kernel image come together with the BSP, it's always the same error.<BR>
><BR>
> Sylvain, I've actually using your kernel source, the compiled image is<BR>
> around 700k (compared to the 1.4M image from the BSP), but it doesn't solve<BR>
> the problem. So I presume that the problem is lying somewhere else.<BR>
><BR>
> A SNAPSHOT OF THE BOOTING MESSAGES:<BR>
><BR>
><BR>
> U-Boot 1.1.3 (Feb 6 2006 - 09:56:46)<BR>
><BR>
> CPU: MPC5200 v2.2 at 462 MHz<BR>
> Bus 132 MHz, IPB 132 MHz, PCI 33 MHz<BR>
> Board: Freescale MPC5200 (Lite5200B)<BR>
> I2C: 85 kHz, ready<BR>
> DRAM: 256 MB<BR>
> FLASH: 32 MB<BR>
> PCI: Bus Dev VenId DevId Class Int<BR>
> 00 1a 1057 5809 0680 00<BR>
> In: serial<BR>
> Out: serial<BR>
> Err: serial<BR>
> Net: FEC ETHERNET<BR>
> IDE: Bus 0: OK<BR>
> Device 0: not available<BR>
> Device 1: not available<BR>
><BR>
> Autostarting. Press any key to abort..<BR>
><BR>
> Hit any key to stop autoboot: 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>
> #################################################################<BR>
><BR>
> ################################################################<BR>
> done<BR>
> Bytes transferred = 658114 (a0ac2 hex)<BR>
> ## Booting image at 00100000 ...<BR>
> Image Name: Linux-2.6.16-rc1<BR>
> Image Type: PowerPC Linux Kernel Image (gzip compressed)<BR>
> Data Size: 658050 Bytes = 642.6 kB<BR>
> Load Address: 00000000<BR>
> Entry Point: 00000000<BR>
> Verifying Checksum ... OK<BR>
> 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>
> I am wondering whether it's a kernel problem or more likely to be a problem<BR>
> lying with the U-boot. It seems to hang when executing setup_arch()<BR>
> function, or maybe there is sth else behind the wall?<BR>
><BR>
> Regards,<BR>
> Jianggan LI<BR>
><BR>
><BR>
><BR>
><BR>
> -----Original Message-----<BR>
> From: Sylvain Munaut [<A HREF="mailto:tnt@246tNt.com">mailto:tnt@246tNt.com</A>]<BR>
> Sent: Thu 2/23/2006 15:38<BR>
> To: #LI JIANGGAN#<BR>
> Cc: linuxppc-embedded@ozlabs.org<BR>
> Subject: Re: boot failure on lite5200b board<BR>
><BR>
> #LI JIANGGAN# wrote:<BR>
> > Hello all,<BR>
> ><BR>
> > For my end-of-study project, I am working on an embedded system with<BR>
> > reference of freescale's lite5200b reference board. I was trying to boot<BR>
> > Linux 2.6.15 on the board (with the fec and bestcomm corrected). however<BR>
> > the booting was stuck at the following stage:<BR>
><BR>
> In addition to what has already been said (use a higher address for the<BR>
> image and don't forget console=ttyPSC0 in kernel command line), make<BR>
> sure you use the kernel from my git tree, it contains a few patches from<BR>
> John Rigby to add support for the lite5200b.<BR>
><BR>
> Please report if it works, I've not been able to test those myself since<BR>
> i'm still on lite5200.<BR>
><BR>
><BR>
> Sylvain<BR>
><BR>
><BR>
><BR>
><BR>
><BR>
><BR>
> _______________________________________________<BR>
> Linuxppc-embedded mailing list<BR>
> Linuxppc-embedded@ozlabs.org<BR>
> <A HREF="https://ozlabs.org/mailman/listinfo/linuxppc-embedded">https://ozlabs.org/mailman/listinfo/linuxppc-embedded</A><BR>
><BR>
><BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>