From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MEop4-0000c8-0h for qemu-devel@nongnu.org; Thu, 11 Jun 2009 14:16:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MEooy-0000Z4-Ic for qemu-devel@nongnu.org; Thu, 11 Jun 2009 14:16:20 -0400 Received: from [199.232.76.173] (port=42382 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MEooy-0000Ye-CX for qemu-devel@nongnu.org; Thu, 11 Jun 2009 14:16:16 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:64248) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MEoox-0005Qz-VE for qemu-devel@nongnu.org; Thu, 11 Jun 2009 14:16:16 -0400 Message-ID: <4A3149DB.806@mail.berlios.de> Date: Thu, 11 Jun 2009 20:15:55 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] Anyone got qemu-system-ppc{,64} to boot anything? References: <20090610174836.GA17601@amd.home.annexia.org> <20090611100718.GB17601@amd.home.annexia.org> In-Reply-To: <20090611100718.GB17601@amd.home.annexia.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Richard W.M. Jones" Cc: QEMU Developers 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