sulrnarum Posted June 5, 2018 Share Posted June 5, 2018 Hi, I'm running Arch Linux (https://archlinuxarm.org/platforms/armv7/xilinx/zedboard) on Zedboard and I'd like to use the OTG-USB as a host, but my Zedboard doesn't seem to detect the device plugged in (I've tried a USB flash drive). What are your suggestions? I've followed the instructions on http://zedboard.org/sites/default/files/documentations/GS-AES-Z7EV-7Z020-G-V7-1.pdf , but Zedboard just won't see the device. Link to comment Share on other sites More sharing options...
sbobrowicz Posted June 9, 2018 Share Posted June 9, 2018 @sulrnarum Did you short JP2 and JP3? They will need to be shorted to act as a USB host. Link to comment Share on other sites More sharing options...
sulrnarum Posted June 11, 2018 Author Share Posted June 11, 2018 On 6/9/2018 at 6:36 AM, sbobrowicz said: @sulrnarum Did you short JP2 and JP3? They will need to be shorted to act as a USB host. Yes, I did short them. I've followed everything from the linked instructions. Link to comment Share on other sites More sharing options...
sbobrowicz Posted June 13, 2018 Share Posted June 13, 2018 It could be the device tree, can you provide the node for the USB controller? I'm not familiar with the archlinux docs and images you are using, so I can't really say off the top what is wrong. You could use the Petalinux BSP (which includes pre-built images) from Xilinx as an example of a working linux system with USB host. That could help you pinpoint what is wrong in the archlinux image. Link to comment Share on other sites More sharing options...
sulrnarum Posted June 18, 2018 Author Share Posted June 18, 2018 Here's the devicetree I use: https://pastebin.com/4PuC8u7W Link to comment Share on other sites More sharing options...
sbobrowicz Posted June 19, 2018 Share Posted June 19, 2018 Try replacing the usb phy node with: usb_phy0: usb_phy@0 { compatible = "ulpi-phy"; #phy-cells = <0>; reg = <0xe0002000 0x1000>; view-port = <0x0170>; drv-vbus; }; And update the phy handle property in the usb controller: usb-phy = <&usb_phy0>; Link to comment Share on other sites More sharing options...
Question
sulrnarum
Hi, I'm running Arch Linux (https://archlinuxarm.org/platforms/armv7/xilinx/zedboard) on Zedboard and I'd like to use the OTG-USB as a host, but my Zedboard doesn't seem to detect the device plugged in (I've tried a USB flash drive). What are your suggestions? I've followed the instructions on http://zedboard.org/sites/default/files/documentations/GS-AES-Z7EV-7Z020-G-V7-1.pdf , but Zedboard just won't see the device.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.