Skip to content

VIM2 does not boot with a USB 2.0 HUB connected to the Type-C port on boot #3

@S-trace

Description

@S-trace

Hello.

I have U-Boot 2021.07 (Nov 12 2021 - 11:30:50 +0800) installed on VIM2 V1.2 and have a problem with the board:
It does not boot if there is a USB 2.0 HUB connected to the Type-C port with the following error:

starting USB...
Bus usb@c9000000: dwc3_meson_gxl_get_phys: usb2 ports: 3
Register 3000140 NbrPorts 3
Starting the controller
USB XHCI 1.00
scanning bus usb@c9000000 for devices... XHCI timeout on event type 33... cannot recover.
BUG at drivers/usb/host/xhci-ring.c:482/xhci_wait_for_event()!
BUG!
resetting ...

The board boots fine if the same hub is connected to any Type-A port.
Complete boot logs (with and without hub on Type-C) are attached:
TypeC-HUB-no-boot.txt
TypeC-PC-boot-ok.txt

The same configuration (USB HUB connected to Type-C port) works fine on U-Boot 2015.01 and Ubuntu Focal with Linux 4.9/

Could you please fix this problem or guide me on how to fix it?

Thank you.

UPD:
I found the following workaround:

setenv no_usb yes
saveenv
reset

It helped me to use USB HUB on Type-C port.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions