linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Strange behavior when booting MPC8349E-mITX card.
@ 2007-04-11  9:09 Benjamin Zores
  2007-04-11 14:16 ` Kim Phillips
  0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Zores @ 2007-04-11  9:09 UTC (permalink / raw)
  To: linuxppc-dev

Hi,

I've noticed a strange behavior when booting an MPC8349E-mITX card
in PowerPC architecture (not ppc) on Linux 2.6.19.2.

It seems like early parts of the kernel featuring platform configuration are executed twice ? I don't know if it's intended or not but at least the card
works pretty well. I boots completely and there's no problem with that.
I just want to understand why it does such a thing.

I'm running a vanilla 2.6.19.2 kernel, ARCH=powerpc make mpc834x_itx_defconfig
and the vanilla DTS file for this card.

I don't have other platform to test this behavior.
Does anyone else noticed the same thing ?

Below is u-boot sequence + early kernel logs.

Ben

*********************

## Booting image at 00200000 ...
   Image Name:   Linux-2.6.19.2
   Created:      2007-04-03  13:34:56 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1434995 Bytes =  1.4 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
## Loading RAMDisk Image at 00500000 ...
   Image Name:   uboot ext2 ramdisk rootfs
   Created:      2006-10-19  21:17:10 UTC
   Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
   Data Size:    1911054 Bytes =  1.8 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Booting using flat device tree at 0x400000
   Loading Ramdisk to 0fda1000, end 0ff7390e ... OK
Using MPC834x ITX machine description
Linux version 2.6.19.2 (bezores@frilld0063506) (gcc version 4.1.1) #6 Tue Apr 3 15:34:49 C7
Found initrd at 0xcfda1000:0xcff7390e
setup_arch: bootmem
mpc834x_itx_setup_arch()
Found MPC83xx PCI host bridge at 0x00000000e0008500. Firmware bus number: 0->0
Found MPC83xx PCI host bridge at 0x00000000e0008600. Firmware bus number: 1->1
arch: exit
Zone PFN ranges:
  DMA             0 ->    65536
  Normal      65536 ->    65536
early_node_map[1] active PFN ranges
    0:        0 ->    65536
Built 1 zonelists.  Total pages: 65024
Kernel command line: root=/dev/ram console=ttyS0,115200
IPIC (128 IRQ sources) at fbffb700
PID hash table entries: 1024 (order: 10, 4096 bytes)
             
Using MPC834x ITX machine description
Linux version 2.6.19.2 (bezores@frilld0063506) (gcc version 4.1.1) #6 Tue Apr 3 15:34:49 C7
Found initrd at 0xcfda1000:0xcff7390e
Found MPC83xx PCI host bridge at 0x00000000e0008500. Firmware bus number: 0->0
Found MPC83xx PCI host bridge at 0x00000000e0008600. Firmware bus number: 1->1
Zone PFN ranges:
  DMA             0 ->    65536
  Normal      65536 ->    65536
early_node_map[1] active PFN ranges
    0:        0 ->    65536
Built 1 zonelists.  Total pages: 65024
Kernel command line: root=/dev/ram console=ttyS0,115200
IPIC (128 IRQ sources) at fbffb700
PID hash table entries: 1024 (order: 10, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 254592k/262144k available (2808k kernel code, 7240k reserved, 112k data, 91k bss, )
Mount-cache hash table entries: 512
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 1866k freed
...

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

* Re: Strange behavior when booting MPC8349E-mITX card.
  2007-04-11  9:09 Strange behavior when booting MPC8349E-mITX card Benjamin Zores
@ 2007-04-11 14:16 ` Kim Phillips
  0 siblings, 0 replies; 2+ messages in thread
From: Kim Phillips @ 2007-04-11 14:16 UTC (permalink / raw)
  To: Benjamin Zores; +Cc: linuxppc-dev

On Wed, 11 Apr 2007 11:09:35 +0200
Benjamin Zores <benjamin.zores@alcatel-lucent.fr> wrote:

> Hi,
> 
> I've noticed a strange behavior when booting an MPC8349E-mITX card
> in PowerPC architecture (not ppc) on Linux 2.6.19.2.
> 
> It seems like early parts of the kernel featuring platform configuration are executed twice ? I don't know if it's intended or not but at least the card
> works pretty well. I boots completely and there's no problem with that.
> I just want to understand why it does such a thing.
> 
> I'm running a vanilla 2.6.19.2 kernel, ARCH=powerpc make mpc834x_itx_defconfig
> and the vanilla DTS file for this card.
> 
> I don't have other platform to test this behavior.
> Does anyone else noticed the same thing ?
> 
see:

http://ozlabs.org/pipermail/linuxppc-dev/2007-January/030734.html

Kim

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

end of thread, other threads:[~2007-04-11 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-11  9:09 Strange behavior when booting MPC8349E-mITX card Benjamin Zores
2007-04-11 14:16 ` Kim Phillips

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).