From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AsZXF-000494-Uy for qemu-devel@nongnu.org; Sun, 15 Feb 2004 22:35:05 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AsZWj-0003Ya-2e for qemu-devel@nongnu.org; Sun, 15 Feb 2004 22:35:05 -0500 Received: from [62.210.190.9] (helo=brazzaville.magic.fr) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AsZWi-0003X0-I9 for qemu-devel@nongnu.org; Sun, 15 Feb 2004 22:34:32 -0500 Received: from 10.0.0.2 (ppp-181.net-555.magic.fr [62.210.255.181]) by brazzaville.magic.fr (8.11.6/8.11.6) with ESMTP id i1G3YUg30131 for ; Mon, 16 Feb 2004 04:34:30 +0100 Subject: Re: [Qemu-devel] PPC emulation on Qemu From: "J. Mayer" In-Reply-To: <1076885041.6959.113.camel@gaston> References: <1076854076.25228.1309.camel@rapid> <1076855825.14624.5.camel@localhost> <1076861194.25360.1433.camel@rapid> <1076885041.6959.113.camel@gaston> Content-Type: text/plain Message-Id: <1076902475.28421.2137.camel@rapid> Mime-Version: 1.0 Date: Mon, 16 Feb 2004 04:34:35 +0100 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Sun, 2004-02-15 at 23:44, Benjamin Herrenschmidt wrote: > On Mon, 2004-02-16 at 03:06, J. Mayer wrote: > > On Sun, 2004-02-15 at 15:59, Gabriel Ebner wrote: > > > Hello, > > > > > > Am Son, den 15.02.2004 schrieb J. Mayer um 15:07: > > > > We can't boot any PPC OS with qemu for now. > > > > I'm sorry you'll have to be patient... > > > > > > I have heard on this list that you're working on that, the website says > > > that PPC system emulation is in development, but I couldn't find any > > > code in qemu CVS. > > > > > > Just curious, but is there already any code? > > > > The code to emulate supervisor mode and MMU is mostly commited. But the > > code to handle peripherals, emulate open-firmware (which is a poor > > approch, but...) and really launch a linux kernel isn't really usable > > for now. > > Did you use some of MOL's code ? (MacOnLinus contains OF client > interface emulation and some low level Mac hw emulation like interrupt > controller, PCI host bridge, etc...) Well, I did look a lot MOL code but didn't use it for now. I won't reuse MOL OF code, because I don't want to have hardcoded stuffs, but something that acts really like the open-firmware and will be able to boot any OS, just like Bochs BIOS does for PC's. But emulated hardware from MOL will be helpfull someday. For now, I want to concentrate on booting Linux for Prep hardware. Because it's mainly a PC with a PPC CPU, it's a real good target to debug CPU emulation problems without taking care of emulated hardware. Then, I want a standard and nowedays PPC platform, not only Macs, near OpenPPC standard. So I did an open-pic emulation, ... MOL code will be helpfull to emulate some Mac platforms, but as it says, it seems to me that's it's too much Mac & MacOS dedicated to help until I got full stable basics. -- J. Mayer Never organized