From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HeC6K-000629-Kf for qemu-devel@nongnu.org; Wed, 18 Apr 2007 11:29:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HeC6J-00061b-5L for qemu-devel@nongnu.org; Wed, 18 Apr 2007 11:29:44 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HeC6I-00061X-Ti for qemu-devel@nongnu.org; Wed, 18 Apr 2007 11:29:42 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HeC1R-0006x5-Nc for qemu-devel@nongnu.org; Wed, 18 Apr 2007 11:24:42 -0400 From: Paul Brook Subject: Re: [Qemu-devel] how to choose arm's type Date: Wed, 18 Apr 2007 16:24:32 +0100 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704181624.33341.paul@codesourcery.com> 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: tang peilei On Wednesday 18 April 2007 16:19, tang peilei wrote: > in qemu's doc, i found it support some arm integrator/cp board and arm926e > or arm1026e cpu. > but if i can choose to use arm926e cpu or arm1026e cpu ??? Use the -cpu commandline option. > when i build a linux kernel image, i let it run on qemu, but i found it get > the architecture ID is 113, and 113 defined in mach-types is > murphy ARCH_MEDALB MEDALB 113 > > i do not know why it is 113, i expect it to be > integrator ARCH_INTEGRATOR INTEGRATOR 21 > or > cintegrator ARCH_CINTEGRATOR CINTEGRATOR 275 Check again. I think you'll find that qemu reports machine ID 0x113 (== 275) for the integrator/cp emulation. Paul