Hi,
On 6/9/25 15:41, Patrice CHOTARD wrote:
+U-Boot mailing list i forgot to set.
On 6/9/25 14:40, Patrice CHOTARD wrote:
Hi all
Since commit c5d685b8993c ("usb: dwc2: Unify flush and reset logic with v4.20a
support") on next branch
"ums" command is broken, we got the following issue on STM32MP157c-DK2 and
STM32MP135f-DK boards:
STM32MP> ums 0 mmc 0
UMS: LUN 0, dev mmc 0, hwpart 0, sector 0x0, count 0x1dacc00
\dwc2_core_reset: Waiting for GINTSTS_CURMODE_HOST timeout
|dwc2_core_reset: Waiting for GINTSTS_CURMODE_HOST timeout
/dwc2_core_reset: Waiting for GINTSTS_CURMODE_HOST timeout
|dwc2_core_reset: Waiting for GINTSTS_CURM_HOST timeout
/dwc2_core_reset: Waiting for GINTSTS_CURMODE_HOST timeout
\dwc2_core_reset: Waiting for GINTSTS_CURMODE_HOST timeout
/dwc2_core_reset: Waiting for GINTSTS_CURMODE_HOST timeout
/dwc2_core_reset: Waiting for GINTSTS_CURMODE_HOST timeout
dwc2_core_reset: Waiting for GINTSTS_CURE_HOST timeout
dwc2_core_reset: Waiting for GINTSTS_CURMODE_HOST timeout
/c2_core_reset: Waiting for GINTSTS_CURMODE_HOST timeout
-dwc2_core_reset: Waiting for GINTSTS_CURMODE_HOST timeout
-dwc2_core_reset: Waiting for GINTSTS_CURMODE_HOST timeout
/dwc2_core_reset: Waiting for GINTSTS_CURMODE_HOST timeout
/dwc2_core_reset: Waiting for GINTSTS_CURM_HOST timeout
/dwc2_core_reset: Waiting for GINTSTS_CURMODE_HOST timeout
/dwc2_core_reset: Waiting for GINTSTS_CURMODE_HOST timeout
Thanks
Patrice
I think I found the root cause of the issue in the serir, I push the
next fixes:
[PATCH] usb: dwc2: fix reset logic in dwc2_core_reset
https://patchwork.ozlabs.org/project/uboot/list/?series=466391
Tested on STM32MP13F-DK for device mode (forced).
Regards
Patrick