[BUG] Broken USB on StarFive VisionFive 2

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Tue Nov 18 14:39:18 CET 2025


On 11/17/25 17:29, E Shattow wrote:
> 
> On 11/17/25 05:59, Heinrich Schuchardt wrote:
>> 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)
>>
>>
> 
> Is there a different outcome with v2025.01 ? If yes, are you able to git
> bisect?
> 
> -E

I see the same behavior on U-Boot 2025.01.

The issue only occurs on my VisionFive 2 boards and not on any other 
JH7110 boards (Star64, Mars, Mars CM, VisionFive 2 Lite).

Best regards

Heinrich


More information about the U-Boot mailing list