From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FMSdu-000390-At for qemu-devel@nongnu.org; Thu, 23 Mar 2006 11:26:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FMSds-000382-RJ for qemu-devel@nongnu.org; Thu, 23 Mar 2006 11:26:33 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FMSds-00037t-OT for qemu-devel@nongnu.org; Thu, 23 Mar 2006 11:26:32 -0500 Received: from [65.74.133.6] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FMSeV-00073N-Dn for qemu-devel@nongnu.org; Thu, 23 Mar 2006 11:27:11 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Debugging low level ARM with GDB Date: Thu, 23 Mar 2006 16:26:22 +0000 References: <4422C85F.8040106@gmail.com> In-Reply-To: <4422C85F.8040106@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603231626.24838.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 > If I load the binary version of image u-boot.bin into QEMU, > how does QEMU know to which start address the image was > linked to? Or do I have to load the ELF file? qemu assumes it's loading a raw binary kernel zImage. Currently it is loaded at 0x10000. The linux kernel don't care where they are loaded, so this may change in the future. If you configure u-boot for a base address of 0x1000 it will probably work. > If my program wants to access the serial ports, how do I have > to configure the serial driver in my program to access these > ports? E.g. which base address do I have to use in the > serial driver? In real HW they differ from chip to chip. Qemu emulates and ARM Integrator/CP baseboard and CM/926 or CM/1026 core module. Full documentation is available from http://www.arm.com/ Paul