Qemu doesn't work with gadgetfs

Ingmar RIeger openmoko at ingmars-bastelecke.net
Wed Jul 18 23:34:44 CEST 2007


I have the following problem: I installed qemu with gadgetfs like it's
described in the Openmoko-Wiki (http://wiki.openmoko.org/wiki/Qemu). If
I try to start Qemu I get the following Warning:
Warning: could not find USB gadgetfs

To start Qemu I'm using a little Shell-Script I programmed to automatise
the steps which are described in the wiki. Heres the Script:

sudo /bin/bash -c "modprobe dummy_hcd; modprobe gadgetfs; modprobe
usbnet; modprobe cdc_ether; modprobe gadgetfs default_uid=1000; mkdir
-p /dev/gadget"

mount /dev/gadget

cd /home/MYHOMEDIR/openmoko/qemu-neo1973
&& ./arm-softmmu/qemu-system-arm -M neo -m 130 -mtdblock
openmoko/openmoko-flash.image -kernel openmoko/openmoko-kernel.bin -usb
-usbgadget -show-cursor -localtime -usbdevice keyboard
(END of the Script)

After Qemu failed I checked the Kernel-Modules with lsmod and all are
I also checked /devgadgetfs with ls -l /dev/gadget/
insgesamt 0
-rw------- 1 root root 0 2007-07-18 23:21 dummy_udc

Does anybody know why Qemu can't find the gadgetfs?

Kind regards,
Ingmar Rieger

openmoko at ingmars-bastelecke.net

More information about the openmoko-devel mailing list