Skip to contentSkip to conversation

Acer Pica 61 machine

PATCH In review Hervé Poussineau 2 participants 2 messages Apr 16, 2007 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Acer Pica 61 machine

Hi,

This patch adds a Acer Pica 61 machine emulation to Qemu. I based my work on
http://www.sensi.org/~alec/mips/acer_pica.html
This machine can be used with the firmwares available at
http://hpoussineau.free.fr/qemu/firmware (the PICA 61 versions).

I've tested NetBSD 1.5.1, NetBSD 1.6.2, OpenBSD 2.3 and MS Windows NT 3.51, which start to boot, but all show different problems.
The *BSD images are available at http://hpoussineau.free.fr/qemu

Hervé

Index: Makefile.target
===================================================================
RCS file: /cvsroot/qemu/qemu/Makefile.target,v
retrieving revision 1.160

Makefile.target +2 -1
diff -u -r1.160 Makefile.target
@@ -425,7 +425,8 @@
 CPPFLAGS += -DHAS_AUDIO
 endif
 ifeq ($(TARGET_BASE_ARCH), mips)
-VL_OBJS+= mips_r4k.o mips_malta.o mips_timer.o mips_int.o dma.o vga.o serial.o i8254.o i8259.o
+VL_OBJS+= mips_r4k.o mips_malta.o mips_pica61.o
+VL_OBJS+= mips_timer.o mips_int.o dma.o vga.o serial.o i8254.o i8259.o
 VL_OBJS+= ide.o gt64xxx.o pckbd.o ps2.o fdc.o mc146818rtc.o usb-uhci.o acpi.o ds1225y.o
 VL_OBJS+= piix_pci.o parallel.o mixeng.o cirrus_vga.o $(SOUND_HW) $(AUDIODRV)
 CPPFLAGS += -DHAS_AUDIO

Index: vl.c
===================================================================
RCS file: /cvsroot/qemu/qemu/vl.c,v
retrieving revision 1.279

vl.c +1 -0
diff -u -r1.279 vl.c
@@ -6697,6 +6697,7 @@
 #elif defined(TARGET_MIPS)
     qemu_register_machine(&mips_machine);
     qemu_register_machine(&mips_malta_machine);
+    qemu_register_machine(&mips_pica61_machine);
 #elif defined(TARGET_SPARC)
 #ifdef TARGET_SPARC64
     qemu_register_machine(&sun4u_machine);

Index: vl.h
===================================================================
RCS file: /cvsroot/qemu/qemu/vl.h,v
retrieving revision 1.210

vl.h +4 -1
diff -u -r1.210 vl.h
@@ -1136,9 +1136,12 @@
 /* mips_malta.c */
 extern QEMUMachine mips_malta_machine;
 
-/* mips_int */
+/* mips_int.c */
 extern void cpu_mips_irq_init_cpu(CPUState *env);
 
+/* mips_pica61.c */
+extern QEMUMachine mips_pica61_machine;
+
 /* mips_timer.c */
 extern void cpu_mips_clock_init(CPUState *);
 extern void cpu_mips_irqctrl_init (void);
mips_pica61.c new file +175 -0

175 lines not on this page · raw message

#1 lore raw

How is it suppossed to boot?

It does not shows anything on screen, even it lacks a VGA output with default command line.

Quoted 12 lines · Hervé Poussineau

Hi,

This patch adds a Acer Pica 61 machine emulation to Qemu. I based my work on
http://www.sensi.org/~alec/mips/acer_pica.html
This machine can be used with the firmwares available at
http://hpoussineau.free.fr/qemu/firmware (the PICA 61 versions).

I've tested NetBSD 1.5.1, NetBSD 1.6.2, OpenBSD 2.3 and MS Windows NT 3.51, which start to boot, but all show different problems.
The *BSD images are available at http://hpoussineau.free.fr/qemu

Hervé