imx8qxp android p9.0.0_2.3.4 adb不通

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

imx8qxp android p9.0.0_2.3.4 adb不通

ソリューションへジャンプ
1,065件の閲覧回数
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

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
971件の閲覧回数
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

元の投稿で解決策を見る

6 返答(返信)
1,038件の閲覧回数
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 件の賞賛
返信
1,025件の閲覧回数
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 件の賞賛
返信
1,003件の閲覧回数
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 件の賞賛
返信
981件の閲覧回数
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 件の賞賛
返信
972件の閲覧回数
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

917件の閲覧回数
xinchuan_2023
Contributor II

Hello Sanket,

    Please mark this case as closed.

Thanks.

 

0 件の賞賛
返信