Hi guys!
I'm currently trying to make the zedboard appear as a USB device for my host computer (running W7 and Ubuntu12.04).
I have tried with both the most recent kernel from Xilinx and with the kernel from Analog Devices from their reference design(3.3 I think).
I have been able to compile down modules for g_mass_storage, g_file_storage, g_hid etc...
I would be perfectly happy as soon as the zedboard enumerates correctly... The Gadgets have been compiled to modules and after power on for the board, I try to load the g_mass_storage module with args:
modprobe g_mass_storage file=/str/something
This command works fine, and gives the following dmesg output:
g_mass_storage gadget: controller 'xusbps-udc' not recognized
g_mass_storage gadget: Mass Storage Function, version: 2009/09/11
g_mass_storage gadget: Number of LUNs=1
lun0: LUN: removable file: /str/backing_file
g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
g_mass_storage gadget: userspace failed to provide iSerialNumber
g_mass_storage gadget: g_mass_storage ready
xusbps-udc: bind to driver g_mass_storage
However, that is where my luck ends... Trying to insert it into one of my host PCs is not very successful, my Ubuntu gives the following output in dmesg:
...
[2415.212220]usb 2-5: new high-speed USB device number 7 using ehci hcd
[2415.282304]hub 2-0:1.0 unable to enumerate USB device on port 5
[2415.544223]usb 2-5: new high-speed USB device number 8 using ehci hcd
[2415.614193]hub 2-0:1.0 unable to enumerate USB device on port 5
[2415.876221]usb 2-5: new high-speed USB device number 9 using ehci hcd
[2415.946815]hub 2-0:1.0 unable to enumerate USB device on port 5
...
Anyone having succeeded in creating an USB device?