public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] uboot: fastboot: fix high speed endpoint descriptors
@ 2016-04-12 12:51 Roger Quadros
  2016-04-12 12:51 ` [U-Boot] [PATCH 1/2] fastboot: Fix wMaxPacketSize for High-Speed IN endpoint Roger Quadros
  2016-04-12 12:51 ` [U-Boot] [PATCH 2/2] fastboot: Enable the respective speed endpoints at runtime Roger Quadros
  0 siblings, 2 replies; 11+ messages in thread
From: Roger Quadros @ 2016-04-12 12:51 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-04-13  8:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-12 12:51 [U-Boot] [PATCH 0/2] uboot: fastboot: fix high speed endpoint descriptors Roger Quadros
2016-04-12 12:51 ` [U-Boot] [PATCH 1/2] fastboot: Fix wMaxPacketSize for High-Speed IN endpoint Roger Quadros
2016-04-12 13:54   ` Lukasz Majewski
2016-04-13  1:42     ` Steve Rae
2016-04-13  7:19       ` Roger Quadros
2016-04-13  2:18   ` Steve Rae
2016-04-13  2:34     ` Hong Chen
2016-04-12 12:51 ` [U-Boot] [PATCH 2/2] fastboot: Enable the respective speed endpoints at runtime Roger Quadros
2016-04-12 13:47   ` Lukasz Majewski
2016-04-13  1:43     ` Steve Rae
2016-04-13  8:30   ` [U-Boot] [PATCH v2 " Roger Quadros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox