From: Rob Landley <rob@landley.net>
To: Hollis Blanchard <hollisb@us.ibm.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: 440 emulation?
Date: Mon, 16 Mar 2009 14:41:29 -0500 [thread overview]
Message-ID: <200903161441.29554.rob@landley.net> (raw)
In-Reply-To: <1237230906.3591.36.camel@slate.austin.ibm.com>
On Monday 16 March 2009 14:15:06 Hollis Blanchard wrote:
> On Mon, 2009-03-16 at 14:05 -0500, Rob Landley wrote:
> > I'm trying to come up with a working 440 toolchain and root filesystem,
> > and I think I've built one (--with-cpu=440 for the binutils and gcc
> > config seems to be the magic), but my attempt to test it under qemu with
> > -M bamboo led to an "Unable to initialize CPU" message, because
> > apparently the 440 isn't actually supported.
>
> Correct, 440 is not supported by TCG, so I'm not sure what you're trying
> to do?
Test a 440 toolchain on an emulated bamboo board. I discovered that it wasn't
supported when I got the "Unable to initialize CPU" message, and investigated.
I was hoping that either another processor could run 440 code (ala armv5
running armv4 code), or that 440 support was pending and simply hadn't been
merged yet. Couldn't find anything about it in the archives, so I asked.
(Not particularly coherently, as it turns out.)
> > I tried feeding in "-cpu 405" in hopes of getting something to at least
> > launch (that's what the source code does when it's using kvm, anyway),
> > but it still said it couldn't initialize the cpu.
>
> As you can see from quick inspection, none of the code involved pays any
> attention to your -cpu option. If you want to make that work, it should
> simply be a matter of plumbing 'cpu_model' through ppc440ep_init().
I might take a stab at that...
> > Presumably this works for somebody, but I dunno how to get it to do
> > anything interesting. What is the status of the bamboo board?
>
> It works, as long as you can provide working core emulation.
I take it the only way to do this currently is to run kvm on actual 440
hardware?
Rob
next prev parent reply other threads:[~2009-03-16 19:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-16 19:05 [Qemu-devel] 440 emulation? Rob Landley
2009-03-16 19:15 ` [Qemu-devel] " Hollis Blanchard
2009-03-16 19:41 ` Rob Landley [this message]
2009-03-16 20:00 ` Hollis Blanchard
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=200903161441.29554.rob@landley.net \
--to=rob@landley.net \
--cc=hollisb@us.ibm.com \
--cc=qemu-devel@nongnu.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.