UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
3,782 Views
Registered: ‎11-24-2013

Linux USB 3 driver - Zynq Ultrascale+

Jump to solution

Hi everyone,

 

I would like to use the USB 3.0 of the new Zynq® UltraScale+™ MPSoC to send information at the data rates of USB 3.0. The idea is to have a Linux running on the PS to manage this USB communication.

 

In this reference design (Zynq UltraScale+ MPSoC USB 3.0 Mass Storage Device Class Design) provided by Xilinx, a Linux driver is being used to manage the USB of the Zynq and showing a "USB Mass device".

 

There is another quite similar reference design (Zynq-7000 AP SoC USB Mass Storage Device Class Design Example Techtip) in which the same setup is done, but this one is for USB 2.0

 

The difference between these two designs, is the "physical layer". Whereas in the Zynq-7000 there's no USB 3 controller, in the new Zynq Ultrascale the hardware is compatible with USB 3. But no one indicated Linux in any of these 2 designs, if the USB was 2 or 3. The only configuration steps were to select the "USB Gadget Driver" when compiling the kernel and to modify the device tree.

 

My question is: are these Linux drivers independent of the USB version that the hardware is implementing and the data rates that the hardware can achieve? Will I get the USB 3.0 data rates when using the new Zynq Ultrascale if I select to use any of these drivers?

 

Thanks in advance!

 

Regards,

Ignacio

 

Tags (4)
0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
6,171 Views
Registered: ‎03-13-2017

Re: Linux USB 3 driver - Zynq Ultrascale+

Jump to solution

Hi Ignacio,

 

These are 2 different platforms from Xilinx. The 'Zynq-7000 AP SoC' supports up to USB 2.0 transfer speeds where as 'Zynq Ultrascale+ MPSoC' supports up to USB 3.0 transfer speeds. The USB controllers in these platforms are different, so are the the linux drivers. The relevant USB drivers are by-default enabled in respective linux kernel default configurations.

 

Now coming to your question.

 

Yes, The 'Linux gadget drivers' are independent of the USB versions.Only the USB controller drivers are different which are already enabled in defconfigs for respective platforms,so you don't have to enable them manually.

Once you choose any gadget driver, You will get USB 3.0 speeds on 'Zynq Ultrascale+ MPSoC' and USB 2.0 speeds on 'Zynq-7000 AP SoC' platforms.

 

Thanks,

Manish

0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
6,172 Views
Registered: ‎03-13-2017

Re: Linux USB 3 driver - Zynq Ultrascale+

Jump to solution

Hi Ignacio,

 

These are 2 different platforms from Xilinx. The 'Zynq-7000 AP SoC' supports up to USB 2.0 transfer speeds where as 'Zynq Ultrascale+ MPSoC' supports up to USB 3.0 transfer speeds. The USB controllers in these platforms are different, so are the the linux drivers. The relevant USB drivers are by-default enabled in respective linux kernel default configurations.

 

Now coming to your question.

 

Yes, The 'Linux gadget drivers' are independent of the USB versions.Only the USB controller drivers are different which are already enabled in defconfigs for respective platforms,so you don't have to enable them manually.

Once you choose any gadget driver, You will get USB 3.0 speeds on 'Zynq Ultrascale+ MPSoC' and USB 2.0 speeds on 'Zynq-7000 AP SoC' platforms.

 

Thanks,

Manish

0 Kudos
Explorer
Explorer
3,427 Views
Registered: ‎11-24-2013

Re: Linux USB 3 driver - Zynq Ultrascale+

Jump to solution

Hi Manish,

 

Thanks a lot for your answer!

 

Regards,

Ignacio

0 Kudos