From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFggd-0004kl-HY for qemu-devel@nongnu.org; Sat, 13 Jun 2009 23:47:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFggY-0004kZ-Vi for qemu-devel@nongnu.org; Sat, 13 Jun 2009 23:47:15 -0400 Received: from [199.232.76.173] (port=56109 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFggY-0004kW-Sa for qemu-devel@nongnu.org; Sat, 13 Jun 2009 23:47:10 -0400 Received: from wf-out-1314.google.com ([209.85.200.172]:41149) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MFggY-00029p-C8 for qemu-devel@nongnu.org; Sat, 13 Jun 2009 23:47:10 -0400 Received: by wf-out-1314.google.com with SMTP id 26so1183645wfd.4 for ; Sat, 13 Jun 2009 20:47:09 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <19416261.483901244719081964.JavaMail.servlet@kundenserver> <20090611122634.GC15215@amd.home.annexia.org> <3cdfa5bc0906110535oae5be9fiebff8581c08061f2@mail.gmail.com> Date: Sun, 14 Jun 2009 11:47:08 +0800 Message-ID: <3cdfa5bc0906132047r2d3bc1ffp1725bcec117ca517@mail.gmail.com> Subject: Re: [Qemu-devel] Anyone got qemu-system-ppc{,64} to boot anything? From: Baojun Wang Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hollis Blanchard Cc: Blue Swirl , "Richard W.M. Jones" , qemu-devel@nongnu.org in hw/ppc440.c: env = cpu_ppc_init("440EP"); if (!env && kvm_enabled()) { /* XXX Since qemu doesn't yet emulate 440, we just say it's a 405. * Since KVM doesn't use qemu's CPU emulation it seems to be working * OK. */ env = cpu_ppc_init("405"); } if (!env) { fprintf(stderr, "Unable to initialize CPU!\n"); exit(1); } also in hw/ppc.c: I can find ppc40x_irq_init/e500_irq_init(used mpc8544ds), but there is no ppcbooke_irq_init? It seems hw/ppc405_uc.c is emulation for DCRs, PLB, DMA, GPIO, I2C.., but there is no hw/ppc44x_uc.c. the qemu source I used is 0.10.5. Also in ppc/translate_init.c, there lots of CONFIG_USER_ONLY, but I many of them are DEBUG or CACHE related SPR emulation, and since qemu doesn't emulate cache, I think it's OK. Thanks, Wang On Sun, Jun 14, 2009 at 1:47 AM, Hollis Blanchard wrote: > On Fri, Jun 12, 2009 at 10:48 AM, Blue Swirl wrote: >> >> On 6/11/09, Baojun Wang wrote: >> > could qemu emulate some board like bamboo (without kvm) or MPC8544ds >> > now? Thanks >> >> Yes, if someone adds emulation for these devices: UIC, PLB, DMA, POB, >> EBC, IIC, ZMII. Maybe some are not needed in all cases. > > No, qemu still doesn't emulate Book E cores, such as the PowerPC 440 in a > Bamboo board. > > UIC is of course emulated, otherwise KVM guests on 440 wouldn't get very > far. :) Enough 440 SoC devices are emulated to support Linux boot with a > properly stripped device tree. > > -Hollis >