Skip to content

Fix USB2 / USB3 support #3

Description

@wevieee

Hey,

The last couple of days (weeks?!) I have been working on bringing up USB3 on the AXU2CG.
I can't believe that USB support is actually working in the 2020.1 reference implementation from Alinx; as quite some changes to the device tree are required.

Based on *.dtsi files from the ZCU104 (https://github.com/Xilinx/device-tree-xlnx/blob/xlnx_rel_v2022.2/device_tree/data/kernel_dtsi/2022.2/BOARD/zcu104-reva.dtsi) I got USB2 and USB3 up and running now.

linaro@linaro-developer:/root$ uname -a 
Linux linaro-developer 5.15.36-xilinx-v2022.2 #1 SMP Mon Oct 3 07:50:07 UTC 2022 aarch64 GNU/Linux
linaro@linaro-developer:/root$ dmesg | grep 'usb '
[    5.065107] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    5.073371] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.080591] usb usb1: Product: xHCI Host Controller
[    5.085469] usb usb1: Manufacturer: Linux 5.15.36-xilinx-v2022.2 xhci-hcd
[    5.092249] usb usb1: SerialNumber: xhci-hcd.1.auto
[    5.125279] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    5.133547] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.140771] usb usb2: Product: xHCI Host Controller
[    5.145647] usb usb2: Manufacturer: Linux 5.15.36-xilinx-v2022.2 xhci-hcd
[    5.152427] usb usb2: SerialNumber: xhci-hcd.1.auto
[    5.388098] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    5.545973] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=93.04
[    5.554158] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.561290] usb 1-1: Product: USB2.1 Hub
[    5.565213] usb 1-1: Manufacturer: GenesysLogic
[    5.671722] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[    5.698262] usb 2-1: New USB device found, idVendor=05e3, idProduct=0620, bcdDevice=93.04
[    5.706441] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.713570] usb 2-1: Product: USB3.1 Hub
[    5.717486] usb 2-1: Manufacturer: GenesysLogic
[   15.083652] usb 2-1.4: new SuperSpeed USB device number 3 using xhci-hcd
[   15.108379] usb 2-1.4: New USB device found, idVendor=0781, idProduct=5581, bcdDevice= 1.00
[   15.116739] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   15.124057] usb 2-1.4: Product: Ultra
[   15.127720] usb 2-1.4: Manufacturer: SanDisk
[   15.131990] usb 2-1.4: SerialNumber: 4C530001130328109085

Small drawback is the fact that I couldn't get it working based on your Zynq settings, so I ended up using the Zynq settings from another design. And as a lot of changes are visible I have no idea what actually is fixing this issue... I already noticed the PWM implementation, blinking LED and possibly much more is now broken, but in my opinion this is a quite good base to start working with. Also DP support should be fairly easy now..

You already did do a lot of testing of specific peripherals on the board, it might be good to have them all tested again. Could you do that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions