[U-Boot-Users] Looking for Help booting Kernel

Nick Droogh ndroogh at cadlink.com
Wed Sep 26 16:16:03 CEST 2007


Hi,

I am trying to boot the latest kernel for a MPC5200B based board from 
DENX.  I built the latest UBoot which seems to run fine on my board.

With the new uboot, my same environment variables,  I can still boot my 
old kernel.

U-Boot 1.3.0-rc2-dirty (Sep 24 2007 - 08:08:49)

CPU:   MPC5200 v1.2, Core v1.1 at 462 MHz
       Bus 132 MHz, IPB 132 MHz, PCI 33 MHz
Board: MyBoard MPC5200 Controller
I2C:   343 kHz, ready
DRAM:  128 MB
FLASH: 64 MB
In:    serial
Out:   serial
Err:   serial
Net:   FEC ETHERNET
IDE:   Bus 0: not available

Type "run net_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot:  0
Using FEC ETHERNET device
TFTP from server 192.168.100.102; our IP address is 192.168.100.11
Filename 'uImage'.
Load address: 0x200000
Loading: #################################################################
         #############################################
done
Bytes transferred = 1612360 (189a48 hex)
## Booting image at 00200000 ...
   Image Name:   Linux-2.6.19.2
   Created:      2007-09-21   8:11:59 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1612296 Bytes =  1.5 MB
   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
Linux version 2.6.19.2 (nick at nick_lnx) (gcc version 4.0.0 (DENX ELDK 4.1 
4.0.0)) \
    #5 Fri Sep 21 04:11:50 EDT 2007
Zone PFN ranges:
  DMA             0 ->    32768
  Normal      32768 ->    32768
early_node_map[1] active PFN ranges
    0:        0 ->    32768
Built 1 zonelists.  Total pages: 32512
Kernel command line: root=/dev/nfs rw 
nfsroot=192.168.100.102:/opt/eldk/ppc_6xx \
    ip=192.168.100.11:192.168.100.102:192.168.100.102:255.255.255.0:\
    MyBoard:eth0:off console=ttyPSC0,115200 panic=1
PID hash table entries: 512 (order: 9, 2048 bytes)
I-pipe 1.5-00: pipeline enabled.
Console: colour dummy device 80x25


... and the kernel runs fine.  With the latest kernel from Denx,  I get 
the following:

U-Boot 1.3.0-rc2-dirty (Sep 24 2007 - 08:08:49)

CPU:   MPC5200 v1.2, Core v1.1 at 462 MHz
       Bus 132 MHz, IPB 132 MHz, PCI 33 MHz
Board: MyBoard  MPC5200 Controller
I2C:   343 kHz, ready
DRAM:  128 MB
FLASH: 64 MB
In:    serial
Out:   serial
Err:   serial
Net:   FEC ETHERNET
IDE:   Bus 0: not available

Type "run net_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot:  0
=> boot
Using FEC ETHERNET device
TFTP from server 192.168.100.102; our IP address is 192.168.100.11
Filename 'uImage'.
Load address: 0x200000
Loading: #################################################################
         ##################
done
Bytes transferred = 1212323 (127fa3 hex)
## Booting image at 00200000 ...
   Image Name:   Linux-2.6.23-rc6-gea60adb5-dirty
   Created:      2007-09-26   9:53:02 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1212259 Bytes =  1.2 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Is there anything special I need to pass to the kernel for setting up 
the console on the MPC5200B?  I had to change ttyS0 to ttyPSC0 for the 
old console to work.  Is there anything I need to enable inside the kernel?

The kernel command line is:

root=/dev/nfs rw nfsroot=192.168.100.102:/opt/eldk/ppc_6xx \
    ip=192.168.100.11:192.168.100.102:192.168.100.102:255.255.255.0:\
    MyBoard:eth0:off console=ttyPSC0,115200 panic=1

Many thanks,

Nick





More information about the U-Boot mailing list