From: John Hodge Date: Tue, 4 Oct 2011 04:05:34 +0000 (+0800) Subject: USB Testing X-Git-Tag: rel0.11~30 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=6a89c2b28e62cc0979e5e7b31ed30295164773f5;p=tpg%2Facess2.git USB Testing --- diff --git a/Makefile.cfg b/Makefile.cfg index c349d5ae..174f896a 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -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 7029dffa..cf21f558 100755 --- 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