cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
8,144 Views
Registered: ‎08-26-2015

xusbps-ehci Drivers Zynq Zybo

Jump to solution

Hello,

I'm trying to build custom kernel for Zynq Zybo, but whatever I do USB wont work. I tried Xillinux distribution where USB works and found out that it uses drivers called "xusbps-ehci". I imediately tried to rebuild kernel but couldn't find those drivers in the .config. I also copied .config file from Xillinux, but with no succes. No xusbps-ehci drivers could be found anywhere. Can someone tell me where and how to get those drivers? It's driving me crazy!

Nemanja

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Visitor
Visitor
15,587 Views
Registered: ‎08-26-2015

Ok, it turns out that I've been using wrong repo (Xilinx linux repo). In the Digilent Linux repo drivers are working.

View solution in original post

0 Kudos
4 Replies
Highlighted
Visitor
Visitor
8,132 Views
Registered: ‎08-26-2015
Actually there is entry CONFIG_USB_XUSBPS_DR_OF=y in Xillinux .config file. But if I try to use this .config and then do menuconfig that entry disappears. I'm confused...
0 Kudos
Highlighted
Scholar
Scholar
8,119 Views
Registered: ‎05-28-2013
Are you running "make menuconfig" directly? You need to tell it you are going to cross-compile for ARM, otherwise it assumes you want native (x86), and hides options that do not apply. So you should run:

make ARCH=arm menuconfig

0 Kudos
Highlighted
Visitor
Visitor
8,106 Views
Registered: ‎08-26-2015

I did cross compiling and compiling on the board itself. Both approaches had no success. I managed to find the source code of the driver here. I've added it to the Kconfig and makefile in the drivers/usb/host and I'm compiling it right now. I will post update when it's over.

0 Kudos
Highlighted
Visitor
Visitor
15,588 Views
Registered: ‎08-26-2015

Ok, it turns out that I've been using wrong repo (Xilinx linux repo). In the Digilent Linux repo drivers are working.

View solution in original post

0 Kudos