Configuring EHCI USB-OTG using Yacto project(kernel version 3.10.17-r0) on imx6q-sabreauto.

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

Configuring EHCI USB-OTG using Yacto project(kernel version 3.10.17-r0) on imx6q-sabreauto.

1,357件の閲覧回数
gauravpandya
Contributor I

Hi All,

I am new to free-scale platform and just started working on Yacto-Project.

I have setup my working environment and imx6q-sabreauto board too.

Following are few questions which are not clear to me.

1) Using kernel 3.10.17 can we use USB_OTG functionality.

2) If we can usb USB_OTG as device and peripheral both then which drivers or

configurations would be needed.

3) I have set-up for kernel 3.0.35 where i can use USB-OTG as host as well as Device.

but using kernel 3.10.17 i am not able to do same.

4) There is much change from kernel 3.0.35 to kernel 3.10.17. Lot of files being moved out.

Please provide some inputs on above points.

Thanks

Gaurav

0 件の賞賛
返信
2 返答(返信)

843件の閲覧回数
gauravpandya
Contributor I

Hi Everyone,

Please give some inputs.

Thanks,

Gaurav

0 件の賞賛
返信

843件の閲覧回数
CarlosCasillas
NXP Employee
NXP Employee

Hi Gaurav,

Have you tried modifing the DTS file? Section 41.2.6 "Changing the Controller Operation Mode" of the i.MX 6 Linux Reference Manual specifies the following:

dr_mode = "host" /* Set controller as gadget-only mode */

dr_mode = "peripheral" /* Set controller as host-only mode */

dr_mode = "otg" /* Set controller as otg mode */

You could find this document as attachment,

Hope this will be useful for you.
Best regards!
/Carlos

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------