From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IjXXx-0005DA-U6 for qemu-devel@nongnu.org; Sun, 21 Oct 2007 05:56:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IjXXw-0005AH-8U for qemu-devel@nongnu.org; Sun, 21 Oct 2007 05:56:36 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjXXw-00059w-4a for qemu-devel@nongnu.org; Sun, 21 Oct 2007 05:56:36 -0400 Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=grelber.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IjXXv-0001vM-Bg for qemu-devel@nongnu.org; Sun, 21 Oct 2007 05:56:35 -0400 From: Rob Landley Subject: Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc ! Date: Sun, 21 Oct 2007 04:55:50 -0500 References: <200710181912.57825.rob@landley.net> <200710200108.21660.rob@landley.net> <1192870252.16781.22.camel@rapid> In-Reply-To: <1192870252.16781.22.camel@rapid> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200710210455.51059.rob@landley.net> 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 Saturday 20 October 2007 3:50:52 am J. Mayer wrote: > 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. Getting it to exit in response to a shut down attempt would be really nice= =20 too. (It may already do so, but I have no idea how to trigger it and neith= er=20 did Milton last I checked.) > And you can get the list of all CPUs emulated by Qemu with the '-cpu ?' > switch. I did that, but it -cpu ? gives output like: PowerPC 7448 PVR 80040201 PowerPC 7448v1.0 PVR 80040100 PowerPC 7448v1.1 PVR 80040101 PowerPC 7448v2.0 PVR 80040200 PowerPC 7448v2.1 PVR 80040201 I prefer the result of "-M ?" which makes it slightly clearer which field y= ou=20 need to feed qemu as an argument. (For the record, -cpu seems to want file= d=20 $2 of the -cpu ? output.) Also, that doesn't tell me what the differences= =20 between any of them are. =46rom earlier research, I know that if you configure a toolchain for "7xx"= all=20 major PowerPC variants except two will run that, it's more or less "-mcpu=20 386" of the powerpc world. The two that won't run it (Motorola's 8xx and IBM's 4xx) are both embedded= =20 subsets of powerpc that have had instructions removed, and thus need their= =20 own toolchains. (Of course those two removed DIFFERENT instructions,=20 sigh...) My random and confused notes about various hardware platforms are=20 at "http://landley.net/ols/ols2007/platforms.txt", which has a largeish=20 section on ppc that probably makes sense to nobody but me. :) I don't actually have any _background_ in embedded hardware. Busybox, uCli= bc,=20 and qemu all dragged me into it, and I've been trying to pick things up as = I=20 go along... Rob P.S. I removed you from the CC: list because your ISP is still bouncing my= =20 emails as spam, and I don't know if the list sends you a copy if you're cc'= d. =2D-=20 "One of my most productive days was throwing away 1000 lines of code." - Ken Thompson.