From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:41415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOgeo-00039P-1G for qemu-devel@nongnu.org; Mon, 23 May 2011 21:43:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOgem-0008BH-UG for qemu-devel@nongnu.org; Mon, 23 May 2011 21:43:38 -0400 Received: from [222.73.24.84] (port=55153 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOgem-0008B3-FG for qemu-devel@nongnu.org; Mon, 23 May 2011 21:43:36 -0400 Message-ID: <4DDB0D72.2030200@cn.fujitsu.com> Date: Tue, 24 May 2011 09:44:18 +0800 From: daixiaoke MIME-Version: 1.0 References: <4DDA2855.6000003@cn.fujitsu.com> <201105232119.40773.bradh@frogmouth.net> In-Reply-To: <201105232119.40773.bradh@frogmouth.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable 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: Brad Hards Cc: qemu-devel@nongnu.org =E4=BA=8E 2011-5-23 19:19, Brad Hards =E5=86=99=E9=81=93: > 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 fo= r "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 > board. The default machine type with qemu-system-arm is the "integratorcp" > (ARM Integrator/CP (ARM926EJ-S) board). See qemu-system-arm -M ? for a fu= ll > list of options. > > You have to build code that matches the environment you are going to run = it > in. OK. Thanks a lot. Dai Xiaoke > > Brad > > >