[meta-ti] USB gadget with yocto>meta-ti
Steve Jacot-Guillarmod
steve.jacot-guillarmod at swissdotnet.ch
Thu Mar 6 22:44:02 PST 2014
Hello,
I'm using Yocto (poky-dora-10.0.1) with [meta-ti] layer to create images for the Ti's AM335x EVM Starter Kit or a BBB (using kernel linux-ti-staging 3.12.10)
I'm trying to get the USB gadget working, but without success!
1st test - [g_mass_storage]
modprobe g_mass_storage file=/dev/mmcblk0p1
[ 246.227255] Number of LUNs=8
[ 246.231310] Mass Storage Function, version: 2009/09/11
[ 246.236803] LUN: removable file: (no medium)
[ 246.241963] Number of LUNs=1
[ 246.245323] LUN: file: /dev/mmcblk0p2
[ 246.249218] Number of LUNs=1
[ 246.253638] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[ 246.261122] g_mass_storage gadget: userspace failed to provide iSerialNumber
[ 246.268614] g_mass_storage gadget: g_mass_storage ready
My host PC detect the drive, but my OS (Win7) doesn't see the partition (disk manager says Drive 4 49MB "not allocated")... very strange!
Now more important for us, the g_ether and g_serial (or g_multi)
root at am335x-evm:~# modprobe g_ether
[ 857.663478] g_ether musb-hdrc.0.auto: failed to start g_ether: -2
modprobe: can't load module g_ether (kernel/drivers/usb/gadget/g_ether.ko): unknown symbol in module, or unknown parameter
[ 879.223249] g_serial musb-hdrc.0.auto: failed to start g_serial: -2
modprobe: can't load module g_serial (kernel/drivers/usb/gadget/g_serial.ko): unknown symbol in module, or unknown parameter
[ 892.214224] g_multi musb-hdrc.0.auto: failed to start g_multi: -2
modprobe: can't load module g_multi (kernel/drivers/usb/gadget/g_multi.ko): unknown symbol in module, or unknown parameter
Your help will be very welcome, this is an important feature for us. My goal is to get an ethernet and storage gadget working (and if possible also a serial...)
Best regards
Steve Jacot-Guillarmod
More information about the meta-ti
mailing list