From: Rob Landley <rob@landley.net>
To: Linas Vepstas <linas@austin.ibm.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Building ppc/powerpc kernel to run under QEMU.
Date: Fri, 11 May 2007 21:14:57 -0400 [thread overview]
Message-ID: <200705112114.58053.rob@landley.net> (raw)
In-Reply-To: <20070510172806.GE4452@austin.ibm.com>
On Thursday 10 May 2007 1:28 pm, Linas Vepstas wrote:
> Hi Rob,
>
> On Wed, May 09, 2007 at 10:03:25PM -0400, Rob Landley wrote:
> > I've been puttering around with my Firmware Linux project trying to add
> > powerpc as a supported platform. I can build kernels that qemu can boot
(such
> > as a "prep" kernel) using ARCH=ppc, but that one doesn't support make
> > headers_install.
> >
> > Using ARCH=powerpc makes headers_install work, but there's no
kernel .config
> > I've been able to come up with that generates a kernel I can boot under
qemu.
>
> Hmm. I'm not a boot expert, (although many people on this list are).
> Any hint of where the boot is failing? Maybe qemu is not setting up
> a device tree?
How about "not building a prep kernel at all"?
The Open Hackware bootloader used by QEMU insists on a boot partition, even
when I use "-kernel" to use the built-in bootloader. But the prep kernel is
apparently formatted to look like a boot partition, or close enough for the
firmware to recognize it. (The macintosh-style kernels require a hard drive
image in order for the firmware to like them. So I can't boot one of those
with "qemu -kernel filename" even if I build it right.)
Rob
next prev parent reply other threads:[~2007-05-12 1:15 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
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 [this message]
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=200705112114.58053.rob@landley.net \
--to=rob@landley.net \
--cc=linas@austin.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.