AnsweredAssumed Answered

Issue with USB OTG in device mode with mass storage gadget driver in i.MX6

Question asked by Krishnan P on Jan 24, 2014
Latest reply on Jan 30, 2014 by Krishnan P

Hello there Greetings.

 

Kernel:3.10.9

Board: i.MX6  Solo based  custom board.

 

Step 1: load the mass storage driver

insmod g_mass_storage.ko file=/dev/mtdblock5

calling  msg_init+0x0/0x1c [g_mass_storage] @ 381

initcall msg_init+0x0/0x1c [g_mass_storage] returned -19 after 1549 usecs

insmod: can't insert 'g_mass_storage.ko': No such device

 

Step 2: dmesg

calling  msg_init+0x0/0x1c [g_mass_storage] @ 388

couldn't find an available UDC

initcall msg_init+0x0/0x1c [g_mass_storage] returned -19 after 1606 usecs

calling  msg_init+0x0/0x1c [g_mass_storage] @ 389

couldn't find an available UDC

initcall msg_init+0x0/0x1c [g_mass_storage] returned -19 after 1570 usecs

 

I am stuck with this error. Appreciate any pointers ...

 

Regards,

Krishnan.

Outcomes