public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* Trouble booting Kernel 2.6.12 on powerpc 8540
@ 2006-08-04 11:02 Prashant Yendigeri
  0 siblings, 0 replies; 4+ messages in thread
From: Prashant Yendigeri @ 2006-08-04 11:02 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 3402 bytes --]

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@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@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.



Thanks and Regards,
Prashant 



______________________________________________________________________

[-- Attachment #2: Type: text/html, Size: 6912 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Trouble booting Kernel 2.6.12 on powerpc 8540
@ 2006-08-04 13:54 Prashant Yendigeri
  2006-08-04 13:57 ` Kumar Gala
  0 siblings, 1 reply; 4+ messages in thread
From: Prashant Yendigeri @ 2006-08-04 13:54 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 3644 bytes --]

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@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@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 



______________________________________________________________________

[-- Attachment #2: Type: text/html, Size: 7248 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trouble booting Kernel 2.6.12 on powerpc 8540
  2006-08-04 13:54 Prashant Yendigeri
@ 2006-08-04 13:57 ` Kumar Gala
  0 siblings, 0 replies; 4+ messages in thread
From: Kumar Gala @ 2006-08-04 13:57 UTC (permalink / raw)
  To: Prashant Yendigeri; +Cc: linuxppc-embedded


On Aug 4, 2006, at 8:54 AM, Prashant Yendigeri wrote:

>
> Hi,
>
> I am able to boot linux kernel 2.6.12 on ppc 8540, and also able to =20=

> login too. But then i am unable to see any output  when i say ls, =20
> mount,ifconfig etc. Only pwd and env seem to work
> Whereas if i boot with kernel 2.4.20 and with the same ramdisk =20
> which i used to boot 2.6.12, i am able to see eveything, ls, mount =20
> outputs etc.


Do you have console=3DttyS0 on the command line to the kernel?

- kumar

>
> 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 =3D  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 =3D  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      ...?.?....=C9=A5?..)55?....?.?..???)5?
> ] class_hotplug - name =3D ttyw8
> [    2.126538] Generic RTC Driver v1.07
> [    2.127108] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, =20=

> IRQ sharind[    2.130813] ttyS0 at MMIO 0xe0004500 (irq =3D 26) is a =20=

> 16550A
> [    2.152265] ttyS1 at MMIO 0xe0004600 (irq =3D 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 =20
> size 1024 ble[    2.193524] loop: loaded (max 8 devices)
> [    2.198105] Equalizer2002: Simon Janes (simon@ncm•com) and David =20=

> S. Miller )[    2.207423] tun: Universal TUN/TAP device driver, 1.6
> [    2.212597] tun: (C) 1999-2004 Max Krasnyansky <maxk@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, =20=

> 131072 byt)[    2.260355] TCP bind hash table entries: 16384 =20
> (order: 4, 65536 bytes)
> [    2.267366] TCP: Hash tables configured (established 16384 bind =20
> 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 =20
> 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 =20
> screen, pwd and env throw output.
> -> I also see that in 2.4 booting messages :"Freeing initrd =20
> memory........" is displayed" but not in 2.6.12, eventhough i have =20
> enabled CONFIG_BLK_DEV_INITRD
> -> Should i enter something for CONFIG_INITRAMFS_SOURCE as of now =20
> it is blank ?
>
> Thanks and Regards,
> Prashant
>
>
>
> ______________________________________________________________________
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs•org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Trouble booting Kernel 2.6.12 on powerpc 8540
@ 2006-09-25  5:51 revathy
  0 siblings, 0 replies; 4+ messages in thread
From: revathy @ 2006-09-25  5:51 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,
   First time iam porting linux kernel 2.6.12 on MPC8540(PIC) board.In
platform code  i have set the CCSRBAR  to 0xff70 0000 which is the
default value for 8540. it gets hanged at "Uncompressing kernel image...ok".Iam
using u-boot-1.1.2.

Should i edit anything in .config file?

Thanks and Regards
Revathy

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-25  6:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-25  5:51 Trouble booting Kernel 2.6.12 on powerpc 8540 revathy
  -- strict thread matches above, loose matches on Subject: below --
2006-08-04 13:54 Prashant Yendigeri
2006-08-04 13:57 ` Kumar Gala
2006-08-04 11:02 Prashant Yendigeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox