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,359 次查看
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 回复数

845 次查看
gauravpandya
Contributor I

Hi Everyone,

Please give some inputs.

Thanks,

Gaurav

0 项奖励
回复

845 次查看
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!
-----------------------------------------------------------------------------------------------------------------------