All of lore.kernel.org
 help / color / mirror / Atom feed
From: E Shattow <e@freeshell.de>
To: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>,
	Hal Feng <hal.feng@starfivetech.com>,
	Minda Chen <minda.chen@starfivetech.com>
Cc: E Shattow <e@freeshell.de>, Marek Vasut <marex@denx.de>,
	U-Boot Mailing List <u-boot@lists.denx.de>
Subject: Re: [BUG] Broken USB on StarFive VisionFive 2
Date: Mon, 17 Nov 2025 08:29:32 -0800	[thread overview]
Message-ID: <d0045b92-e823-4c2f-b7a5-efa7ececce37@freeshell.de> (raw)
In-Reply-To: <9d9357c5-4c09-46a4-bf33-f53399c176f9@canonical.com>


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

  reply	other threads:[~2025-11-17 16:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-17 13:59 [BUG] Broken USB on StarFive VisionFive 2 Heinrich Schuchardt
2025-11-17 16:29 ` E Shattow [this message]
2025-11-18 13:39   ` Heinrich Schuchardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d0045b92-e823-4c2f-b7a5-efa7ececce37@freeshell.de \
    --to=e@freeshell.de \
    --cc=hal.feng@starfivetech.com \
    --cc=heinrich.schuchardt@canonical.com \
    --cc=marex@denx.de \
    --cc=minda.chen@starfivetech.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.