From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LjIHJ-0005UY-EU for qemu-devel@nongnu.org; Mon, 16 Mar 2009 15:15:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LjIHG-0005UC-1r for qemu-devel@nongnu.org; Mon, 16 Mar 2009 15:15:13 -0400 Received: from [199.232.76.173] (port=41137 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LjIHF-0005U9-Pp for qemu-devel@nongnu.org; Mon, 16 Mar 2009 15:15:09 -0400 Received: from e6.ny.us.ibm.com ([32.97.182.146]:41583) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LjIHF-0008J7-BL for qemu-devel@nongnu.org; Mon, 16 Mar 2009 15:15:09 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e6.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n2GJGPnY030331 for ; Mon, 16 Mar 2009 15:16:25 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n2GJF7jN193844 for ; Mon, 16 Mar 2009 15:15:07 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n2GJF7AI007362 for ; Mon, 16 Mar 2009 15:15:07 -0400 From: Hollis Blanchard In-Reply-To: <200903161405.37420.rob@landley.net> References: <200903161405.37420.rob@landley.net> Content-Type: text/plain Date: Mon, 16 Mar 2009 14:15:06 -0500 Message-Id: <1237230906.3591.36.camel@slate.austin.ibm.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: 440 emulation? Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rob Landley Cc: qemu-devel@nongnu.org On Mon, 2009-03-16 at 14:05 -0500, Rob Landley wrote: > I'm trying to come up with a working 440 toolchain and root filesystem, and I > think I've built one (--with-cpu=440 for the binutils and gcc config seems to > be the magic), but my attempt to test it under qemu with -M bamboo led to an > "Unable to initialize CPU" message, because apparently the 440 isn't actually > supported. Correct, 440 is not supported by TCG, so I'm not sure what you're trying to do? > I tried feeding in "-cpu 405" in hopes of getting something to at least launch > (that's what the source code does when it's using kvm, anyway), but it still > said it couldn't initialize the cpu. As you can see from quick inspection, none of the code involved pays any attention to your -cpu option. If you want to make that work, it should simply be a matter of plumbing 'cpu_model' through ppc440ep_init(). > Presumably this works for somebody, but I dunno how to get it to do anything > interesting. What is the status of the bamboo board? It works, as long as you can provide working core emulation. -- Hollis Blanchard IBM Linux Technology Center