[meta-xilinx] zedboard usb issues

Nathan Rossi nathan.rossi at xilinx.com
Fri Oct 31 02:35:53 PDT 2014


> -----Original Message-----
> From: meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-
> bounces at yoctoproject.org] On Behalf Of Simon Vincent
> Sent: Friday, October 31, 2014 12:48 AM
> To: meta-xilinx at yoctoproject.org
> Subject: [meta-xilinx] zedboard usb issues
> 
> I have build a zedboard image using the latest xilinx-yocto but I am
> having problems with the usb.
> 
> I find that 50% of the time I get an error initialising the usb phy:
> root at zedboard-zynq7:~# dmesg|grep -i usb
> [    0.562406] usbcore: registered new interface driver usbfs
> [    0.568243] usbcore: registered new interface driver hub
> [    0.573986] usbcore: registered new device driver usb
> [    1.314762] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    1.329453] zynq-dr e0002000.ps7-usb: Unable to init USB phy, missing?
> [    1.336866] usbcore: registered new interface driver usb-storage
> [    1.461775] usbcore: registered new interface driver usbhid
> [    1.469402] usbhid: USB HID core driver
> 
> The rest of the time I get the following but no usb devices are
> recognised:
> 
> root at zedboard-zynq7:~# dmesg|grep -i usb
> [    0.562418] usbcore: registered new interface driver usbfs
> [    0.568255] usbcore: registered new interface driver hub
> [    0.573981] usbcore: registered new device driver usb
> [    1.314193] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    1.331922] Found TI TUSB1210 ULPI transceiver.
> [    1.341299] zynq-ehci zynq-ehci.0: Xilinx Zynq USB EHCI Host Controller
> [    1.348773] zynq-ehci zynq-ehci.0: new USB bus registered, assigned
> bus number 1
> [    1.405684] zynq-ehci zynq-ehci.0: USB 2.0 started, EHCI 1.00
> [    1.418015] hub 1-0:1.0: USB hub found
> [    1.429784] usbcore: registered new interface driver usb-storage
> [    1.560122] usbcore: registered new interface driver usbhid
> [    1.567687] usbhid: USB HID core driver
> 
> If I boot using the sdcard image that came with the zedboard the USB
> works every time and recognises usb devices.
> 
> Has anyone else had problems with this?

I have seen this before with other boards. It is caused when the USB PHY is not reset properly. I don't see the issue in my testing most likely due to FSBL and or U-Boot resetting the phy.

Linux is able to reset the PHY, and I have a patch on my nrossi/next branch which should fix this issue you are seeing. Would you be able to give it a try and let me know the outcome?, the branch is at:
https://github.com/nathanrossi/meta-xilinx/compare/nrossi/next

Regards,
Nathan

> 
> Thanks
> 
> Simon
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx



More information about the meta-xilinx mailing list