From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HEk88-0005Lf-0u for qemu-devel@nongnu.org; Wed, 07 Feb 2007 05:34:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HEk87-0005LT-CK for qemu-devel@nongnu.org; Wed, 07 Feb 2007 05:34:23 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HEk87-0005LQ-5i for qemu-devel@nongnu.org; Wed, 07 Feb 2007 05:34:23 -0500 Received: from farad.aurel32.net ([82.232.2.251] helo=mail.aurel32.net) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HEk86-0003Zi-EQ for qemu-devel@nongnu.org; Wed, 07 Feb 2007 05:34:22 -0500 Received: from anguille.univ-lyon1.fr ([134.214.4.207]) by mail.aurel32.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1HEk8E-0006MW-Qp for qemu-devel@nongnu.org; Wed, 07 Feb 2007 11:34:31 +0100 Message-ID: <45C9AB19.8030105@aurel32.net> Date: Wed, 07 Feb 2007 11:34:01 +0100 From: Aurelien Jarno MIME-Version: 1.0 Subject: Re: [Qemu-devel] PXA27x processor support (XScale) References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 andrzej zaborowski a écrit : > 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). I have quickly looked at your patch, it seems your implementation of the I2C bus could be re-used for the Malta board. It uses a bit banging I2C interface. Thanks for your patch, I will have a closer look later. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net