Skip to contentSkip to conversation

Gumstix board support

PATCH In review Thorsten Zitterell 3 participants 4 messages Nov 15, 2007 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Gumstix board support

Hi. The following patch adds support for Gumstix connex boards. A working flash image (after unpacking) is http://omnibus.uni-freiburg.de/~zitteret/files/qemu/flash.bz2

Comments?

--
Thorsten

Index: Makefile.target
===================================================================
RCS file: /sources/qemu/qemu/Makefile.target,v
retrieving revision 1.223

Makefile.target +1 -0
diff -u -r1.223 Makefile.target
@@ -499,6 +499,7 @@
 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 max7310.o
+VL_OBJS+= pflash_cfi01.o gumstix.o
 VL_OBJS+= spitz.o ads7846.o ide.o serial.o nand.o ecc.o wm8750.o
 VL_OBJS+= omap.o omap_lcdc.o omap1_clk.o omap_mmc.o omap_i2c.o
 VL_OBJS+= palm.o tsc210x.o

Index: vl.c
===================================================================
RCS file: /sources/qemu/qemu/vl.c,v
retrieving revision 1.361

vl.c +3 -1
diff -u -r1.361 vl.c
@@ -7435,6 +7435,7 @@
     qemu_register_machine(&palmte_machine);
     qemu_register_machine(&lm3s811evb_machine);
     qemu_register_machine(&lm3s6965evb_machine);
+    qemu_register_machine(&connex_machine);
 #elif defined(TARGET_SH4)
     qemu_register_machine(&shix_machine);
     qemu_register_machine(&r2d_machine);
@@ -8260,7 +8261,8 @@
     if (!linux_boot && net_boot == 0 &&
         hd_filename[0] == '\0' &&
         (cdrom_index >= 0 && hd_filename[cdrom_index] == '\0') &&
-        fd_filename[0] == '\0')
+        fd_filename[0] == '\0' &&
+        pflash_filename[0] == '\0')
         help(1);
 
     /* boot to floppy or the default cd if no hard disk defined yet */

Index: vl.h
===================================================================
RCS file: /sources/qemu/qemu/vl.h,v
retrieving revision 1.295

vl.h +3 -0
diff -u -r1.295 vl.h
@@ -1254,6 +1254,9 @@
 extern QEMUMachine borzoipda_machine;
 extern QEMUMachine terrierpda_machine;
 
+/* gumstix.c */
+extern QEMUMachine connex_machine;
+
 /* palm.c */
 extern QEMUMachine palmte_machine;
 

Index: hw/gumstix.c
===================================================================
RCS file: hw/gumstix.c

gumstix.c new file +73 -0

73 lines not on this page · raw message

Index: hw/pflash_cfi01.c
===================================================================
RCS file: hw/pflash_cfi01.c

pflash_cfi01.c new file +600 -0

600 lines not on this page · raw message

#1 lore raw

[Qemu-devel] qemu/winME/98

Is it possible to get networking to work with ME/98 as guest ?

No network device shows up in this case as in XP which works fine.

Command I use;
qemu -hda Win98.img -net nic,model=rtl8139 -net user

#2 lore raw

Re: [Qemu-devel] qemu/winME/98

Quoted 6 lines · ---- "[email protected]" <[email protected]> wrote:

Is it possible to get networking to work with ME/98 as guest ?

No network device shows up in this case as in XP which works fine.

Command I use;
qemu -hda Win98.img -net nic,model=rtl8139 -net user

maybe because you have to download the rtl8139 driver from realtek for Win98. Had to do the same thing for Win98SE.

Since there's no networking you can use vvfat or a floppy image to let the win98 instance see the file.

Ben

#3 lore raw

Re: [Qemu-devel] qemu/winME/98

Thanks Ben I understand.
For some silly and flawed reason I assumed that it was an emulation driver from qemu recognized by windows. Reason for my assumption happened, since I cannot delete the RTL driver in WinXP and assumed it was somehow tied to qemu. Obviously I am wrong.
Thanks for the clarification.

Ben Taylor wrote: ---- "[email protected]" <[email protected]> wrote: Is it possible to get networking to work with ME/98 as guest ? No network device shows up in this case as in XP which works fine. Command I use; qemu -hda Win98.img -net nic,model=rtl8139 -net user