Spitz PDA, example PXA270 machine (four similar models).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2756 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c824cacdb1
commit
b00052e496
@ -371,7 +371,7 @@ VL_OBJS+=tap-win32.o
|
||||
endif
|
||||
|
||||
SOUND_HW = sb16.o es1370.o
|
||||
AUDIODRV = audio.o noaudio.o wavaudio.o
|
||||
AUDIODRV = audio.o noaudio.o wavaudio.o mixeng.o
|
||||
ifdef CONFIG_SDL
|
||||
AUDIODRV += sdlaudio.o
|
||||
endif
|
||||
@ -418,16 +418,16 @@ ifeq ($(TARGET_BASE_ARCH), i386)
|
||||
# Hardware support
|
||||
VL_OBJS+= ide.o pckbd.o ps2.o vga.o $(SOUND_HW) dma.o $(AUDIODRV)
|
||||
VL_OBJS+= fdc.o mc146818rtc.o serial.o i8259.o i8254.o pcspk.o pc.o
|
||||
VL_OBJS+= cirrus_vga.o mixeng.o apic.o parallel.o acpi.o piix_pci.o
|
||||
VL_OBJS+= cirrus_vga.o apic.o parallel.o acpi.o piix_pci.o
|
||||
VL_OBJS+= usb-uhci.o smbus_eeprom.o vmmouse.o vmware_vga.o
|
||||
CPPFLAGS += -DHAS_AUDIO
|
||||
CPPFLAGS += -DHAS_AUDIO -DHAS_AUDIO_CHOICE
|
||||
endif
|
||||
ifeq ($(TARGET_BASE_ARCH), ppc)
|
||||
VL_OBJS+= ppc.o ide.o pckbd.o ps2.o vga.o $(SOUND_HW) dma.o $(AUDIODRV)
|
||||
VL_OBJS+= mc146818rtc.o serial.o i8259.o i8254.o fdc.o m48t59.o pflash_cfi02.o
|
||||
VL_OBJS+= ppc_prep.o ppc_chrp.o cuda.o adb.o openpic.o heathrow_pic.o mixeng.o
|
||||
VL_OBJS+= ppc_prep.o ppc_chrp.o cuda.o adb.o openpic.o heathrow_pic.o
|
||||
VL_OBJS+= grackle_pci.o prep_pci.o unin_pci.o ppc405_uc.o ppc405_boards.o
|
||||
CPPFLAGS += -DHAS_AUDIO
|
||||
CPPFLAGS += -DHAS_AUDIO -DHAS_AUDIO_CHOICE
|
||||
endif
|
||||
ifeq ($(TARGET_BASE_ARCH), mips)
|
||||
VL_OBJS+= mips_r4k.o mips_malta.o mips_pica61.o
|
||||
@ -453,6 +453,10 @@ VL_OBJS+= arm_boot.o pl011.o pl050.o pl080.o pl110.o pl181.o pl190.o
|
||||
VL_OBJS+= versatile_pci.o sd.o
|
||||
VL_OBJS+= arm_gic.o realview.o arm_sysctl.o
|
||||
VL_OBJS+= arm-semi.o
|
||||
VL_OBJS+= pxa2xx.o pxa2xx_pic.o pxa2xx_gpio.o pxa2xx_timer.o pxa2xx_dma.o
|
||||
VL_OBJS+= pxa2xx_lcd.o pxa2xx_mmci.o pxa2xx_pcmcia.o max111x.o
|
||||
VL_OBJS+= spitz.o ads7846.o ide.o serial.o nand.o $(AUDIODRV)
|
||||
CPPFLAGS += -DHAS_AUDIO -DHIGH_LATENCY
|
||||
endif
|
||||
ifeq ($(TARGET_BASE_ARCH), sh4)
|
||||
VL_OBJS+= shix.o sh7750.o sh7750_regnames.o tc58128.o
|
||||
|
1100
hw/spitz.c
Normal file
1100
hw/spitz.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -80,6 +80,7 @@ For system emulation, the following hardware targets are supported:
|
||||
@item ARM Integrator/CP (ARM926E or 1026E processor)
|
||||
@item ARM Versatile baseboard (ARM926E)
|
||||
@item ARM RealView Emulation baseboard (ARM926EJ-S)
|
||||
@item Spitz, Akita, Borzoi and Terrier PDAs (PXA270 processor)
|
||||
@end itemize
|
||||
|
||||
For user emulation, x86, PowerPC, ARM, MIPS, Sparc32/64 and ColdFire(m68k) CPUs are supported.
|
||||
@ -1777,6 +1778,36 @@ LSI53C895A PCI SCSI Host Bus Adapter with hard disk and CD-ROM devices
|
||||
PL181 MultiMedia Card Interface with SD card.
|
||||
@end itemize
|
||||
|
||||
The XScale-based clamshell PDA models ("Spitz", "Akita", "Borzoi"
|
||||
and "Terrier") emulation includes the following peripherals:
|
||||
|
||||
@itemize @minus
|
||||
@item
|
||||
Intel PXA270 System-on-chip (ARM V5TE core)
|
||||
@item
|
||||
NAND Flash memory
|
||||
@item
|
||||
IBM/Hitachi DSCM microdrive in a PXA PCMCIA slot - not in "Akita"
|
||||
@item
|
||||
On-chip OHCI USB controller
|
||||
@item
|
||||
On-chip LCD controller
|
||||
@item
|
||||
On-chip Real Time Clock
|
||||
@item
|
||||
TI ADS7846 touchscreen controller on SSP bus
|
||||
@item
|
||||
Maxim MAX1111 analog-digital converter on I@math{^2}C bus
|
||||
@item
|
||||
GPIO-connected keyboard controller and LEDs
|
||||
@item
|
||||
Secure Digital card conntected to PXA MMC/SD host
|
||||
@item
|
||||
Three on-chip UARTs
|
||||
@item
|
||||
WM8750 audio CODEC on I@math{^2}C and I@math{^2}S busses
|
||||
@end itemize
|
||||
|
||||
A Linux 2.6 test image is available on the QEMU web site. More
|
||||
information is available in the QEMU mailing-list archive.
|
||||
|
||||
|
6
vl.c
6
vl.c
@ -6804,6 +6804,10 @@ void register_machines(void)
|
||||
qemu_register_machine(&versatilepb_machine);
|
||||
qemu_register_machine(&versatileab_machine);
|
||||
qemu_register_machine(&realview_machine);
|
||||
qemu_register_machine(&akitapda_machine);
|
||||
qemu_register_machine(&spitzpda_machine);
|
||||
qemu_register_machine(&borzoipda_machine);
|
||||
qemu_register_machine(&terrierpda_machine);
|
||||
#elif defined(TARGET_SH4)
|
||||
qemu_register_machine(&shix_machine);
|
||||
#elif defined(TARGET_ALPHA)
|
||||
@ -6815,6 +6819,7 @@ void register_machines(void)
|
||||
|
||||
#ifdef HAS_AUDIO
|
||||
struct soundhw soundhw[] = {
|
||||
#ifdef HAS_AUDIO_CHOICE
|
||||
#ifdef TARGET_I386
|
||||
{
|
||||
"pcspk",
|
||||
@ -6863,6 +6868,7 @@ struct soundhw soundhw[] = {
|
||||
0,
|
||||
{ .init_pci = es1370_init }
|
||||
},
|
||||
#endif
|
||||
|
||||
{ NULL, NULL, 0, 0, { NULL } }
|
||||
};
|
||||
|
6
vl.h
6
vl.h
@ -1398,6 +1398,12 @@ extern QEMUMachine versatileab_machine;
|
||||
/* realview.c */
|
||||
extern QEMUMachine realview_machine;
|
||||
|
||||
/* spitz.c */
|
||||
extern QEMUMachine akitapda_machine;
|
||||
extern QEMUMachine spitzpda_machine;
|
||||
extern QEMUMachine borzoipda_machine;
|
||||
extern QEMUMachine terrierpda_machine;
|
||||
|
||||
/* ps2.c */
|
||||
void *ps2_kbd_init(void (*update_irq)(void *, int), void *update_arg);
|
||||
void *ps2_mouse_init(void (*update_irq)(void *, int), void *update_arg);
|
||||
|
Loading…
Reference in New Issue
Block a user