imx8qxp android p9.0.0_2.3.4 adb不通

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

imx8qxp android p9.0.0_2.3.4 adb不通

Jump to solution
896 Views
xinchuan_2023
Contributor II

使用usb otg 1烧录和adb调试。烧录ok,adb 不通。

其中usbotg3作为host是好的,可以插鼠标使用。

麻烦大家帮忙分析一下,谢谢大家了!

软件配置

&usbotg1 {
vbus-supply = <&reg_usb_otg1_vbus>;
dr_mode = "otg";/*peripheral*//* host */
srp-disable;
hnp-disable;
adp-disable;
power-polarity-active-high;
disable-over-current;
status = "okay";
};

&usbotg3 {
vbus-supply = <&reg_usb_otg1_vbus>;
dr_mode = "host";/*peripheral*//* host */
srp-disable;
hnp-disable;
adp-disable;
power-polarity-active-high;
disable-over-current;
status = "okay";
};

 

原理图p1.png

Tags (1)
0 Kudos
Reply
1 Solution
802 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @xinchuan_2023,

I hope you are doing well.

"+ setprop vendor.usb.config "ci_hdrc.0"
I'm glad that this change made the issue resolved.

Hence Can I mark this case as closed?

Thanks & Regards,
Sanket Parekh

View solution in original post

6 Replies
869 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @xinchuan_2023,

I hope you are doing well.

Please provide more details on the issue.
What are the error logs related to that?
Please provide the dmesg logs or console logs to debug the issue further.

Thanks & Regards,
Sanket Parekh

0 Kudos
Reply
856 Views
xinchuan_2023
Contributor II

Hello Sanket,

attachment log.txt is the log,

there is no interrupt when I connect the usb_otg1 to the computer,and there is no error logs.

but the usb_otg3 is ok as host,

xinchuan_2023_0-1690538602462.png

 

thanks.

0 Kudos
Reply
834 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @xinchuan_2023,

I hope you are doing well.

Please make sure to check if one has soldered anything related to USB or not, if it's the case one can refer to the below-given link for reference.
https://community.nxp.com/t5/i-MX-Processors/imx6-USB-OTG/td-p/1216358

Please also make sure to check the voltage is ok.

One can manage the USB Host support through the kernel configuration options:
Support for Host-side USB (CONFIG_USB)
EHCI HCD (USB 2.0) support (CONFIG_USB_EHCI_HCD)
ChipIdea Highspeed Dual Role Controller (CONFIG_USB_CHIPIDEA)
ChipIdea device controller (CONFIG_USB_CHIPIDEA_UDC)
ChipIdea host controller (CONFIG_USB_CHIPIDEA_HOST)
Freescale MXS USB PHY support (CONFIG_USB_MXS_PHY)

One can manage the USB OTG support through the kernel configuration option:
OTG support (CONFIG_USB_OTG)

Please make sure to check the device tree configurations from the below-given location in the Linux source code.
Documentation/devicetree/bindings/usb/fsl-usb.txt.

One can find USB HOST as well as OTG-related configurations.

I hope this helps!

Thanks & Regards,
Sanket Parekh

0 Kudos
Reply
812 Views
xinchuan_2023
Contributor II

Hello Sanket ,

make changes as below. adb is ok.

- setprop vendor.usb.config "5b110000.usb3"
+ setprop vendor.usb.config "ci_hdrc.0"

thanks.

0 Kudos
Reply
803 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @xinchuan_2023,

I hope you are doing well.

"+ setprop vendor.usb.config "ci_hdrc.0"
I'm glad that this change made the issue resolved.

Hence Can I mark this case as closed?

Thanks & Regards,
Sanket Parekh

748 Views
xinchuan_2023
Contributor II

Hello Sanket,

    Please mark this case as closed.

Thanks.

 

0 Kudos
Reply