All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] PXA27x processor support (XScale)
@ 2007-02-07  2:19 andrzej zaborowski
  2007-02-07  4:49 ` Hetz Ben Hamo
  2007-02-07 10:34 ` Aurelien Jarno
  0 siblings, 2 replies; 4+ messages in thread
From: andrzej zaborowski @ 2007-02-07  2:19 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] PXA27x processor support (XScale)
  2007-02-07  2:19 [Qemu-devel] PXA27x processor support (XScale) andrzej zaborowski
@ 2007-02-07  4:49 ` Hetz Ben Hamo
  2007-02-07  9:31   ` andrzej zaborowski
  2007-02-07 10:34 ` Aurelien Jarno
  1 sibling, 1 reply; 4+ messages in thread
From: Hetz Ben Hamo @ 2007-02-07  4:49 UTC (permalink / raw)
  To: qemu-devel

Hi,

Great work!

Only a small question, if you don't mind: After patching QEMU with
your patch, is it possible to run Windows Mobile (2003,2005)? I heard
from quite few people (outside of QEMU mailing list) that would love
to test their WinCE based apps on such an emulator without the need
for MS Visual Studio stuff..

Thanks,
Hetz

On 2/7/07, andrzej zaborowski <balrogg@gmail.com> wrote:
> 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
>


-- 
Skepticism is the lazy person's default position.
Visit my blog (hebrew) for things that (sometimes) matter:
 http://wp.dad-answers.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] PXA27x processor support (XScale)
  2007-02-07  4:49 ` Hetz Ben Hamo
@ 2007-02-07  9:31   ` andrzej zaborowski
  0 siblings, 0 replies; 4+ messages in thread
From: andrzej zaborowski @ 2007-02-07  9:31 UTC (permalink / raw)
  To: qemu-devel

Hi,

On 07/02/07, Hetz Ben Hamo <hetzbh@gmail.com> wrote:
> Only a small question, if you don't mind: After patching QEMU with
> your patch, is it possible to run Windows Mobile (2003,2005)? I heard
> from quite few people (outside of QEMU mailing list) that would love
> to test their WinCE based apps on such an emulator without the need
> for MS Visual Studio stuff..

Not out of the box. If you emulate the device accurately enough for
which the copy of WinCE/WM2005 was written then yes. Platforms like
PDAs differ greatly in their hardware despite some using the same CPU.

(from my experience if you're porting Linux to a PDA it helps a lot to
have its original OS running in the emulator).

Regards,
Andrew

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] PXA27x processor support (XScale)
  2007-02-07  2:19 [Qemu-devel] PXA27x processor support (XScale) andrzej zaborowski
  2007-02-07  4:49 ` Hetz Ben Hamo
@ 2007-02-07 10:34 ` Aurelien Jarno
  1 sibling, 0 replies; 4+ messages in thread
From: Aurelien Jarno @ 2007-02-07 10:34 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-07 10:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-07  2:19 [Qemu-devel] PXA27x processor support (XScale) andrzej zaborowski
2007-02-07  4:49 ` Hetz Ben Hamo
2007-02-07  9:31   ` andrzej zaborowski
2007-02-07 10:34 ` Aurelien Jarno

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.