boot failure on lite5200b board

TXEMA LOPEZ tlopez at aotek.es
Wed Feb 22 18:53:48 EST 2006


Hi Li,
I'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.
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.
 
Good luck,
Jose Maria Lopez.
 
-----Mensaje original-----
De: linuxppc-embedded-bounces+tlopez=fagorautomation.es at ozlabs.org [mailto:linuxppc-embedded-bounces+tlopez=fagorautomation.es at ozlabs.org]En nombre de #LI JIANGGAN#
Enviado el: miércoles, 22 de febrero de 2006 5:05
Para: linuxppc-embedded at ozlabs.org
Asunto: boot failure on lite5200b board
 
Hello all,

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:
U-Boot 1.1.3 (Feb  6 2006 - 09:56:46)

## Booting image at 00100000 ...
   Image Name:   Linux-2.6.16-rc1
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    658050 Bytes = 642.6 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
id mach(): done
MMU:enter
MMU:hw init
MMU:mapin
MMU:setio
MMU:exit
setup_arch: enter
setup_arch: bootmem
arch: exit

I think it's probably the problem of kernel configuration prior to compilation. Has anybody got 2.6 kernel working probably lite5200b?

THE U-BOOT ENVIRONMENT SETTINGS:

=> printenv
baudrate=115200
autoload=no
ethact=FEC ETHERNET
preboot=echo;echo Autostarting. Press any key to abort..;echo
bootdelay=5
hostname=icecube
flshroot=root=/dev/mtdblock2 rw
ethaddr=00:01:9F:00:27:2F
rootfs=root=/dev/nfs rw nfsroot=10.190.3.103:/opt/eldk/rootfs
filesize=f2
fileaddr=100000
netmask=255.255.240.0
serverip=10.190.3.103
bootcmd=tftp; bootm
bootfile=MPC5200/uImage
ipaddr=10.190.3.144
ip=ip=10.190.3.144:10.190.3.103:10.190.3.103:255.255.240.0:icecube::off
nfsroot=root=/dev/nfs rw nfsroot=10.190.3.103:/opt/eldk/rootfs
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
stdin=serial
stdout=serial
stderr=serial

Environment size: 704/65532 bytes
=>              

THE WHLOE BOOTING MESSAGE:

U-Boot 1.1.3 (Feb  6 2006 - 09:56:46)

CPU:   MPC5200 v2.2 at 462 MHz
       Bus 132 MHz, IPB 132 MHz, PCI 33 MHz
Board: Freescale MPC5200 (Lite5200B)
I2C:   85 kHz, ready
DRAM:  256 MB
FLASH: 32 MB
PCI:   Bus Dev VenId DevId Class Int
        00  1a  1057  5809  0680  00
In:    serial
Out:   serial
Err:   serial
Net:   FEC ETHERNET
IDE:   Bus 0: OK
  Device 0: not available
  Device 1: not available

Autostarting. Press any key to abort..

Hit any key to stop autoboot:  0
Using FEC ETHERNET device
TFTP from server 10.190.3.103; our IP address is 10.190.3.144
Filename 'MPC5200/uImage'.
Load address: 0x100000
Loading: #################################################################
         ################################################################
done
Bytes transferred = 658114 (a0ac2 hex)
## Booting image at 00100000 ...
   Image Name:   Linux-2.6.16-rc1
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    658050 Bytes = 642.6 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
id mach(): done
MMU:enter
MMU:hw init
MMU:mapin
MMU:setio
MMU:exit
setup_arch: enter
setup_arch: bootmem
arch: exit

Thanks.

Jianggan LI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060222/fde85534/attachment.htm 


More information about the Linuxppc-embedded mailing list