Trouble booting Kernel 2.6.12 on powerpc 8540
Prashant Yendigeri
Prashant.Yendigeri at lntinfotech.com
Fri Aug 4 23:54:08 EST 2006
Hi,
I am able to boot linux kernel 2.6.12 on ppc 8540, and also able to login
too. But then i am unable to see any output when i say ls, mount,ifconfig
etc. Only pwd and env seem to work
Whereas if i boot with kernel 2.4.20 and with the same ramdisk which i
used to boot 2.6.12, i am able to see eveything, ls, mount outputs etc.
I built the ramdisk image using busybox 1.2
This is the boot messages of 2.6.12 :
## Booting image at 01000000 ...
Image Name: Linux-2.6.12
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1177413 Bytes = 1.1 MB
Load Address: 00000000
Entry Point: 000000000
Verifying ksum ... OK
Uncompressing Kernel Image ... OK
## Loading RAMDisk Image at 01200000 ...
Image Name: MPC85xx ramdisk
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 5887861 Bytes = 5.6 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Ramdisk to 0fa16000, end 0ffb3775 ... OK
mpc8540ads_init(): exit
id mach(): done
MMU:enter
MMU:hw init
MMU:mapin
MMU:setio
MMU:exit
setup_arch: enter
setup_arch: bootmem
mpc8540ads_setup_arch()
arch: exit
openpic: enter
r ...?.?....É¥?..)55?....?.?..???)5?
] class_hotplug - name = ttyw8
[ 2.126538] Generic RTC Driver v1.07
[ 2.127108] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ
sharind[ 2.130813] ttyS0 at MMIO 0xe0004500 (irq = 26) is a 16550A
[ 2.152265] ttyS1 at MMIO 0xe0004600 (irq = 26) is a 16550A
[ 2.158526] io scheduler noop registered
[ 2.162574] io scheduler anticipatory registered
[ 2.167318] io scheduler deadline registered
[ 2.171730] io scheduler cfq registered
[ 2.182339] RAMDISK driver initialized: 16 RAM disks of 32768K size
1024 ble[ 2.193524] loop: loaded (max 8 devices)
[ 2.198105] Equalizer2002: Simon Janes (simon at ncm.com) and David S.
Miller )[ 2.207423] tun: Universal TUN/TAP device driver, 1.6
[ 2.212597] tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
[ 2.219737] mice: PS/2 mouse device common for all mice
[ 2.225711] i2c /dev entries driver
[ 2.230856] NET: Registered protocol family 2
[ 2.245261] IP: routing cache hash table of 2048 buckets, 16Kbytes
[ 2.252570] TCP established hash table entries: 16384 (order: 5, 131072
byt)[ 2.260355] TCP bind hash table entries: 16384 (order: 4, 65536
bytes)
[ 2.267366] TCP: Hash tables configured (established 16384 bind 16384)
[ 2.274459] NET: Registered protocol family 1
[ 2.278943] NET: Registered protocol family 17
[ 2.284791] RAMDISK: Compressed image found at block 0
[ 4.435668] VFS: Mounted root (ext2 filesystem).
[ 4.440693] Freeing unused kernel memory: 84k init
[ 4.445614] Reached here
[ 4.448201] Reached here 2
[ 4.451423] Reached here 3
[ 4.454196] going to Exec /sbin/init
init started: BusyBox v1.2.0 (2006.08.02-10:51+0000) multi-call binary
Starting pid 682, console /dev/ttyS0: '/etc/init.d/rcS'
Starting pid 690, console /dev/ttyS0: '/sbin/ge
Welcome to Linux on MPC85xxSK board!
MPC85xxSK login:
-> After this i login as root and type ls but no output on the screen, pwd
and env throw output.
-> I also see that in 2.4 booting messages :"Freeing initrd
memory........" is displayed" but not in 2.6.12, eventhough i have enabled
CONFIG_BLK_DEV_INITRD
-> Should i enter something for CONFIG_INITRAMFS_SOURCE as of now it is
blank ?
Thanks and Regards,
Prashant
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060804/03efbf8a/attachment.htm
More information about the Linuxppc-embedded
mailing list