imx28EVK 3.10.59 kernel usb gadget

cancel
Showing results for 
Search instead for 
Did you mean: 

imx28EVK 3.10.59 kernel usb gadget

Jump to solution
405 Views
thejay
NXP Employee
NXP Employee

I am trying to get USB gadget to work on the imx28 EVK using the 3.10.59 kernel.

When I try to install g_ether.ko or g_mass_storage.ko I get an error "No such device "

 

They both work find on the 2.6.35 kernel.

 

I have attached the bootlog and dts files.

 

Thanks,

 

Jay

Original Attachment has been moved to: imx28_usb_g.log.zip

Original Attachment has been moved to: imx28-evk.dts.zip

Original Attachment has been moved to: imx28.dtsi.zip

Labels (2)
0 Kudos
1 Solution
94 Views
lategoodbye
Senior Contributor I

Hi John,

i see at least 3 problems:

1. I think mainline 3.10.59 doesn't have reliable USB gadget support. Please try to use 3.14 or higher.

2. In your log the usb driver seems to have a problem:

[ 1.169785] ci_hdrc ci_hdrc.0: can't start gadget role
[ 1.178164] imx_usb 80090000.usb: pinctrl get/select failed, err=-19

3. Please do not try to insmod the kernel modules from the 2.6.35. It won't work. You'll need to install the kernel modules from the new kernel in your rootfs and try to modprobe them.

Edit: Please forget about point 2. It's okay.

View solution in original post

0 Kudos
3 Replies
95 Views
lategoodbye
Senior Contributor I

Hi John,

i see at least 3 problems:

1. I think mainline 3.10.59 doesn't have reliable USB gadget support. Please try to use 3.14 or higher.

2. In your log the usb driver seems to have a problem:

[ 1.169785] ci_hdrc ci_hdrc.0: can't start gadget role
[ 1.178164] imx_usb 80090000.usb: pinctrl get/select failed, err=-19

3. Please do not try to insmod the kernel modules from the 2.6.35. It won't work. You'll need to install the kernel modules from the new kernel in your rootfs and try to modprobe them.

Edit: Please forget about point 2. It's okay.

View solution in original post

0 Kudos
94 Views
thejay
NXP Employee
NXP Employee

Thanks Stefan,

I think the 3.14 kerneworks better.

I was able to get the g_ether.ko to install but having some issues with the mass storage.

Still looking into this.

The confusion with point 3 is that the rootfs we are using is from the 2.6.35 LTIB.

I have copied all of the .ko files build with the newer kernel into the existing rootfs.

Thanks for the help.

Jay

0 Kudos
94 Views
fabio_estevam
NXP Employee
NXP Employee

Hi Jay,

What is the exact issue you are having with mass storage running the 3.14 kernel?

Regards,

Fabio Estevam

0 Kudos