[BUG] Broken USB on StarFive VisionFive 2
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Mon Nov 17 14:59:54 CET 2025
Hello Hal, hello Minda,
USB on the StarFive VisionFive 2 is somehow broken.
The `usb start` via preboot results in an error.
When I stop and restart USB it works.
I am on origin/master (v2026.01-rc2-41-g69cc92d6869).
I have a single USB stick plugged in. I tried with different devices.
Best regards
Heinrich
starting USB...
Register 5000420 NbrPorts 5
Starting the controller
USB XHCI 1.00
Adding block device usb_mass_storage.lun0 failed, r = 20
Bus xhci_pci: 3 USB Device(s) found
scanning usb for storage devices... 2 Storage Device(s) found
Working FDT set to ff718640
Hit any key to stop autoboot: 0
StarFive # usb tree
USB device tree:
1 Hub (5 Gb/s, 0mA)
| U-Boot XHCI Host Controller
|
+-2 Hub (480 Mb/s, 100mA)
| USB2.0 Hub
|
+-3 Mass Storage (480 Mb/s, 224mA)
SanDisk Cruzer Fit 4C530102811224103381
StarFive # part list usb 0
Partition Map for usb device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 64 4802720 00000000-01 cd
2 4802784 14112 00000000-02 ef Boot
3 4816896 56672256 00000000-03 83
StarFive # ls usb 0:2
WARN endpoint is halted
WARN endpoint is halted
Resetting EP 3...
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
Resetting EP 3...
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
Resetting EP 3...
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
Resetting EP 3...
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
Resetting EP 3...
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
0 file(s), 0 dir(s)
StarFive # usb stop
stopping USB..
StarFive # usb start
starting USB...
Register 5000420 NbrPorts 5
Starting the controller
USB XHCI 1.00
Bus xhci_pci: 3 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
StarFive # ls usb 0:2
EFI/
0 file(s), 1 dir(s)
More information about the U-Boot
mailing list