On 7/24/26 7:15 AM, Romain Gantois wrote:

Hello Romain,

The following features were removed to reduce the memory footprint of the

driver, and to avoid including features not relevant to U-Boot:
   - Suspend/resume
   - Handling of endpoints > 2

The code seems to handle 3 endpoints ?


Yes, I'm talking in terms of USB endpoint numbers here, so endpoints 0-2 are
handled.

+/* Only handle the first three endpoints for now. This is sufficient to
+ * expose classic bootloader gadgets such as Fastboot or DFU.
+ */
+#define USBF_NUM_ENDPOINTS     3

But why not handle the additional endpoints ?


Because I didn't see a major use case for them in U-Boot, and removing their
handling allowed a reduction in code and program volume which seems relevant
for U-Boot.

Also, can you test whether 'ums 0 mmc 0.1,0.2,0' works to expose eMMC HW
BOOT partitions and HW USER partition as three separate UMS devices over
the same USB connection ?

Sure, I'll give it a try.
Thank you !

Reply via email to