On 6/11/09, Richard W.M. Jones <address@hidden> wrote:
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?
Debian 4.0 R6:
qemu-system-ppc64 -boot d -cdrom debian-40r6-powerpc-businesscard.iso
-M mac99 -usb -usbdevice keyboard -usbdevice mouse -cpu 970fx
Select 'install64'.
Gentoo 2008.0:
qemu-system-ppc64 -boot d -cdrom install-powerpc-minimal-2008.0.iso -M
mac99 -cpu 970fx -prom-env 'boot-device=cd:0,\boot\yaboot' -prom-env
'boot-args=conf=cd:0,\boot\yaboot.conf'
Select G5 (default).
Both above get to userspace, but they seem to hang soon.