From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AmvNm-0003AX-E2 for qemu-devel@nongnu.org; Sat, 31 Jan 2004 08:41:58 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AmvMO-0002a8-UW for qemu-devel@nongnu.org; Sat, 31 Jan 2004 08:41:04 -0500 Received: from [193.252.22.27] (helo=mwinf0401.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AmvMN-0002Yt-Vg for qemu-devel@nongnu.org; Sat, 31 Jan 2004 08:40:32 -0500 Received: from free.fr (ATuileries-112-1-4-75.w81-53.abo.wanadoo.fr [81.53.133.75]) by mwinf0401.wanadoo.fr (SMTP Server) with ESMTP id 62D6F58000A7 for ; Sat, 31 Jan 2004 14:40:30 +0100 (CET) Message-ID: <401BB09C.1040202@free.fr> Date: Sat, 31 Jan 2004 14:41:48 +0100 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] system emulation of non-x86 targets Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > As per subject, I'm interested in being able to boot and run an ARM > kernel and a full linux enviroment inside QEMU, primarily to aid in > (re-)porting Gentoo Linux to ARM. What would be required to > modify/add to QEMU to support this? > > I have a rackmount netwinder, but it's external power supply has > failed :-( and Netwinder Inc. don't seem to respond to any of the > voicemails I leave at their support phone #. Two things need to be added: 1) ARM kernel level emulation. It includes MMU emulation and exceptions. If you know exactly what kind of ARM you want to emulate (StrongARM ?), it is not difficult to add, provided you have the ARM MMU documentation. 2) Device drivers: some ARM specific device drivers need to be added. The first task would be to find a working Linux ARM target which is close to a PC, so that you can reuse most of the QEMU devices (in particular IDE, serial, floppy and VGA). You need to add at least an IRQ controller and a timer. Personnally I think it would be cool to have the fastest ARM system on Earth on your PC :-) If someone can work at the device drivers, I can improve the ARM emulation core to simulate MMU and kernel mode. Fabrice.