[PATCH] usb: Fix USB read configuration error on some devices

Marek Vasut marek.vasut at mailbox.org
Fri Feb 20 22:54:23 CET 2026


On 2/20/26 5:47 AM, Ronan Dalton wrote:
> The following error sometimes occurs on PNY USB sticks:
> 
>    => usb start
>    starting USB...
>    USB XHCI 1.00
>    WARN endpoint is halted
>    WARN endpoint is halted
>    usb_new_device: Cannot read configuration, skipping device 154b:6000
>    Bus usb3 at 500000: 1 USB Device(s) found
>           scanning usb for storage devices... 0 Storage Device(s) found
> 
> Note that this USB stick works correctly in Linux but not in u-boot.
> 
> Work around this quirk by adding a small delay before calling
> usb_get_configuration_no, which it would fail in otherwise (with the
> error code -EINVAL).
> 
> Signed-off-by: Ronan Dalton <ronan.dalton at alliedtelesis.co.nz>
Does the following also make the USB stick work ?

=> setenv usb_pgood_delay 2000
=> usb reset

?


More information about the U-Boot mailing list