USB Gadget problem

Hello,

I’m using Yocto with [meta-ti] to create images for the Ti’s AM335x EVM Starter Kit or a Beaglebone black (linux-ti-staging 3.12.10)

I’m trying to get the USB gadget working, but without success !

I start the usb driver with :

`

modprobe musb_am335x

[ 21.186340] of_get_named_gpio_flags: can’t parse gpios property of node ‘/ocp/usb@47400000/usb-phy@47401300[0]’
[ 21.209026] of_get_named_gpio_flags: can’t parse gpios property of node ‘/ocp/usb@47400000/usb-phy@47401b00[0]’
[ 21.341775] musb-hdrc musb-hdrc.0.auto: Enabled SW babble control
[ 21.388001] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 21.388054] musb-hdrc: MHDRC RTL version 2.0
[ 21.388075] musb-hdrc: setup fifo_mode 4
[ 21.388118] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 21.388339] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[ 21.448711] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
[ 21.488650] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 21.495866] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 21.503459] usb usb1: Product: MUSB HDRC host driver
[ 21.508666] usb usb1: Manufacturer: Linux 3.12.10 musb-hcd
[ 21.514428] usb usb1: SerialNumber: musb-hdrc.0.auto
[ 21.538070] hub 1-0:1.0: USB hub found
[ 21.553257] hub 1-0:1.0: 1 port detected
[ 21.559057] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control
[ 21.567422] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 21.567437] musb-hdrc: MHDRC RTL version 2.0
[ 21.567444] musb-hdrc: setup fifo_mode 4
[ 21.567459] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 21.567549] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 21.574456] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
[ 21.583042] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 21.590205] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 21.597782] usb usb2: Product: MUSB HDRC host driver
[ 21.603001] usb usb2: Manufacturer: Linux 3.12.10 musb-hcd
[ 21.608754] usb usb2: SerialNumber: musb-hdrc.1.auto
[ 21.614970] hub 2-0:1.0: USB hub found
[ 21.618951] hub 2-0:1.0: 1 port detected

`

Next I load the g_serial kernel module :

modprobe g_serial

[ 496.816144] 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

I’m really lost with this usb gadget.

Help will be very welcome !

Best regards

Piziwate

Hello,

I'm using Yocto with [meta-ti] to create images for the Ti's AM335x EVM
Starter Kit or a Beaglebone black (linux-ti-staging 3.12.10)

If you don't get an answer here, you might try the meta-ti mailing list:
https://lists.yoctoproject.org/listinfo/meta-ti