qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Anyone got qemu-system-ppc{,64} to boot anything?


From: Stefan Weil
Subject: Re: [Qemu-devel] Anyone got qemu-system-ppc{,64} to boot anything?
Date: Thu, 11 Jun 2009 20:15:55 +0200
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]