Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Efmb8-0003Si-CP for qemu-devel@nongnu.org; Fri, 25 Nov 2005 18:03:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Efmb5-0003Rv-Ji for qemu-devel@nongnu.org; Fri, 25 Nov 2005 18:03:17 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Efmb5-0003Rr-Ep for qemu-devel@nongnu.org; Fri, 25 Nov 2005 18:03:15 -0500 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Efmb4-0000Nm-EE for qemu-devel@nongnu.org; Fri, 25 Nov 2005 18:03:14 -0500 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EfmY6-00026l-C6 for qemu-devel@nongnu.org; Sat, 26 Nov 2005 00:00:10 +0100 Received: from doris.dna.fi ([83.143.58.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Nov 2005 00:00:10 +0100 Received: from ananaza by doris.dna.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Nov 2005 00:00:10 +0100 From: Antti P Miettinen Date: Sat, 26 Nov 2005 00:45:20 +0200 Message-ID: References: <200511220231.16133.paul@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: news Subject: [Qemu-devel] Re: Arm system emulation Reply-To: ananaza@iki.fi, 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 Paul Brook writes: > The attached patch implements Arm system emulation. Cool :-) > There's nothing special about these. Just a vanilla 2.6.14 kernel configured > with a serial console and busybox+bash from a Debian arm-linux install. I checked out qemu from CVS, applied your patches and I can confirm that after some tweaks with configuring qemu and getting the right command line arguments I can indeed boot the sample kernel and image. I also compiled linux 2.6.14.3 with a .config from the /proc/config.gz of the sample kernel and the compiled kernel boots also fine. While trying out gdb I ran into the same issue as reported by Johannes Schindelin that cpu_single_env is cleared upon exiting cpu_exec(), but e.g. breakpoint insertion ends up into tb_invalidate_phys_page_range() which seems to assume that cpu_single_env is valid. Just commenting out the clearing of cpu_single_env makes kernel debugging possible, but I suppose that's not the right fix. It seems that the sysemu is busylooping - is that currently to be expected or do I have something misconfigured?