From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HdRBF-0005Mj-Qg for qemu-devel@nongnu.org; Mon, 16 Apr 2007 09:23:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HdRBC-0005Ll-Fm for qemu-devel@nongnu.org; Mon, 16 Apr 2007 09:23:40 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HdRBC-0005Lh-9v for qemu-devel@nongnu.org; Mon, 16 Apr 2007 09:23:38 -0400 Received: from ug-out-1314.google.com ([66.249.92.168]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HdR6Z-0006jD-NE for qemu-devel@nongnu.org; Mon, 16 Apr 2007 09:18:51 -0400 Received: by ug-out-1314.google.com with SMTP id j40so917581ugd for ; Mon, 16 Apr 2007 06:18:50 -0700 (PDT) Message-ID: <462376AD.8000506@gmail.com> Date: Mon, 16 Apr 2007 15:14:21 +0200 From: Sunil Amitkumar Janki MIME-Version: 1.0 Subject: Re: [Qemu-devel] question in running linux in qemu-system-arm References: In-Reply-To: Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit 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 tang peilei wrote: > thank you for your help. > > is this config you build your kernel and run in qemu ? > and can you debug yur kernel image in qemu ? i tried the gdb debug > ,but it failed. I have tried to build it a few times but it always errors out somewhere in the drivers section, probably because some drivers were not tested for ARM. But this is the closest I have got to a self-compiled kernel. You can probably get it to work by disabling some modules. > > "This GDB was configured as "--host=i686-pc-linux-gnu > --target=arm-elf"..."/root/source/test/zImage": not in executable > format: File format not recognized Unfortunately I don't cross-compile so I cannot really help you with this at the moment. Maybe it is not an ARM executable. At the moment I am building Armedslack Current X packages so I cannot build a kernel at the same time. I will try again as soon as I have finished building those. I'll probably try to set up a cross-compile environment for ARM as well. Regards, Sunil