Received: from eggs.gnu.org ([140.186.70.92]:51984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRRRl-0007iW-IX for qemu-devel@nongnu.org; Tue, 31 May 2011 12:05:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRRRh-0007Rf-Rz for qemu-devel@nongnu.org; Tue, 31 May 2011 12:05:33 -0400 Received: from nm4.bullet.mail.sg1.yahoo.com ([115.178.12.226]:32533) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QRRRh-0007RQ-79 for qemu-devel@nongnu.org; Tue, 31 May 2011 12:05:29 -0400 Message-ID: <86111.23825.qm@web77915.mail.sg1.yahoo.com> Date: Wed, 1 Jun 2011 00:05:26 +0800 (SGT) From: =?utf-8?B?TMOqIMSQ4bupYyBUw6Bp?= MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-429272701-1306857926=:23825" Subject: [Qemu-devel] QEMU for ppc440 on i386 host List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --0-429272701-1306857926=:23825 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi!=0AMy name is Tai.=0ASorry for bother you!=0A=0AI have a question about = QEMU for powerpc.=0ACan QEMU emulate the ppc440 on a i386 host? =0AI mean i= t is full-system emulation.=0ABecause when I'm trying to run linux ppc440 w= ith qemu on my i386 PC=0AI alway get the error like that:=0A=0A$ qemu-syste= m-ppc -M bamboo -kernel vmlinux=0Aqemu: fatal: Trying to execute code outsi= de RAM or ROM at 0xc0000000=0A=0ANIP c0000000 LR 00000000 CTR 00000000 XE= R 00000000=0AMSR 00000000 HID0 00000300 HF 00000000 idx 0=0ASegmentation f= ault=0A=0A$ qemu-system-ppc -M bamboo -kernel arch/powerpc/boot/uImage=0ATr= ying to read privileged spr 947 3b3 at 00001014=0ATrying to read invalid sp= r 62 03e at 00000778=0A=0AI using QEMU that configured and built with devic= e tree support (enable libfdt).=0AQEMU version 0.14.1=0AThe kernel image is= built for bamboo using powerpc-440 toolchain.=0Akernel-version 2.6.38.2=0A= =0AThank you very much!=0A --0-429272701-1306857926=:23825 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
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.
Becau= se when I'm trying to run linux ppc440 with qemu on my i386 PC
I alway g= et the error like that:

$ qemu-system-ppc -M bamboo -kernel vmlinux<= br>qemu: fatal: Trying to execute code outside RAM or ROM at 0xc0000000
=
NIP c0000000   LR 00000000 CTR 00000000 XER 00000000
MSR 0= 0000000 HID0 00000300  HF 00000000 idx 0
Segmentation fault

= $ qemu-system-ppc -M bamboo -kernel arch/powerpc/boot/uImage
Trying to r= ead 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 i= s built for bamboo using powerpc-440 toolchain.
kernel-version 2.6.38.2<= br>
Thank you very much!
=0A=0A=0A=0A
--0-429272701-1306857926=:23825--