<!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>Thanks John, the Kernel now boots well. However it gives a kernel panic while mounting the root file sysem over NFS:<BR>
<BR>
Looking up port of RPC 100003/2 on 10.190.3.103<BR>
RPC: sendmsg returned error 101<BR>
portmap: RPC call returned error 101<BR>
Root-NFS: Unable to get nfsd port number from server, using default<BR>
<BR>
I couldn't figure out why error 101 /* Network is unreachable */ is given. Below is my current U-boot settings and a snapshot of the booting:<BR>
<BR>
<BR>
=> printenv<BR>
baudrate=115200<BR>
autoload=no<BR>
ethact=FEC ETHERNET<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>
netmask=255.255.240.0<BR>
ipaddr=10.190.3.144<BR>
serverip=10.190.3.103<BR>
bootcmd=run net_nfs<BR>
netdev=eth0<BR>
rootpath=/opt/eldk-4-0/rootfs<BR>
ramargs=setenv bootargs root=/dev/ram rw<BR>
addip=setenv bootargs ip=10.190.3.144:10.190.3.103:10.190.3.103:255.255.240.0:icecube:eth0:off panic=1<BR>
ip=10.190.3.144:10.190.3.103:10.190.3.103:255.255.240.0:icecube:eth0:off<BR>
net_nfs=tftp 200000 MPC5200/uImage;run nfsargs;bootm<BR>
nfsroot=10.190.3.103:/opt/eldk-4-0/rootfs<BR>
rootfs=10.190.3.103:/opt/eldk-4-0/rootfs<BR>
nfsargs=setenv bootargs console=ttyS0,115200 nfsroot=10.190.3.103:/opt/eldk-4-0/nfs root=/dev/nfs rw<BR>
stdin=serial<BR>
stdout=serial<BR>
stderr=serial<BR>
<BR>
Environment size: 882/65532 bytes<BR>
=> boot<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: 0x200000<BR>
Loading: #################################################################<BR>
#################################################################<BR>
#################################################################<BR>
#################################################################<BR>
###################################<BR>
done<BR>
Bytes transferred = 1510143 (170aff hex)<BR>
## Booting image at 00200000 ...<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>
Linux version 2.6.11.7 (root@bob) (gcc version 3.3.2) #1 Tue Sep 6 22:40:03 UTC 2005<BR>
Real-Time Preemption Support (c) Ingo Molnar<BR>
Built 1 zonelists<BR>
Kernel command line: console=ttyS0,115200 nfsroot=10.190.3.103:/opt/eldk-4-0/nfs root=/dev/nfs rw<BR>
PID hash table entries: 2048 (order: 11, 32768 bytes)<BR>
Console: colour dummy device 80x25<BR>
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)<BR>
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)<BR>
Memory: 256268k available (2336k kernel code, 896k data, 140k init, 0k highmem)<BR>
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)<BR>
BUG: scheduling while atomic: swapper/0x00000001/0<BR>
caller is schedule+0x50/0xe8<BR>
Call trace:<BR>
[c0006bd8] dump_stack+0x18/0x28<BR>
[c0242818] __sched_text_start+0x69c/0x6a0<BR>
[c024286c] schedule+0x50/0xe8<BR>
[c0003f00] syscall_exit_work+0x108/0x10c<BR>
[c030c578] proc_root_init+0x144/0x150<BR>
[c0320000] 0xc0320000<BR>
[c02fe624] start_kernel+0x180/0x1b8<BR>
[000035fc] 0x35fc<BR>
spawn_desched_task(00000000)<BR>
desched cpu_callback 3/00000000<BR>
ksoftirqd started up.<BR>
softirq RT prio: 24.<BR>
desched cpu_callback 2/00000000<BR>
desched thread 0 started up.<BR>
NET: Registered protocol family 16<BR>
<BR>
PCI: Probing PCI hardware<BR>
SCSI subsystem initialized<BR>
usbcore: registered new driver usbfs<BR>
usbcore: registered new driver hub<BR>
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.<BR>
ppdev: user-space parallel port driver<BR>
Serial: MPC52xx PSC driver<BR>
ttyS0 at MMIO 0xf0002000 (irq = 39) is a MPC52xx PSC<BR>
io scheduler noop registered<BR>
io scheduler anticipatory registered<BR>
io scheduler deadline registered<BR>
io scheduler cfq registered<BR>
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize<BR>
loop: loaded (max 8 devices)<BR>
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2<BR>
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx<BR>
ipb=132MHz, set clock period to 7<BR>
GPIO config: 91051024<BR>
ATA invalid: 01000000<BR>
ATA hostcnf: 03000000<BR>
ATA pio1 : 100a0a00<BR>
ATA pio2 : 02040600<BR>
XLB Arb cnf: 0000a366<BR>
mpc52xx_ide: Setting up IDE interface ide0...<BR>
flash chip on the Lite5200/Lite5200B: Found 1 x16 devices at 0x0 in 8-bit bank<BR>
flash chip on the Lite5200/Lite5200B: Found 1 x16 devices at 0x1000000 in 8-bit bank<BR>
Amd/Fujitsu Extended Query Table at 0x0040<BR>
flash chip on the Lite5200/Lite5200B: CFI does not contain boot bank location. Assuming top.<BR>
number of CFI chips: 2<BR>
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.<BR>
Creating 7 MTD partitions on "flash chip on the Lite5200/Lite5200B":<BR>
0x00000000-0x01000000 : "Filesystem"<BR>
0x01000000-0x01040000 : "BootLOW"<BR>
0x01040000-0x01060000 : "EnvLOW"<BR>
0x01060000-0x01d00000 : "Spare"<BR>
0x01d00000-0x01f00000 : "Kernel"<BR>
0x01f00000-0x01f40000 : "BootHIGH"<BR>
0x01f40000-0x01f60000 : "EnvHIGH"<BR>
ocp-ohci 02: new USB bus registered, assigned bus number 1<BR>
hub 1-0:1.0: USB hub found<BR>
hub 1-0:1.0: 2 ports detected<BR>
Initializing USB Mass Storage driver...<BR>
usbcore: registered new driver usb-storage<BR>
USB Mass Storage support registered.<BR>
usbcore: registered new driver usbhid<BR>
drivers/usb/input/hid-core.c: v2.0:USB HID core driver<BR>
mice: PS/2 mouse device common for all mice<BR>
i2c /dev entries driver<BR>
i2c-algo-52xx.o: scanning bus Lite5200 I2C module #1 interface...<BR>
................................................................................................................................<BR>
i2c-lite5200.o: I2C module #1 installed<BR>
i2c-algo-52xx.o: scanning bus Lite5200 I2C module #2 interface...<BR>
................................................................................(0x50)..............................................(0x7f)<BR>
i2c-lite5200.o: I2C module #2 installed<BR>
Advanced Linux Sound Architecture Driver Version 1.0.8 (Thu Jan 13 09:39:32 2005 UTC).<BR>
ALSA device list:<BR>
No soundcards found.<BR>
NET: Registered protocol family 2<BR>
IP: routing cache hash table of 256 buckets, 16Kbytes<BR>
TCP established hash table entries: 16384 (order: 8, 1048576 bytes)<BR>
TCP bind hash table entries: 16384 (order: 7, 917504 bytes)<BR>
TCP: Hash tables configured (established 16384 bind 16384)<BR>
NET: Registered protocol family 1<BR>
NET: Registered protocol family 17<BR>
Looking up port of RPC 100003/2 on 10.190.3.103<BR>
RPC: sendmsg returned error 101<BR>
portmap: RPC call returned error 101<BR>
Root-NFS: Unable to get nfsd port number from server, using default<BR>
Looking up port of RPC 100005/1 on 10.190.3.103<BR>
RPC: sendmsg returned error 101<BR>
portmap: RPC call returned error 101<BR>
Root-NFS: Unable to get mountd port number from server, using default<BR>
RPC: sendmsg returned error 101<BR>
mount: RPC call returned error 101<BR>
Root-NFS: Server returned error -101 while mounting /opt/eldk-4-0/nfs<BR>
VFS: Unable to mount root fs via NFS, trying floppy.<BR>
VFS: Cannot open root device "nfs" or unknown-block(2,0)<BR>
Please append a correct "root=" boot option<BR>
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)<BR>
<0>Rebooting in 180 seconds.. <BR>
<BR>
<BR>
<BR>
regards,<BR>
Jianggan<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: John Rigby [<A HREF="mailto:jcrigby@gmail.com">mailto:jcrigby@gmail.com</A>]<BR>
Sent: Thu 3/2/2006 8:52<BR>
To: #LI JIANGGAN#<BR>
Cc: linuxppc-embedded@ozlabs.org<BR>
Subject: Re: boot failure on lite5200b board<BR>
<BR>
Here is a uboot setup that works with a freescale kernel:<BR>
bootdelay=5<BR>
baudrate=115200<BR>
preboot=echo;echo Type "run flash_nfs" to mount root filesystem over NFS;echo<BR>
autoload=no<BR>
ethact=FEC ETHERNET<BR>
ramargs=setenv bootargs root=/dev/ram rw<BR>
jffs2args=setenv bootargs root=/dev/mtdblock0 rw rootfstype=jffs2<BR>
addip=setenv bootargs $(bootargs)<BR>
ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off<BR>
panic=1<BR>
flash_nfs=run nfsargs addip;bootm $(kernel_addr)<BR>
flash_self=run ramargs addip;bootm $(kernel_addr) $(ramdisk_addr)<BR>
flash_jffs2=run jffs2args;bootm $(kernel_addr)<BR>
net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm<BR>
netdev=eth0<BR>
ethaddr=00:04:9f:22:33:44<BR>
bootfile=/tftpboot/uImage<BR>
kernel_addr=ffd00000<BR>
rootpath=/tftpboot/ltib<BR>
filesize=c9d700<BR>
fileaddr=1000000<BR>
gatewayip=172.27.255.254<BR>
netmask=255.255.0.0<BR>
ipaddr=172.27.152.99<BR>
serverip=172.27.152.5<BR>
bootcmd=run net_nfs<BR>
nfsargs=setenv bootargs console=ttyS0,115200 root=/dev/nfs rw<BR>
nfsroot=$(serverip):$(rootpath)<BR>
stdin=serial<BR>
stdout=serial<BR>
stderr=serial<BR>
<BR>
Change ip info, bootfile, rootpath etc to fit you config.<BR>
If you want it to work with Sylvain's kernel then you need to change<BR>
ttyS0 to ttyPSC0.<BR>
<BR>
Also add a printenv just before the bootm so you can verify that your<BR>
bootargs really are getting set correctly.<BR>
<BR>
On 3/1/06, #LI JIANGGAN# <lijianggan@pmail.ntu.edu.sg> wrote:<BR>
><BR>
><BR>
> how about the following U-boot settings:<BR>
><BR>
> ..............................<BR>
><BR>
><BR>
> Hit any key to stop autoboot: 0<BR>
> => printenv<BR>
> baudrate=115200<BR>
> autoload=no<BR>
> ethact=FEC ETHERNET<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>
> netmask=255.255.240.0<BR>
> ipaddr=10.190.3.144<BR>
> serverip=10.190.3.103<BR>
> bootcmd=run net_nfs<BR>
><BR>
> rootfs=root=/dev/nfs rw<BR>
> netdev=eth0<BR>
> rootpath=/opt/eldk-4-0/rootfs<BR>
> nfsargs=setenv bootargs root=/dev/nfs rw<BR>
> nfsroot=10.190.3.103:/opt/eldk-4-0/rootfs<BR>
><BR>
> ramargs=setenv bootargs root=/dev/ram rw<BR>
> addip=setenv bootargs<BR>
> ip=10.190.3.144:10.190.3.103:10.190.3.103:255.255.240.0:icecube:eth0:off<BR>
> panic=1<BR>
> net_nfs=tftp 200000 MPC5200/uImage;run nfsargs addip;bootm<BR>
><BR>
> stdin=serial<BR>
> stdout=serial<BR>
> stderr=serial<BR>
><BR>
> Environment size: 738/65532 bytes<BR>
> => .<BR>
> ................................<BR>
><BR>
><BR>
><BR>
> The output is still the same, it hangs after displaying arch:exit<BR>
><BR>
> I have also tried the above settings with console set, it gives the same<BR>
> output<BR>
><BR>
> I am really wondering whether the problem is with the kernel. Sylvain's<BR>
> kernel uImage is only around 600k while the one from freescale is 1.4M,<BR>
> anybody knows where the difference is?<BR>
><BR>
> .....................................<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: 0x200000<BR>
><BR>
> Loading:<BR>
> #################################################################<BR>
><BR>
> #################################################################<BR>
><BR>
> #################################################################<BR>
><BR>
> #################################################################<BR>
> ###################################<BR>
> done<BR>
> Bytes transferred = 1510143 (170aff hex)<BR>
> ## Booting image at 00200000 ...<BR>
><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>
><BR>
><BR>
> .....................<BR>
><BR>
> Regards,<BR>
><BR>
> Jianggan LI<BR>
><BR>
> ________________________________<BR>
><BR>
> From: John Rigby [<A HREF="mailto:jcrigby@gmail.com">mailto:jcrigby@gmail.com</A>]<BR>
> Sent: Sat 2/25/2006 1:17<BR>
> To: #LI JIANGGAN#<BR>
> Cc: tnt@246tnt.com; linuxppc-embedded@ozlabs.org<BR>
><BR>
> Subject: Re: boot failure on lite5200b board<BR>
><BR>
><BR>
><BR>
><BR>
> I don't think your syntax for appending to an env variable is correct:<BR>
><BR>
> try:<BR>
> set bootargs $(bootargs) ...appended stuff...<BR>
> instead of:<BR>
> set bootargs env bootargs ...appended stuff....<BR>
><BR>
> Also to see what bootargs is actually set to after all the nested<BR>
> commands, add a printenv just before the bootm<BR>
><BR>
> On 2/23/06, #LI JIANGGAN# <lijianggan@pmail.ntu.edu.sg> wrote:<BR>
> ><BR>
> ><BR>
> > I have actually tried both kernel with both console configurations. It<BR>
> gave<BR>
> > the same output, thus I presume that the problem lies somewhere else. I<BR>
> > 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<BR>
> > delivery, the leaking time is said to be one month, tant pis. And the log<BR>
> I<BR>
> > 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<BR>
> 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<BR>
> nfsroot=10.190.3.103:/opt/eldk-4-0/rootfs<BR>
> > bootargs=env bootargs root=/dev/nfs rw<BR>
> > nfsroot=10.190.3.103:/opt/eldk-4-0/rootfs<BR>
> > 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<BR>
> > nfsroot=10.190.3.103:/opt/eldk-4-0/rootfs<BR>
> ><BR>
> ip=10.190.3.144:10.190.3.103:10.190.3.103:255.255.240.0:icecube::offroot=/dev/nfs<BR>
> > rw<BR>
> > addip=setenv bootargs env bootargs root=/dev/nfs rw<BR>
> > nfsroot=10.190.3.103:/opt/eldk-4-0/rootfs<BR>
> > 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>
> ><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>
> #################################################################<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>
> ><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<BR>
> you<BR>
> > 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>
><BR>
> > > remains. I've tried setting the console (though I remember that our<BR>
> > previous<BR>
> > > lite5200 board was working fine on kernel 2.4 without setting the<BR>
> > console);<BR>
> > > meantime, I've set the booting image to 0x500000; I have also tried<BR>
> using<BR>
> > > the kernel image come together with the BSP, it's always the same<BR>
> 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<BR>
> > 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>
> > ><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<BR>
> > 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<BR>
> > boot<BR>
> > > > Linux 2.6.15 on the board (with the fec and bestcomm corrected).<BR>
> > 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<BR>
> 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<BR>
> 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<BR>
> 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>
> ><BR>
> ><BR>
> ><BR>
><BR>
><BR>
><BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>