|
From: | Alexander Graf |
Subject: | Re: [Qemu-ppc] Can't seem to run qemu with e500mc guest |
Date: | Mon, 10 Jun 2013 17:00:09 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120306 Thunderbird/10.0.3 |
On 06/10/2013 04:16 AM, Bob Smiley wrote:
Hi,Sorry for such a basic question, but I'm having trouble firing up qemu for a e500mc guest. In particular, I'm trying to emulate a P4080 processor. My host is a x86-64 Ubuntu 13.04 machine running qemu built from source - v1.5.0.When I specify -cpu e500mc, qemu complains about an Old World Mac machine.When I specify -M mpc8544ds it just goes to the qemu monitor prompt w/o any useful outputSame thing happens for -M ppce500.
For an e500mc guest you most likely want to run with -M ppce500 and enable QEMU machine support in your guest kernel.
I am able to run qemu succesfully with -M mac99 using a Ubuntu 13.04 disk image and the appropriate kernel/initrd files (works great actually). I thought perhaps I needed to use a Ubuntu kernel for e500mc, but got the same results when using the cdrom kernel/initrd files accompanied with the 13.04 installer.
I don't think there is an Ubuntu kernel for e500 chips. Please try to compile your own kernel and see whether you can run that one through -kernel. The e500 machine models don't supply any firmware, so passing in a -kernel blob is mandatory to get them working.
To get you started quickly, please give this uImage a try as -kernel binary: http://csgraf.de/tmp/ppc/uImage.e500mc
$ qemu-system-ppc -M ppce500 -cpu e500mc -m 1G -nographic -kernel uImage.e500mc
Alex
[Prev in Thread] | Current Thread | [Next in Thread] |