Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jm48l-0007cG-F2 for qemu-devel@nongnu.org; Wed, 16 Apr 2008 05:41:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jm48j-0007b1-K6 for qemu-devel@nongnu.org; Wed, 16 Apr 2008 05:41:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jm48i-0007ag-Mt for qemu-devel@nongnu.org; Wed, 16 Apr 2008 05:41:17 -0400 Received: from n38.bullet.mail.ukl.yahoo.com ([87.248.110.171]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Jm3cl-00050j-Vb for qemu-devel@nongnu.org; Wed, 16 Apr 2008 05:08:16 -0400 Date: Wed, 16 Apr 2008 09:08:13 +0000 (GMT) From: Gilles Doffe MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1591307938-1208336893=:45137" Message-ID: <855202.45137.qm@web27602.mail.ukl.yahoo.com> Subject: [Qemu-devel] Compiling a kernel for arm and boot from it 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 --0-1591307938-1208336893=:45137 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,=0A=0AI actually work on internal learning on how to keep a toolchain= and a kernel for arm AT91RM9200 to the lastest possible version available.= The goal is to use this kernel in a qemu environment.=0A=0AThen I asked to= my friend Google and I have found a lot of things, but too much things...^= ^=0AI really start to get completly lost.=0ASo I'll try to explain you what= I did in the following lines and if you please could tell me what I did wr= ong :=0A=0AFirst the toolchain :=0Abinutils-2.18.50=0Anewlib-1.16.0=0Agcc-4= ..3.0=0AI compiled successfully that toolchain but I have questions : I unde= rstand (I think) what is EABI but I cannot see where it takes place in my t= oolchain. Is there an option to set, is it support automatically, is it rea= lly necessary ? Does it have a link with ELF binary formats ?=0A=0ANow the = kernel :=0Akernel 2.6.24 from kernel.org=0AI just set "ARM=3Darm" and "CROS= S_COMPILE=3Darm-elf-" and I launched the build process this way :=0A$ make = integrator_defconfig=0A$ make=0A=0ANo problems during the kernel build, I t= hen recover the zImage to launch my qemu with :=0A$ qemu-system-arm -kernel= zImage=0AAnd then the qemu screen remains definitely black... I don't unde= rstand at all why. Could someone help me please ?=0A=0AMore precisions :=0A= I tried to use the kernel from the official arm-test suite. It worked fine.= So I don't think it is a bug from qemu. But I cannot retrieve the /proc/co= nfig.gz from the arm-test kernel because I issued problems to make my virtu= al network works between my host and the qemu.=0AI am under Fedora 8=0A$ qe= mu --help | grep version=0AQEMU PC emulator version 0.9.0, Copyright (c) 20= 03-2007 Fabrice Bellard=0A=0AThanks a lot in advance,=0AGilles=0A=0A=0A=0A= =0A __________________________________________________________________= ___________ =0AEnvoyez avec Yahoo! Mail. Une boite mail plus intelligente h= ttp://mail.yahoo.fr --0-1591307938-1208336893=:45137 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,

I actually work on internal learning on = how to keep a toolchain and a kernel for arm AT91RM9200 to the lastest poss= ible version available. The goal is to use this kernel in a qemu environmen= t.

Then I asked to my friend Google and I have found a lot of things= , but too much things...^^
I really start to get completly lost.
So I= 'll try to explain you what I did in the following lines and if you please = could tell me what I did wrong :

First the toolchain :
binutils-2= ..18.50
newlib-1.16.0
gcc-4.3.0
I compiled successfully that toolch= ain but I have questions : I understand (I think) what is EABI but I cannot= see where it takes place in my toolchain. Is there an option to set, is it= support automatically, is it really necessary ? Does it have a link with ELF binary formats ?

Now the kernel :
kernel 2.6.24 from ke= rnel.org
I just set "ARM=3Darm" and "CROSS_COMPILE=3Darm-elf-" and I lau= nched the build process this way :
$ make integrator_defconfig
$ make=

No problems during the kernel build, I then recover the zImage to l= aunch my qemu with :
$ qemu-system-arm -kernel zImage
And then the qe= mu screen remains definitely black... I don't understand at all why. Could = someone help me please ?

More precisions :
I tried to use the ker= nel from the official arm-test suite. It worked fine. So I don't think it i= s a bug from qemu. But I cannot retrieve the /proc/config.gz from the arm-t= est kernel because I issued problems to make my virtual network works betwe= en my host and the qemu.
I am under Fedora 8
$ qemu --help | grep ver= sion
QEMU PC emulator version 0.9.0, Copyright (c) 2003-2007 Fabrice Bel= lard

Thanks a lot in advance,
Gilles

=0A=0A=0A= =0A
=0AEnvoy=C3=A9 avec Yahoo! Mail.
Une boite = mail plus intelligente. --0-1591307938-1208336893=:45137--