From owner-freebsd-embedded@FreeBSD.ORG Wed Feb 7 07:31:12 2007 Return-Path: X-Original-To: embedded@freebsd.org Delivered-To: freebsd-embedded@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 731B216A400; Wed, 7 Feb 2007 07:31:11 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id A2A5313C481; Wed, 7 Feb 2007 07:31:10 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l177UgmW061300; Wed, 7 Feb 2007 00:30:42 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 07 Feb 2007 00:31:17 -0700 (MST) Message-Id: <20070207.003117.-1337017765.imp@bsdimp.com> To: arm@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Wed_Feb__7_00_31_17_2007_521)--" Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 07 Feb 2007 00:30:43 -0700 (MST) Cc: embedded@freebsd.org Subject: Fw: [Qemu-devel] PXA27x processor support (XScale) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2007 07:31:12 -0000 ----Next_Part(Wed_Feb__7_00_31_17_2007_521)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit FYI. This looks interesting. Warner ----Next_Part(Wed_Feb__7_00_31_17_2007_521)-- Content-Type: Message/Rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Delivery-Date: Tue, 06 Feb 2007 19:22:16 -0700 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on harmony.bsdimp.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.5 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham version=3.1.7 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l172KVXN059070 for ; Tue, 6 Feb 2007 19:20:32 -0700 (MST) (envelope-from qemu-devel-bounces+imp=bsdimp.com@nongnu.org) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HEcQ5-00075B-Rx for imp@bsdimp.com; Tue, 06 Feb 2007 21:20:25 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HEcPh-000756-2i for qemu-devel@nongnu.org; Tue, 06 Feb 2007 21:20:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HEcPf-00074r-OM for qemu-devel@nongnu.org; Tue, 06 Feb 2007 21:20:00 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HEcPf-00074o-KD for qemu-devel@nongnu.org; Tue, 06 Feb 2007 21:19:59 -0500 Received: from wx-out-0506.google.com ([66.249.82.224]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HEcPf-0004pz-B7 for qemu-devel@nongnu.org; Tue, 06 Feb 2007 21:19:59 -0500 Received: by wx-out-0506.google.com with SMTP id i30so108412wxd for ; Tue, 06 Feb 2007 18:19:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=OVNQuOSvNtPRApXbhkrervvJyTFdvxN8/axtJcv5GNyjJgocIuJTW5PDOBZV9dvUw5EWXbc3wIz4RXFpcQF/yrrUZeM3Df6wO+4/hqojh+j6dzY7gzjcoqkSolItidjmHRs/H2FBdGgn+kJuBK2hPl502qdGpsyvzACiEGlSSps= Received: by 10.70.39.2 with SMTP id m2mr15856944wxm.1170814798205; Tue, 06 Feb 2007 18:19:58 -0800 (PST) Received: by 10.70.41.12 with HTTP; Tue, 6 Feb 2007 18:19:58 -0800 (PST) Message-ID: Date: Wed, 7 Feb 2007 03:19:58 +0100 From: "andrzej zaborowski" To: qemu-devel@nongnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) Subject: [Qemu-devel] PXA27x processor support (XScale) X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+imp=bsdimp.com@nongnu.org Errors-To: qemu-devel-bounces+imp=bsdimp.com@nongnu.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [10.0.0.6]); Tue, 06 Feb 2007 19:20:32 -0700 (MST) Hi, for anybody interested I uploaded a patch containing support for Intel's PXA270 processor emulation for qemu. The patch is against current CVS (or 0.9.0) and you can find it at http://www.zabor.org/balrog/qemu-pxa270-and-more.patch (450 kB). PXA is a series of embedded processors used in PDAs, mobile phones and other devices. PXA is an ARM based system-on-chip. 27x is the newest out of the ones produced by Intel. PXA 25x and 260 devices can be emulated using the same code. Main additions are: - On-chip peripherals: DMA, interrupt controller, GPIOs, sysem timers, memory manager, clocks manager, power manager, LCD controller, PCMCIA cards controller, MMC/SD host controller, I2C device, USB host (OHCI), I2S controller, SSP controller, UARTs, an RTC. - NAND memory emulation - should work for all chips supported by Linux given the ID of the chip to emulate (small or large page). - PCMCIA bus with hotplugging (added "info pcmcia" command for listing sockets and inserted cards). - an IBM/hitachi microdrive, reuses existing IDE code adding the CF-ATA command set. - ADS7846 touchscreen controller from Texas Instruments (used in maaany PDAs). - Wolfson WM8750 audio codec chip (I2C slave). - Maxim MAX1111 ADC chip. - Maxim MAX7310 gpio expander chip (I2C slave). - SD card emulator (unchanged from the omap support patch) - iwMMXt coprocessor support (untested). - some bugfixes. I'm posting this as is because I won't have time to make a final clean-up and I was asked for it by some persons who want to emulate pxa270 based devices. I also want to avoid duplicating code. One case of duplication is the I2C bus, there was a different I2C bus recently merged in qemu. Our implementation is slightly more detailed (as need by some I2C hosts) and does some buffering, but is 8-bit only. (hw/i2c.h should probably be made into a template that implements 8 and 16 bit i2c included two time from vl.h). Regards, Andrew _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel ----Next_Part(Wed_Feb__7_00_31_17_2007_521)----