mfgtools icon indicating copy to clipboard operation
mfgtools copied to clipboard

U-Boot error because of wrong USB endpoint

Open dolcini opened this issue 7 months ago • 3 comments

With U-Boot 2025.04, i.MX8M Plus SoC, and latest UUU release, there are errors during download using fastboot protocol.

Starting download of 1842 bytes
dwc3-generic-peripheral usb@38100000: request 00000000ffb29080 was not queued to ep1in-bulk
downloading of 1842 bytes finished
dwc3-generic-peripheral usb@38100000: request 00000000ffb29080 was not queued to ep1in-bulk
dwc3-generic-peripheral usb@38100000: request 00000000ffb29080 was not queued to ep1in-bulk
Starting download of 118 bytes
dwc3-generic-peripheral usb@38100000: request 00000000ffb29080 was not queued to ep1in-bulk
downloading of 118 bytes finished
dwc3-generic-peripheral usb@38100000: request 00000000ffb29080 was not queued to ep1in-bulk
dwc3-generic-peripheral usb@38100000: request 00000000ffb29080 was not queued to ep1in-bulk
Starting download of 43289099 bytes
dwc3-generic-peripheral usb@38100000: request 00000000ffb29080 was not queued to ep1in-bulk
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..................................

The download succeed despite these errors.

The issue seems related to some hard-coded USB endpoints in the UUU tool.

More details available here https://lore.kernel.org/all/[email protected]/ and https://lore.kernel.org/all/[email protected]/

Cc: @marex @nxpfrankli @MrVan

verdin-imx8mp-uuu-issue.txt

dolcini avatar Apr 14 '25 08:04 dolcini

can you try mfgtools branch ep_in? dymantic search interrupt endpoint number.

nxpfrankli avatar Apr 14 '25 19:04 nxpfrankli

@nxpfrankli

tested uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.201-11-g6df71aaa0789

with latest U-Boot master, same error

# uuu recovery
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.201-11-g6df71aaa0789

Success 1    Failure 0                                                
                                                                       
                                                                       
3:111-154128 2/ 2 [Done                                  ] FB: done                                                     
Starting download of 16384 bytes
dwc3-generic-peripheral usb@31000000: request 0000000099f27040 was not queued to ep1in-bulk

downloading of 16384 bytes finished
dwc3-generic-peripheral usb@31000000: request 0000000099f27040 was not queued to ep1in-bulk

dolcini avatar Apr 15 '25 07:04 dolcini

It should be other issue

nxpfrankli avatar Apr 15 '25 15:04 nxpfrankli