From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IjA3Q-0001L8-5O for qemu-devel@nongnu.org; Sat, 20 Oct 2007 04:51:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IjA3O-0001Kw-Ii for qemu-devel@nongnu.org; Sat, 20 Oct 2007 04:51:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjA3O-0001Kt-CC for qemu-devel@nongnu.org; Sat, 20 Oct 2007 04:51:30 -0400 Received: from bangui.magic.fr ([195.154.194.245]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IjA3O-0002qP-B2 for qemu-devel@nongnu.org; Sat, 20 Oct 2007 04:51:30 -0400 Subject: Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc ! From: "J. Mayer" In-Reply-To: <200710200108.21660.rob@landley.net> References: <200710181912.57825.rob@landley.net> <20071019193925.GA30604@hall.aurel32.net> <471914B0.1080501@aurel32.net> <200710200108.21660.rob@landley.net> Content-Type: text/plain; charset=ISO-8859-15 Date: Sat, 20 Oct 2007 10:50:52 +0200 Message-Id: <1192870252.16781.22.camel@rapid> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Aurelien Jarno , Milton Miller On Sat, 2007-10-20 at 01:08 -0500, Rob Landley wrote: > On Friday 19 October 2007 3:33:52 pm Aurelien Jarno wrote: > > Aurelien Jarno a =E9crit : > > > - The target CPU never gets into idle loop, so the host CPU is alwa= ys > > > used at 100% > > > > This is actually not a problem. The default CPU (604) does not suppor= t > > DOZE or NAP. Switching to a 603 CPU, the target CPU correctly goes > > into idle loop. Sleep mode is currently implemented only for a few CPUs. I should add all the currently emulated cores. For this, I would have to emulate the HID registers, in most case, which is still not done. > This would be adding "-cpu 603" to the command line? Yes >=20 > Is there a web page listing all the powerpc processors somewhere? I'm = still=20 > at the "everything is 7xx except for 4xx and 8xx" stage... >=20 > I found this: > http://www.power.org/resources/devcorner/roadmap >=20 > But it groups by manufacturer rather than capabilities or software=20 > compatability... I could do this, as Qemu has definitions for most PowerPC cores (even if most are still not available). For now, you can take a look in target-ppc/translate_init.c. Most PowerPC are referenced here: - there's a big table with all the PVR I know (but there's still a lot missing) - the ppc_defs table contains most PowerPC definitions, with their features defined. I will think of doing a reference table on my web pages, to have a more readable PowerPC reference document. Of course, any information about missing PVRs or PowerPC implementation in welcome ! You can also take a look at the file target-ppc/STATUS file to figure out all cores emulation working in Qemu. And you can get the list of all CPUs emulated by Qemu with the '-cpu ?' switch. --=20 J. Mayer Never organized