Received: from eggs.gnu.org ([140.186.70.92]:47307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOTAu-0008RB-Bn for qemu-devel@nongnu.org; Mon, 23 May 2011 07:19:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOTAt-000594-Hz for qemu-devel@nongnu.org; Mon, 23 May 2011 07:19:52 -0400 Received: from ipmail05.adl6.internode.on.net ([150.101.137.143]:55536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOTAt-00058P-5i for qemu-devel@nongnu.org; Mon, 23 May 2011 07:19:51 -0400 From: Brad Hards Date: Mon, 23 May 2011 21:19:40 +1000 References: <4DDA2855.6000003@cn.fujitsu.com> In-Reply-To: <4DDA2855.6000003@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201105232119.40773.bradh@frogmouth.net> Subject: Re: [Qemu-devel] The process of kernel cross-compiling in arm-test-0.2.tar.gz List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, daixiaoke On Monday 23 May 2011 19:26:45 daixiaoke wrote: > 3.Compiled uClinux following steps in the attachment(Chapter 4: Building > the uClinux image). =E2=80=9CSTM3210E-EVAL-jffs=E2=80=9D was selected for= "Porduct" while > Configure uClinux for STM3210E-EVAL. So you have built the images to install into a STM3210E board. > 5.Executed following command on command line: > qemu-system-arm -kernel xipImage.bin -initrd rootfs.img.bin -nographic > -append "console=3DttyAMA0" But it didn't work and nothing was shown out = on > the command line. I think this is the problem: qemu-system-arm isn't emulating an STM3210E=20 board. The default machine type with qemu-system-arm is the "integratorcp"= =20 (ARM Integrator/CP (ARM926EJ-S) board). See qemu-system-arm -M ? for a full= =20 list of options. You have to build code that matches the environment you are going to run it= =20 in.=20 Brad