Difference between revisions of "Zynq development issues"
From ElphelWiki
Line 1: | Line 1: | ||
==Config== | ==Config== | ||
− | ==dmesg== | + | ===kernel=== |
+ | 4.0 (linux-xlnx 468329e7fac2b22e76897fbd40532cc0884ded2a) | ||
+ | ===device-tree=== | ||
+ | ... | ||
+ | ps7_usb_0: ps7-usb@e0002000 { | ||
+ | clocks = <&clkc 28>; | ||
+ | compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2"; | ||
+ | reg = <0xe0002000 0x1000>; | ||
+ | interrupt-parent = <&ps7_scugic_0>; | ||
+ | interrupts = <0 21 4>; | ||
+ | dr_mode = "host"; | ||
+ | phy_type = "ulpi"; | ||
+ | usb-phy = <&usb_phy0>; | ||
+ | } ; | ||
+ | ... | ||
+ | } ; | ||
+ | ... | ||
+ | usb_phy0: phy0{ | ||
+ | compatible = "ulpi-phy"; | ||
+ | #phy-cells = <0>; | ||
+ | reg = <0xe0002000 0x1000>; | ||
+ | viewport = <0x170>; | ||
+ | } ; | ||
+ | |||
+ | ==from dmesg== | ||
<font size='2'> | <font size='2'> | ||
[ 1.035759] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver | [ 1.035759] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver | ||
Line 10: | Line 34: | ||
<span style='color:red;'>[ 1.141232] ci_hdrc: probe of ci_hdrc.0 failed with error -110</span> | <span style='color:red;'>[ 1.141232] ci_hdrc: probe of ci_hdrc.0 failed with error -110</span> | ||
</font> | </font> | ||
+ | |||
+ | ==problem 1: vbus not found== | ||
+ | ===reason?=== | ||
+ | |||
+ | |||
==Links== | ==Links== | ||
* [https://forums.xilinx.com/t5/Embedded-Linux/USB-boot-with-Linux-2015-2-build/td-p/643868 Discussion w/o solution] | * [https://forums.xilinx.com/t5/Embedded-Linux/USB-boot-with-Linux-2015-2-build/td-p/643868 Discussion w/o solution] | ||
* [http://www.wiki.xilinx.com/Zynq+Linux+USB+Device+Driver Zynq Linux USB Device Driver] | * [http://www.wiki.xilinx.com/Zynq+Linux+USB+Device+Driver Zynq Linux USB Device Driver] | ||
* [https://forums.xilinx.com/t5/Embedded-Linux/USB-works-in-device-mode-but-not-in-host-mode/td-p/679097 ?!] | * [https://forums.xilinx.com/t5/Embedded-Linux/USB-works-in-device-mode-but-not-in-host-mode/td-p/679097 ?!] |
Revision as of 18:22, 12 April 2016
Contents
Config
kernel
4.0 (linux-xlnx 468329e7fac2b22e76897fbd40532cc0884ded2a)
device-tree
... ps7_usb_0: ps7-usb@e0002000 { clocks = <&clkc 28>; compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2"; reg = <0xe0002000 0x1000>; interrupt-parent = <&ps7_scugic_0>; interrupts = <0 21 4>; dr_mode = "host"; phy_type = "ulpi"; usb-phy = <&usb_phy0>; } ; ... } ; ... usb_phy0: phy0{ compatible = "ulpi-phy"; #phy-cells = <0>; reg = <0xe0002000 0x1000>; viewport = <0x170>; } ;
from dmesg
[ 1.035759] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.042319] usbcore: registered new interface driver usb-storage [ 1.073619] e0002000.ps7-usb supply vbus not found, using dummy regulator [ 1.103560] Registering platform device 'ci_hdrc.0'. Parent at e0002000.ps7-usb [ 1.114806] ci_hdrc ci_hdrc.0: ChipIdea HDRC found, revision: 22, lpm: 0; cap: f00d4100 op: f00d4140 [ 1.136023] ci_hdrc ci_hdrc.0: unable to init phy: -110 [ 1.141232] ci_hdrc: probe of ci_hdrc.0 failed with error -110