All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollisb@us.ibm.com>
To: kvm-ppc@vger.kernel.org
Subject: Re: [kvm-ppc-devel] Current e500 kvm guest kernel booting log
Date: Tue, 11 Dec 2007 15:41:14 +0000	[thread overview]
Message-ID: <1197387675.9632.17.camel@basalt> (raw)
In-Reply-To: <ABF87B0B6A38C0458E319AC973ED68AEA21127@zch01exm26.fsl.freescale.net>

Congratulations! :) Will you send patches? What are your thoughts on the
commonality between 440 and e500 code?

We haven't touched the "hack" code recently, since we've been
refactoring the upstream tree. That's pretty much done though, and right
now I'm just starting to integrate the old 440 support with the new
upstream code. That's not in a good state right now, but I could clean
it up and send it out if you're interested.

Also, I'm messing around with Makefiles now, and have been thinking
about how to connect the modules... For example, should there be a
kvm-powerpc-guest-440.ko that could link with kvm-powerpc-host-e500.ko?
For now, a single kvm-powerpc-e500.ko (e500 guests on e500 host) is
probably easiest, but we should think about the long-term goal too.

By the way, we booted with an initrd so we wouldn't need the network,
and hacked the device tree not to use interrupts for the UART. If you
take shortcuts like that you can really minimize your dependency on qemu
for now.

-- 
Hollis Blanchard
IBM Linux Technology Center

On Tue, 2007-12-11 at 13:01 +0800, Zhang Wei wrote:
> Hi,
> 
> Thanks Hollis' 'hack' codes!
> I've ported them to e500 core and booted something from e500 core kvm of
> PowerPC. Because of no qemu to emulate IO, the guest kernel halts before
> CPU's peripheral equipment (such as mpic) operations. The log is output
> from the serial port.
> 
> Log:
> Memory <- <0x0 0x8000000> (-1408896MB)
> CPU clock-frequency <- 0x4ead9a00 (1320MHz)
> CPU timebase-frequency <- 0x3ef1480 (66MHz)
> CPU bus-frequency <- 0x1f78a400 (528MHz)
> 
> zImage starting: loaded at 0x00400000 (sp: 0x00fffeb8)
> Allocating 0x2ca080 bytes for kernel ...
> gunzipping (0x00000000 <- 0x0040d000:0x006d0314)...done 0x2b0124 bytes
> 
> Linux/PowerPC load: root=/dev/nfs rw
> nfsroot\x192.168.1.10:/tftpboot/192.168.1.16
> ip\x192.168.1.16:192.168.1.10:192.168.1.1:255.255.255.0:unknown:eth0:off
> console=ttyS1,115200
> Finalizing device tree... flat tree at 0x40a8d0
> Using MPC85xx MDS machine description
> Memory CAM mapping: CAM0dMb, CAM1dMb, CAM2=0Mb residual: 0Mb
> Linux version 2.6.24-rc1-ga3c0a29d-dirty (zhangwei@bus) (gcc version
> 4.1.2) #336 Mon Dec 10 13:21:15 CST 2007
>  -> find_legacy_serial_port()
> stdout is /soc8568@e0000000/serial@4600
> legacy_serial_console = 1
> default console speed = 115200
>  <- find_legacy_serial_port()
> console [udbg0] enabled
> setup_arch: bootmem
> mpc85xx_mds_setup_arch()
> arch: exit
> Zone PFN ranges:
>   DMA             0 ->    32768
>   Normal      32768 ->    32768
> Movable zone start PFN for each node
> early_node_map[1] active PFN ranges
>     0:        0 ->    32768
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
> 32512
> Kernel command line: root=/dev/nfs rw
> nfsroot\x192.168.1.10:/tftpboot/192.168.1.16
> ip\x192.168.1.16:192.168.1.10:192.168.1.1:255.255.255.0:unknown:eth0:off
> console=ttyS1,115200
> 
> The memory initialization is finished.
> 
> Cheers!
> Wei
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> kvm-ppc-devel mailing list
> kvm-ppc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
kvm-ppc-devel mailing list
kvm-ppc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel

  reply	other threads:[~2007-12-11 15:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-11  5:01 [kvm-ppc-devel] Current e500 kvm guest kernel booting log Zhang Wei
2007-12-11 15:41 ` Hollis Blanchard [this message]
2007-12-12 11:57 ` Zhang Wei
2007-12-12 19:19 ` Hollis Blanchard
2007-12-13 10:14 ` Zhang Wei
2007-12-14  0:01 ` Hollis Blanchard
2007-12-14  3:47 ` Zhang, Xiantao
2007-12-14  6:15 ` Zhang Wei
2007-12-18  2:33 ` Hollis Blanchard
2007-12-18  2:52   ` Zhang, Xiantao
2007-12-18  2:52     ` Zhang, Xiantao
     [not found]     ` <42DFA526FC41B1429CE7279EF83C6BDCB131B6-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-12-18 10:04       ` [kvm-ppc-devel] [kvm-devel] Current e500 kvm guest kernel Christian Ehrhardt
2007-12-18 10:04         ` [kvm-ppc-devel] Current e500 kvm guest kernel booting log Christian Ehrhardt
     [not found]         ` <47679B11.8070604-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2007-12-19  8:50           ` [kvm-ppc-devel] [kvm-devel] Current e500 kvm guest kernel Zhang Wei
2007-12-19  8:50             ` [kvm-ppc-devel] Current e500 kvm guest kernel booting log Zhang Wei
2007-12-18  3:40 ` Zhang Wei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1197387675.9632.17.camel@basalt \
    --to=hollisb@us.ibm.com \
    --cc=kvm-ppc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.