From: Quentin Schulz <quentin.schulz@cherry.de>
To: Anders Roxell <anders.roxell@linaro.org>,
u-boot@lists.u-boot-project.org
Cc: marek.vasut@mailbox.org, trini@konsulko.com,
ilias.apalodimas@linaro.org, michal.simek@amd.com,
lukma@nabladev.com, alchark@flipper.net,
jerome.forissier@arm.com, dlechner@baylibre.com, anshuld@ti.com,
sjg@chromium.org, Thinh.Nguyen@synopsys.com,
mkorpershoek@kernel.org, love.kumar@amd.com, s-vadapalli@ti.com,
Jonas Karlman <jonas@kwiboo.se>
Subject: Re: [PATCH v11 00/30] usb: dwc3: part 2, make the resynced code work
Date: Mon, 9 Nov 2026 15:03:22 +0100 [thread overview]
Message-ID: <da653d41-6c49-46ff-99df-91df27e45815@cherry.de> (raw)
In-Reply-To: <20261107072224.3492260-1-anders.roxell@linaro.org>
Hi Anders,
On 11/7/26 8:21 AM, Anders Roxell wrote:
[...]
> Tested on hardware with v11:
[...]
> - Rockchip: host on RK3399 Puma and RK3588 Tiger (Quentin). The two
> Tiger regressions from v10 are gone, and he sent a Tested-by:
>
> Tested-by: Quentin Schulz <quentin.schulz@cherry.de> # RK3399 Puma usbdrd_dwc3_1
> Tested-by: Quentin Schulz <quentin.schulz@cherry.de> # RK3588 Tiger usb_host1_xhci + usb_host2_xhci
As promised, I gave DWC3 on my Pine64 Quartz64 Model A a try but
couldn't make the single USB3 port work in U-Boot from main at
ab4dc5aacf95 ("Merge patch series "Misc Fixes for VGA BIOS Emulation"")
or from v11 at 6030c4d33099 ("usb: dwc3: enable SUSPHY again after xhci
is registered"). It works in Linux though. Maybe I'm holding it wrong,
who knows, first time booting the board on my side. I've asked Jonas on
IRC if he had USB3 work at some point since he's the one who added its
support in U-Boot.
One try:
=> usb reset && usb tree && random $loadaddr 0x8000 && mw.q
$kernel_addr_r 0xffffffffffffffff 0x1000 && usb dev 0 && usb write
$loadaddr 0 0x40 && usb read $kernel_addr_r 0 0x40 && cmp.q $loadaddr
$kernel_addr_r 0x1000
resetting USB...
USB XHCI 1.10
USB XHCI 1.10
USB EHCI 1.00
USB OHCI 1.0
USB EHCI 1.00
USB OHCI 1.0
cannot reset port 2!?
ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token
(IN) or did
not provide a handshake (OUT) (5)
ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token
(IN) or did
not provide a handshake (OUT) (5)
ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token
(IN) or did
not provide a handshake (OUT) (5)
ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token
(IN) or did
not provide a handshake (OUT) (5)
ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token
(IN) or did
not provide a handshake (OUT) (5)
ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token
(IN) or did
not provide a handshake (OUT) (5)
unable to get device descriptor (error=-1)
Bus usb@fcc00000: 1 USB Device(s) found
Bus usb@fd000000: 1 USB Device(s) found
Bus usb@fd800000: 1 USB Device(s) found
Bus usb@fd840000: 1 USB Device(s) found
Bus usb@fd880000: 1 USB Device(s) found
Bus usb@fd8c0000: 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
USB device tree:
1 Hub (5 Gb/s, 0mA)
U-Boot XHCI Host Controller
1 Hub (5 Gb/s, 0mA)
U-Boot XHCI Host Controller
1 Hub (480 Mb/s, 0mA)
u-boot EHCI Host Controller
1 Hub (12 Mb/s, 0mA)
U-Boot Root Hub
1 Hub (480 Mb/s, 0mA)
u-boot EHCI Host Controller
1 Hub (12 Mb/s, 0mA)
U-Boot Root Hub
32768 bytes filled with random data
Device 0: unknown device
Another try:
resetting USB...
USB XHCI 1.10
USB XHCI 1.10
USB EHCI 1.00
USB OHCI 1.0
USB EHCI 1.00
USB OHCI 1.0
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
WARN endpoint is halted
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
WARN endpoint is halted
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
WARN endpoint is halted
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
WARN endpoint is halted
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
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
** fs_devread read error - block
ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token
(IN) or did
not provide a handshake (OUT) (5)
ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token
(IN) or did
not provide a handshake (OUT) (5)
ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token
(IN) or did
not provide a handshake (OUT) (5)
ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token
(IN) or did
not provide a handshake (OUT) (5)
ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token
(IN) or did
not provide a handshake (OUT) (5)
unable to get device descriptor (error=-1)
Bus usb@fcc00000: 1 USB Device(s) found
Bus usb@fd000000: 2 USB Device(s) found
Bus usb@fd800000: 1 USB Device(s) found
Bus usb@fd840000: 1 USB Device(s) found
Bus usb@fd880000: 1 USB Device(s) found
Bus usb@fd8c0000: 1 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
USB device tree:
1 Hub (5 Gb/s, 0mA)
U-Boot XHCI Host Controller
1 Hub (5 Gb/s, 0mA)
| U-Boot XHCI Host Controller
|
+-2 Mass Storage (5 Gb/s, 126mA)
Kingston DataTraveler 3.0 1C6F654E48EBB161D95D8F07
1 Hub (480 Mb/s, 0mA)
u-boot EHCI Host Controller
1 Hub (12 Mb/s, 0mA)
U-Boot Root Hub
1 Hub (480 Mb/s, 0mA)
u-boot EHCI Host Controller
1 Hub (12 Mb/s, 0mA)
U-Boot Root Hub
32768 bytes filled with random data
Device 0: Vendor: Kingston Rev: PMAP Prod: DataTraveler 3.0
Type: Removable Hard Disk
Capacity: 14784.0 MB = 14.4 GB (30277632 x 512)
... is now current device
usb write: device 0 block # 0, count 64 ... Resetting EP 3...
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
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
WARN endpoint is halted
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
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
0 blocks written: ERROR
Yet another try:
=> usb reset && usb tree && random $loadaddr 0x8000 && mw.q
$kernel_addr_r 0xffffffffffffffff 0x1000 && usb dev 0 && usb write
$loadaddr 0 0x40 && usb read $kernel_addr_r 0 0x40 && cmp.q $loadaddr
$kernel_addr_r 0x1000
resetting USB...
USB XHCI 1.10
USB XHCI 1.10
USB EHCI 1.00
USB OHCI 1.0
USB EHCI 1.00
USB OHCI 1.0
Resetting EP 3...
WARN endpoint is halted
Resetting EP 3...
WARN endpoint is halted
Resetting EP 2...
WARN endpoint is halted
Resetting EP 3...
WARN endpoint is halted
Resetting EP 3...
WARN endpoint is halted
Resetting EP 3...
WARN endpoint is halted
READ_CAP ERROR
abort_td: Expected a TRB_TRANSFER TRB first
BUG at drivers/usb/host/xhci-ring.c:591/abort_td()!
BUG!
resetting ...
Once I attach a USB2 hub to the USB3 port, the USB stick works just fine
in U-Boot (in USB2 mode of course).
I've checked with git-range-diff between the v11 on GitHub and what was
sent here as v11, they match. Considering the RK3566 issue is not new,
so unless Jonas (or someone else) can help me figure out what I did
wrong and make USB3 work on my Quartz64 Model A, I give this series the
green light for Rockchip.
Cheers,
Quentin
next prev parent reply other threads:[~2026-11-09 14:03 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-07 7:21 [PATCH v11 00/30] usb: dwc3: part 2, make the resynced code work Anders Roxell
2026-11-07 7:21 ` [PATCH v11 01/30] x86: asm: io.h: add rmb() and wmb() Anders Roxell
2026-11-07 7:21 ` [PATCH v11 02/30] dm: add helpers needed by the resynced DWC3 code Anders Roxell
2026-11-08 16:24 ` Marek Vasut
2026-11-07 7:21 ` [PATCH v11 03/30] phy: cadence: use reset_control_assert() from reset.h Anders Roxell
2026-11-07 7:21 ` [PATCH v11 04/30] usb: phy: add the usb_phy helpers needed by the resynced DWC3 code Anders Roxell
2026-11-07 7:21 ` [PATCH v11 05/30] usb: gadget: adapt the gadget API after the resync Anders Roxell
2026-11-07 7:22 ` [PATCH v11 06/30] usb: gadget: udc: make udc-core build in U-Boot Anders Roxell
2026-11-07 7:22 ` [PATCH v11 07/30] usb: host: xhci: fix up after the resync Anders Roxell
2026-11-07 7:22 ` [PATCH v11 08/30] usb: dwc3: core: remove the code U-Boot does not use Anders Roxell
2026-11-07 7:22 ` [PATCH v11 09/30] usb: dwc3: core: bring back the U-Boot entry points Anders Roxell
2026-11-07 7:22 ` [PATCH v11 10/30] usb: dwc3: core: adapt to the U-Boot APIs Anders Roxell
2026-11-08 16:28 ` Marek Vasut
2026-11-07 7:22 ` [PATCH v11 11/30] usb: dwc3: adapt io.h, the Makefile and the TI glue Anders Roxell
2026-11-07 7:22 ` [PATCH v11 12/30] usb: dwc3: make gadget and ep0 build in U-Boot Anders Roxell
2026-11-07 7:22 ` [PATCH v11 13/30] usb: dwc3: ep0: flush and invalidate cache around ep0 transfers Anders Roxell
2026-11-07 7:22 ` [PATCH v11 14/30] usb: dwc3: gadget: flush and invalidate cache around transfers Anders Roxell
2026-11-07 7:22 ` [PATCH v11 15/30] usb: dwc3: core: flush the event buffer after allocation Anders Roxell
2026-11-07 7:22 ` [PATCH v11 16/30] usb: dwc3: make the am62 glue build in U-Boot Anders Roxell
2026-11-07 7:22 ` [PATCH v11 17/30] usb: gadget: ci_udc: move to the udc-core registration Anders Roxell
2026-11-07 7:22 ` [PATCH v11 18/30] usb: gadget: ci_udc: set endpoint capabilities Anders Roxell
2026-11-07 7:22 ` [PATCH v11 19/30] usb: gadget: dwc2_udc_otg: fix up after the resync Anders Roxell
2026-11-07 7:22 ` [PATCH v11 20/30] usb: gadget: fix up the function drivers " Anders Roxell
2026-11-07 7:22 ` [PATCH v11 21/30] usb: gadget: at91_udc: register with udc-core Anders Roxell
2026-11-07 7:22 ` [PATCH v11 22/30] usb: gadget: atmel_usba_udc: fix up after the resync Anders Roxell
2026-11-07 7:22 ` [PATCH v11 23/30] usb: gadget: atmel_usba_udc: set endpoint capabilities Anders Roxell
2026-11-07 7:22 ` [PATCH v11 24/30] usb: gadget: at91_udc: " Anders Roxell
2026-11-07 7:22 ` [PATCH v11 25/30] usb: musb-new: fix up after the resync Anders Roxell
2026-11-07 7:22 ` [PATCH v11 26/30] usb: musb-new: set endpoint capabilities Anders Roxell
2026-11-07 7:22 ` [PATCH v11 27/30] usb: mtu3: fix up after the resync Anders Roxell
2026-11-07 7:22 ` [PATCH v11 28/30] usb: mtu3: set endpoint capabilities Anders Roxell
2026-11-07 7:22 ` [PATCH v11 29/30] usb: cdns3: fix up after the resync Anders Roxell
2026-11-07 7:22 ` [PATCH v11 30/30] usb: dwc3: enable SUSPHY again after xhci is registered Anders Roxell
2026-11-09 14:03 ` Quentin Schulz [this message]
2026-11-10 15:18 ` [PATCH v11 00/30] usb: dwc3: part 2, make the resynced code work Marek Vasut
2026-11-11 7:13 ` Michal Simek
2026-11-11 9:57 ` Quentin Schulz
2026-11-11 13:08 ` Anders Roxell
2026-11-11 16:18 ` Marek Vasut
2026-11-12 12:20 ` Anders Roxell
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=da653d41-6c49-46ff-99df-91df27e45815@cherry.de \
--to=quentin.schulz@cherry.de \
--cc=Thinh.Nguyen@synopsys.com \
--cc=alchark@flipper.net \
--cc=anders.roxell@linaro.org \
--cc=anshuld@ti.com \
--cc=dlechner@baylibre.com \
--cc=ilias.apalodimas@linaro.org \
--cc=jerome.forissier@arm.com \
--cc=jonas@kwiboo.se \
--cc=love.kumar@amd.com \
--cc=lukma@nabladev.com \
--cc=marek.vasut@mailbox.org \
--cc=michal.simek@amd.com \
--cc=mkorpershoek@kernel.org \
--cc=s-vadapalli@ti.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.u-boot-project.org \
/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.