USB dual role patch for Linux 3.10.17 BSP

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

USB dual role patch for Linux 3.10.17 BSP

跳至解决方案
9,656 次查看
Henry_p
NXP Employee
NXP Employee

CPU: i.MX6 solo

BSP version: 3.10.17

Application: Car AVN

My customer wants to implement iOS Carplay solution for his product.

Could you help me to get USB dual role patch for USB driver in 3.10.17 BSP?

标签 (3)
1 解答
7,743 次查看
Henry_p
NXP Employee
NXP Employee

Please find the attachment.

在原帖中查看解决方案

6 回复数
7,743 次查看
Henry_p
NXP Employee
NXP Employee

Got a patch from SH AE team.

0 项奖励
回复
7,743 次查看
brucecollie
Contributor I

Hi,

Would it be possible for you to share the patch you received, or to put me in contact with the people you received the patch from?

Thanks

0 项奖励
回复
7,744 次查看
Henry_p
NXP Employee
NXP Employee

Please find the attachment.

7,743 次查看
shravansundarra
Contributor I

Dear Henry.p‌,

Is similar patch available for kernel version 4.1.15-1.2.0 ?

I have posted a query in this thread.

Thanks

0 项奖励
回复
7,743 次查看
huipingping
Contributor I

another problem: (Android 5.0)Patch code for i.MX6Q failed. c_patch does't work

We want to run android 5.0 on our I.MX6Q. We download the source code,freescale kernel,U-boot,path. Following the Android User's Guide, we now having a problem when patching. After running source /opt/android_L5.0.0_1.0.0-ga_core_source/code/l5.0.0_1.0.0-ga/and_patch.sh and enters help, it shows this:

Invoke ". and_patch.sh" from your shell to add following functions to your enviroment:

-- c_gotop:  Change directory .....

-- c_patch:  Recover working tree...

Then, running c_patch /opt/android_L5.0.0_1.0.0-ga_core_source/code/l5.0.0_1.0.0-ga imx_l5.0.0_1.0.0-ga does't work. It shows c-patch: commond not found. Why c_patch does't work? Was it really add c_patch function sucessfully when running “  source /opt/android_L5.0.0_1.0.0-ga_core_source/code/l5.0.0_1.0.0-ga/and_patch.sh”. How can we patch sucessfully?

Thank you

0 项奖励
回复
7,738 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Yong

dual-role mode (otg) is implemented in chipidea usb driver,

refer to Linux Manual sect.41.2.6 Changing the Controller Operation Mode,

controller mode is defined at dt file, eg arch/arm/boot/dts/imx6q-sabresd.dts

dr_mode =  “otg” /* Set controller as otg mode */

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复