All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: David Gibson <dwg@au1.ibm.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Building ppc/powerpc kernel to run under QEMU.
Date: Fri, 11 May 2007 23:30:01 -0400	[thread overview]
Message-ID: <200705112330.02262.rob@landley.net> (raw)
In-Reply-To: <20070511014629.GA31705@localhost.localdomain>

On Thursday 10 May 2007 9:46 pm, David Gibson wrote:
> On Thu, May 10, 2007 at 11:07:52PM +0100, Matt Sealey wrote:
> > QEMU really really wants a PREP kernel, and that stuff's just not in the 
new
> > arch/powerpc tree anymore is it?
> 
> qemu is PReP, eh?  Well that would explain the not working: PReP
> hasn't been ported to arch/powerpc yet.  The fact that qemu acts like
> a PReP might make doing so rather easier.

It's slightly more compliated than that.

The CVS version of QEMU says it can emulate the following architectures:

qemu-system-ppc -M ?
Supported machines are:
g3bw       Heathrow based PowerMAC (default)
mac99      Mac99 based PowerMAC
prep       PowerPC PREP platform
ref405ep   ref405ep
taihu      taihu

Unfortunately, the powermac variants want a hard drive image (the open 
hackware bios won't finish booting without it), and the other two are new 
enough I haven't had a chance to try 'em yet.

The only way I've managed to build a prep kernel is ARCH=ppc.  I can build a 
CHRP kernel with arch=powerpc, but can't figure out how to tell qemu to boot 
it (and am told formatting a fake partitioned hard drive image is The Way).

Rob

  reply	other threads:[~2007-05-12  3:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-10  2:03 Building ppc/powerpc kernel to run under QEMU Rob Landley
2007-05-10 17:28 ` Linas Vepstas
2007-05-10 22:07   ` Matt Sealey
2007-05-11  1:46     ` David Gibson
2007-05-12  3:30       ` Rob Landley [this message]
2007-05-12  1:46     ` Rob Landley
2007-05-12  3:00       ` Doug Maxey
2007-05-12  4:05         ` Rob Landley
2007-05-12  1:14   ` Rob Landley
2007-05-14 19:09     ` Hollis Blanchard
  -- strict thread matches above, loose matches on Subject: below --
2007-05-09 22:39 Rob Landley
2007-05-09 23:38 ` Stephen Rothwell

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=200705112330.02262.rob@landley.net \
    --to=rob@landley.net \
    --cc=dwg@au1.ibm.com \
    --cc=linuxppc-dev@ozlabs.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.