USB dual role patch for Linux 3.10.17 BSP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB dual role patch for Linux 3.10.17 BSP

Jump to solution
3,971 Views
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?

Labels (3)
1 Solution
2,058 Views
Henry_p
NXP Employee
NXP Employee

Please find the attachment.

View solution in original post

6 Replies
2,058 Views
Henry_p
NXP Employee
NXP Employee

Got a patch from SH AE team.

0 Kudos
2,058 Views
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 Kudos
2,059 Views
Henry_p
NXP Employee
NXP Employee

Please find the attachment.

2,058 Views
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 Kudos
2,058 Views
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 Kudos
2,058 Views
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 Kudos