[U-Boot] [PATCH 0/2] uboot: fastboot: fix high speed endpoint descriptors

Roger Quadros rogerq at ti.com
Tue Apr 12 14:51:47 CEST 2016


Hi,

I've not tested this extensively except running "fastboot devices"
and reading the usb device descriptor using lsusb -v.

USB Endpoint descriptors before:

      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

and after:

      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

cheers,
-roger

Roger Quadros (2):
  fastboot: Fix wMaxPacketSize for High-Speed IN endpoint
  fastboot: Enable the respective speed endpoints at runtime

 drivers/usb/gadget/f_fastboot.c | 55 +++++++++++++++++++++++++++++++----------
 1 file changed, 42 insertions(+), 13 deletions(-)

-- 
2.5.0



More information about the U-Boot mailing list