From: Alexander Graf <agraf@suse.de>
To: "Lê Đức Tài" <letai_dhqg@yahoo.com.vn>
Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
"qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] QEMU for ppc440 on i386 host
Date: Tue, 31 May 2011 18:52:18 +0200 [thread overview]
Message-ID: <1068344C-018A-4AE7-8B6D-7DA416378430@suse.de> (raw)
In-Reply-To: <86111.23825.qm@web77915.mail.sg1.yahoo.com>
On 31.05.2011, at 18:05, Lê Đức Tài wrote:
> Hi!
> My name is Tai.
> Sorry for bother you!
>
> I have a question about QEMU for powerpc.
> Can QEMU emulate the ppc440 on a i386 host?
> I mean it is full-system emulation.
> Because when I'm trying to run linux ppc440 with qemu on my i386 PC
> I alway get the error like that:
>
> $ qemu-system-ppc -M bamboo -kernel vmlinux
> qemu: fatal: Trying to execute code outside RAM or ROM at 0xc0000000
>
> NIP c0000000 LR 00000000 CTR 00000000 XER 00000000
> MSR 00000000 HID0 00000300 HF 00000000 idx 0
> Segmentation fault
>
> $ qemu-system-ppc -M bamboo -kernel arch/powerpc/boot/uImage
> Trying to read privileged spr 947 3b3 at 00001014
> Trying to read invalid spr 62 03e at 00000778
>
> I using QEMU that configured and built with device tree support (enable libfdt).
> QEMU version 0.14.1
> The kernel image is built for bamboo using powerpc-440 toolchain.
> kernel-version 2.6.38.2
PPC440 emulation support has only been added to Qemu very recently (0.14). So far, the only board that is somewhat known to work is the virtex5 ml507 one with a 440x5 xilinx cpu. Please see http://wiki.qemu.org/ChangeLog/0.14#PPC for details.
The bamboo board was added to enable KVM support for 440, it hasn't been used with the emulation target yet.
What exactly are you trying to emulate?
Alex
next prev parent reply other threads:[~2011-05-31 18:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-31 16:05 [Qemu-devel] QEMU for ppc440 on i386 host Lê Đức Tài
2011-05-31 16:52 ` Alexander Graf [this message]
2011-06-01 7:03 ` Lê Đức Tài
2011-06-01 8:36 ` Edgar E. Iglesias
2011-06-01 10:30 ` Lê Đức Tài
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=1068344C-018A-4AE7-8B6D-7DA416378430@suse.de \
--to=agraf@suse.de \
--cc=edgar.iglesias@gmail.com \
--cc=letai_dhqg@yahoo.com.vn \
--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 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).