imx28EVK 3.10.59 kernel usb gadget

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx28EVK 3.10.59 kernel usb gadget

ソリューションへジャンプ
969件の閲覧回数
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

ラベル(2)
0 件の賞賛
1 解決策
658件の閲覧回数
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.

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
659件の閲覧回数
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.

0 件の賞賛
658件の閲覧回数
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 件の賞賛
658件の閲覧回数
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 件の賞賛