Hi All,
I am having a strange serial console issue while booting Linux 2.6.38 and
Linux 2.6.34.8

We are using customized board based on MPC8250 , Console on  SCC 1 and root
file system on ramdisk.
We are using U-boot for loading Linux.
Soon after u-boot handles control over to kernel, nothing comes on serial
port until I hit <ENTER> key
Then once again kernel pauses at "NET:Registered protocol family 17" and
proceeds after hitting  <ENTER> key.
One more time Kernel pauses at "Freeing unused kernel memory: 156k init"
until I hit <ENTER> key.
I attached serial capture for your reference.

I want my board to boot with out user intervention. Please help me in
finding a solution.

Thanks,
Suresh
U-Boot 2008.10 (Mar 22 2011 - 03:29:50)

MPC8250 Reset Status: External Soft, External Hard

MPC8250 Clock Configuration
 - Bus-to-Core Mult 4x, VCO Div 2, 60x Bus Freq  25-75 , Core Freq 100-300
 - dfbrg 0, corecnf 0x1a, busdf 3, cpmdf 1, plldf 0, pllmf 1, pcidf 3
 - vco_out  266666664, scc_clk   66666666, brg_clk   66666666
 - cpu_clk  266666664, cpm_clk  133333332, bus_clk   66666666

CPU:   MPC8250 (HiP4 Rev 14, Mask C.0 5K25A) at 266.667 MHz
Board: Cornet IPGATE
DRAM:  (60x:10COL) 128 MB
FLASH: 256 MB
In:    serial
Out:   serial
Err:   serial
Net:   FCC1 ETHERNET, FCC2 ETHERNET
Press any key to interrupt autoboot:  2  1  0 
IPGATE=> boot
Using FCC1 ETHERNET device
TFTP from server 192.168.235.60; our IP address is 192.168.235.22
Filename 'uImage'.
Load address: 0x1000000
Loading: *#################################################################
         ###########################################
done
Bytes transferred = 1581380 (182144 hex)
Using FCC1 ETHERNET device
TFTP from server 192.168.235.60; our IP address is 192.168.235.22
Filename 'test'.
Load address: 0x2000000
Loading: *#################################################################
         #################################################################
         #################
done
Bytes transferred = 2148495 (20c88f hex)
Using FCC1 ETHERNET device
TFTP from server 192.168.235.60; our IP address is 192.168.235.22
Filename 'dtb'.
Load address: 0x3000000
Loading: *##
done
Bytes transferred = 20000 (4e20 hex)
## Booting kernel from Legacy Image at 01000000 ...
   Image Name:   Linux-2.6.34.8
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1581316 Bytes =  1.5 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
   Image Name:   RAMDISK Image
   Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
   Data Size:    2148431 Bytes =  2 MB
   Load Address: 05000000
   Entry Point:  05000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 03000000
   Booting using the fdt blob at 0x3000000
   Uncompressing Kernel Image ... OK
   Loading Ramdisk to 07d95000, end 07fa184f ... OK
   Loading Device Tree to 007f8000, end 007ffe1f ... OK

<Have to press <ENTER> Serial console>

console [ttyCPM0] enabled, bootconsole disabled

Mount-cache hash table entries: 512

NET: Registered protocol family 16

bio: create slab <bio-0> at 0

Switching to clocksource timebase

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 4096 (order: 3, 32768 bytes)

TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

TCP reno registered

UDP hash table entries: 256 (order: 0, 4096 bytes)

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

NET: Registered protocol family 1

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

Trying to unpack rootfs image as initramfs...

rootfs image is not initramfs (no cpio magic); looks like an initrd

Freeing initrd memory: 2098k freed

Installing knfsd (copyright (C) 1996 o...@monad.swb.de).

msgmni has been set to 247

alg: No test for stdrng (krng)

Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

f011a00.serial: ttyCPM0 at MMIO 0xc9008a00 (irq = 40) is a CPM UART

f011a20.serial: ttyCPM1 at MMIO 0xc900ca20 (irq = 41) is a CPM UART

f011a40.serial: ttyCPM2 at MMIO 0xc9014a40 (irq = 42) is a CPM UART

f011a60.serial: ttyCPM3 at MMIO 0xc901ca60 (irq = 43) is a CPM UART

f011a80.serial: ttyCPM4 at MMIO 0xc9024a80 (irq = 16) is a CPM UART

f011a90.serial: ttyCPM5 at MMIO 0xc902ca90 (irq = 17) is a CPM UART

brd: module loaded

loop: module loaded

nbd: registered device at major 43

PPP generic driver version 2.4.2

PPP Deflate Compression module registered

tun: Universal TUN/TAP device driver, 1.6

tun: (C) 1999-2004 Max Krasnyansky <m...@qualcomm.com>

eth0: fs_enet: 08:00:08:15:ca:fe

eth1: fs_enet: 08:00:08:15:ca:ce

CPM2 Bitbanged MII: probed

CPM2 Bitbanged MII: probed

mice: PS/2 mouse device common for all mice

TCP cubic registered

NET: Registered protocol family 10

IPv6 over IPv4 tunneling driver

NET: Registered protocol family 17

<Have to press <ENTER> Serial console>



RAMDISK: gzip image found at block 0


VFS: Mounted root (ext2 filesystem) on device 1:0.

Freeing unused kernel memory: 156k init

<Have to press <ENTER> Serial console>

ADDRCONF(NETDEV_UP): eth0: link is not ready

~ # 
~ # 
~ # 
~ # ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to