From: Baojun Wang <wangbj@gmail.com>
To: Hollis Blanchard <hollis@penguinppc.org>
Cc: Blue Swirl <blauwirbel@gmail.com>,
"Richard W.M. Jones" <rjones@redhat.com>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Anyone got qemu-system-ppc{,64} to boot anything?
Date: Sun, 14 Jun 2009 11:47:08 +0800 [thread overview]
Message-ID: <3cdfa5bc0906132047r2d3bc1ffp1725bcec117ca517@mail.gmail.com> (raw)
In-Reply-To: <fb412d760906131047h70aa6708lcf3357c46ba38e80@mail.gmail.com>
in hw/ppc440.c:
env = cpu_ppc_init("440EP");
if (!env && kvm_enabled()) {
/* XXX Since qemu doesn't yet emulate 440, we just say it's a 405.
* Since KVM doesn't use qemu's CPU emulation it seems to be working
* OK. */
env = cpu_ppc_init("405");
}
if (!env) {
fprintf(stderr, "Unable to initialize CPU!\n");
exit(1);
}
also in hw/ppc.c:
I can find ppc40x_irq_init/e500_irq_init(used mpc8544ds), but there is
no ppcbooke_irq_init? It seems hw/ppc405_uc.c is emulation for DCRs,
PLB, DMA, GPIO, I2C.., but there is no hw/ppc44x_uc.c.
the qemu source I used is 0.10.5.
Also in ppc/translate_init.c, there lots of CONFIG_USER_ONLY, but I
many of them are DEBUG or CACHE related SPR emulation, and since qemu
doesn't emulate cache, I think it's OK.
Thanks,
Wang
On Sun, Jun 14, 2009 at 1:47 AM, Hollis Blanchard<hollis@penguinppc.org> wrote:
> On Fri, Jun 12, 2009 at 10:48 AM, Blue Swirl <blauwirbel@gmail.com> wrote:
>>
>> On 6/11/09, Baojun Wang <wangbj@gmail.com> wrote:
>> > could qemu emulate some board like bamboo (without kvm) or MPC8544ds
>> > now? Thanks
>>
>> Yes, if someone adds emulation for these devices: UIC, PLB, DMA, POB,
>> EBC, IIC, ZMII. Maybe some are not needed in all cases.
>
> No, qemu still doesn't emulate Book E cores, such as the PowerPC 440 in a
> Bamboo board.
>
> UIC is of course emulated, otherwise KVM guests on 440 wouldn't get very
> far. :) Enough 440 SoC devices are emulated to support Linux boot with a
> properly stripped device tree.
>
> -Hollis
>
next prev parent reply other threads:[~2009-06-14 3:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-11 11:18 [Qemu-devel] Anyone got qemu-system-ppc{,64} to boot anything? Laurent Vivier
2009-06-11 12:26 ` Richard W.M. Jones
2009-06-11 12:35 ` Baojun Wang
2009-06-12 15:48 ` Blue Swirl
2009-06-13 17:47 ` Hollis Blanchard
2009-06-14 3:47 ` Baojun Wang [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-06-11 13:28 Laurent Vivier
2009-06-11 14:12 ` Richard W.M. Jones
2009-06-10 17:48 [Qemu-devel] qemu-system-ppc64 fails (invalid/unsupported opcode: 1e - 03 - 0f) Richard W.M. Jones
2009-06-11 10:07 ` [Qemu-devel] Anyone got qemu-system-ppc{,64} to boot anything? Richard W.M. Jones
2009-06-11 10:35 ` Andreas Färber
2009-06-11 18:15 ` Stefan Weil
2009-06-11 20:21 ` Blue Swirl
2009-06-12 5:09 ` Alexander Graf
2009-07-02 10:11 ` Rob Landley
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=3cdfa5bc0906132047r2d3bc1ffp1725bcec117ca517@mail.gmail.com \
--to=wangbj@gmail.com \
--cc=blauwirbel@gmail.com \
--cc=hollis@penguinppc.org \
--cc=qemu-devel@nongnu.org \
--cc=rjones@redhat.com \
/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 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).