USB Testing
authorJohn Hodge <[email protected]>
Tue, 4 Oct 2011 04:05:34 +0000 (12:05 +0800)
committerJohn Hodge <[email protected]>
Tue, 4 Oct 2011 04:05:34 +0000 (12:05 +0800)
Makefile.cfg
RunQemu

index c349d5a..174f896 100644 (file)
@@ -53,6 +53,7 @@ MODULES += Display/BochsGA
 MODULES += Interfaces/UDI
 MODULES += Input/PS2KbMouse
 MODULES += x86/ISADMA x86/VGAText
+MODULES += USB/Core
 endif
 
 ifeq ($(ARCHDIR),x86_64)
@@ -62,8 +63,13 @@ MODULES += Display/BochsGA
 MODULES += Interfaces/UDI
 MODULES += Input/PS2KbMouse
 MODULES += x86/ISADMA x86/VGAText
+MODULES += USB/Core
+endif
+
+ifeq ($(ARCHDIR),armv7)
+MODULES += Input/PS2KbMouse
 endif
 
 MODULES += IPStack     # So the other modules are loaded before it
-DYNMODS := USB/Core
+#DYNMODS := USB/Core
 #DYNMODS += Filesystems/InitRD
diff --git a/RunQemu b/RunQemu
index 7029dff..cf21f55 100755 (executable)
--- a/RunQemu
+++ b/RunQemu
@@ -9,7 +9,10 @@ QEMU_PARAMS=$QEMU_PARAMS" -hda AcessHDD.img"
 QEMU_PARAMS=$QEMU_PARAMS" -vga std"
 QEMU_PARAMS=$QEMU_PARAMS" -smp 2"
 QEMU_PARAMS=$QEMU_PARAMS" -net nic"
+
 QEMU_PARAMS=$QEMU_PARAMS" -usb"
+QEMU_PARAMS=$QEMU_PARAMS" -drive id=test_usb_image,file=USB_Test_Image.img,if=none"
+QEMU_PARAMS=$QEMU_PARAMS" -device usb-storage,drive=test_usb_image"
 _NETTYPE="user"
 
 while [ $# -ne 0 ]; do

UCC git Repository :: git.ucc.asn.au