qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] QEMU for ppc440 on i386 host


From: Alexander Graf
Subject: Re: [Qemu-devel] QEMU for ppc440 on i386 host
Date: Tue, 31 May 2011 18:52:18 +0200

On 31.05.2011, at 18:05, Lê Đức Tài wrote:

> Hi!
> My name is Tai.
> Sorry for bother you!
> 
> I have a question about QEMU for powerpc.
> Can QEMU emulate the ppc440 on a i386 host? 
> I mean it is full-system emulation.
> Because when I'm trying to run linux ppc440 with qemu on my i386 PC
> I alway get the error like that:
> 
> $ qemu-system-ppc -M bamboo -kernel vmlinux
> qemu: fatal: Trying to execute code outside RAM or ROM at 0xc0000000
> 
> NIP c0000000   LR 00000000 CTR 00000000 XER 00000000
> MSR 00000000 HID0 00000300  HF 00000000 idx 0
> Segmentation fault
> 
> $ qemu-system-ppc -M bamboo -kernel arch/powerpc/boot/uImage
> Trying to read privileged spr 947 3b3 at 00001014
> Trying to read invalid spr 62 03e at 00000778
> 
> I using QEMU that configured and built with device tree support (enable 
> libfdt).
> QEMU version 0.14.1
> The kernel image is built for bamboo using powerpc-440 toolchain.
> kernel-version 2.6.38.2

PPC440 emulation support has only been added to Qemu very recently (0.14). So 
far, the only board that is somewhat known to work is the virtex5 ml507 one 
with a 440x5 xilinx cpu. Please see http://wiki.qemu.org/ChangeLog/0.14#PPC for 
details.

The bamboo board was added to enable KVM support for 440, it hasn't been used 
with the emulation target yet.

What exactly are you trying to emulate?


Alex




reply via email to

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