From: Lukasz Majewski <l.majewski@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] question regarding USB gadget driver (dwc2)
Date: Fri, 29 Jan 2016 17:40:33 +0100 [thread overview]
Message-ID: <20160129174033.6ac53284@amdc2363> (raw)
In-Reply-To: <56A8244E.3090109@broadcom.com>
Hi Steve,
>
>
> On 16-01-26 05:35 PM, Marek Vasut wrote:
> > On Wednesday, January 27, 2016 at 01:35:55 AM, Steve Rae wrote:
> >> Hi Marek & Lukasz,
> >>
> >>
> >> I have an issue running fastboot on my board (which is
> >> USB_SPEED_HIGH):
> >>
> >> => fastboot0
> >>
> >> failed to enable in ep
> >>
> >> failed to enable in ep
> >>
> >> failed to enable in ep
> >>
> >> Because of this, fastboot does not even initialize properly, and I
> >> need to "^C" to break out?
> >>
> >> I have traced this the following code in
> >> "drivers/usb/gadget/dwc2_udc_otg.c":
> >
> > I will have to delegate this onto Lukasz, since he's the s3c gadget
> > expert.
> >
> > Take a look at:
> > [PATCH 1/2] usb: gadget: s3c_udc_otg: fixed max packet size check
> > for ep_in in high speed
> >
> > Best regards,
> > Marek Vasut
> >
> yes - I think that 'patchwork.ozlabs.org/patch/560029' would resolve
> my issue
> Thanks, Steve
>
Ok, I see the point. The above patch should not bring any regression,
since if MPS < maxpacket(ep), then we will set the descriptor's
wMaxPacketSize as ep->ep.maxpacket.
I'm just wondering if you could share the wMaxPacketSize of your
platform (lsusb -v on HOST).
In my case it is:
wMaxPacketSize 0x0200 1x 512 bytes
--
Best regards,
Lukasz Majewski
Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
next prev parent reply other threads:[~2016-01-29 16:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-27 0:35 [U-Boot] question regarding USB gadget driver (dwc2) Steve Rae
2016-01-27 1:35 ` Marek Vasut
2016-01-27 1:58 ` Steve Rae
2016-01-27 2:11 ` Marek Vasut
2016-01-29 16:40 ` Lukasz Majewski [this message]
2016-01-29 18:19 ` Steve Rae
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160129174033.6ac53284@amdc2363 \
--to=l.majewski@samsung.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.