From: Stefan Weil <weil@mail.berlios.de>
To: "Richard W.M. Jones" <rjones@redhat.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Anyone got qemu-system-ppc{,64} to boot anything?
Date: Thu, 11 Jun 2009 20:15:55 +0200 [thread overview]
Message-ID: <4A3149DB.806@mail.berlios.de> (raw)
In-Reply-To: <20090611100718.GB17601@amd.home.annexia.org>
Richard W.M. Jones schrieb:
> The problem in the parent message was because I was using the wrong
> CPU. Although the binary is called 'qemu-system-ppc64', don't be
> misled into thinking that means it'll emulate a 64 bit PowerPC
> processor! Oh no, you have to supply the extra '-cpu ppc64'
> parameter.
>
> Most of the '-M' options appear to be non-functional, segfaulting or
> hanging or complaining about missing BIOS images.
>
> I've had no more luck with 'qemu-system-ppc'.
>
> So has _anyone_ got an example of qemu-system-ppc{,64} booting an OS
> that they can share with us?
>
> Rich.
>
Debian lenny works, no problems.
I use a NFS root configuration to test endianess issues
(qemu x86 on qemu ppc on x86 host):
ppc-softmmu/qemu-system-ppc \
-L ~/src/qemu/savannah/qemu/pc-bios \
-kernel /tftpboot/powerpc/boot/vmlinux-2.6.26-2-powerpc \
-initrd /tftpboot/powerpc/boot/initrd.img-2.6.26-2-powerpc.nfs \
-append \
"debug root=/dev/nfs rw ip=::::xxx::dhcp
nfsroot=10.0.2.2:/tftpboot/powerpc /tftpboot/powerpc nohz=off" \
-m 512 --net nic,model=ne2k_pci --net user,hostname=powerpc \
-hdb /media/vm/qemu/powerpc-swap.qcow2 -boot n \
--redir tcp:10022::22 --redir tcp:10080::80
Regards,
Stefan
next prev parent reply other threads:[~2009-06-11 18:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2009-06-11 20:21 ` Blue Swirl
2009-06-12 5:09 ` Alexander Graf
2009-07-02 10:11 ` Rob Landley
-- strict thread matches above, loose matches on Subject: below --
2009-06-11 11:18 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
2009-06-11 13:28 Laurent Vivier
2009-06-11 14:12 ` Richard W.M. Jones
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=4A3149DB.806@mail.berlios.de \
--to=weil@mail.berlios.de \
--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).