From: Lukasz Majewski <l.majewski@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] USB DFU support into mailline.
Date: Tue, 19 Jun 2012 10:56:12 +0200 [thread overview]
Message-ID: <20120619105612.619fdb27@lmajewski.digital.local> (raw)
In-Reply-To: <20120618170254.GA22301@bill-the-cat>
Hi Tom,
Thank you for feedback.
> On Mon, Jun 18, 2012 at 04:12:50PM +0200, Lukasz Majewski wrote:
> >
> > Hi Harman,
> >
> > > > -----Original Message-----
> > > > From: Lukasz Majewski [mailto:l.majewski at samsung.com]
> > > > Sent: Monday, June 18, 2012 2:25 PM
> > > > To: Marek Vasut
> > > > Cc: u-boot at lists.denx.de; Sohanpal, Harman; Kyungmin Park
> > > > Subject: Re: [U-Boot] USB DFU support into mailline.
> > > >
> > > > Dear All,
> > > >
> > > > > Dear Sohanpal, Harman,
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > Referring to
> > > > > > http://elinux.org/Merge_DFU_support_into_mainline_U-Boot, it
> > > > > > seems some work is going on for adding USB DFU support in
> > > > > > the mainline for u-boot. But I could not find any code
> > > > > > already in mainline. Is there anyone working on getting USB
> > > > > > DFU support to mainline?
> > > > > >
> > > > > > I am working on USB DFU on AM335x BeagleBone, and I want
> > > > > > help get USB DFU to mainline.
> > > > >
> > > > > Try looking through the u-boot mailing list. I think someone
> > > > > tried, but it needed more work.
> > > > >
> > > >
> > > > Dear Marek and Harman,
> > > >
> > > > I'm currently working on the DFU support at u-boot. A
> > > > composite USB gadget with DFU support is under development.
> > >
> > > Hi Lukasz,
> > >
> > > Thanks for the reply.
> > > When are you planning to send these patches to mailing list?
> > Yes, of course I will send those patches to u-boot mailing list.
> >
> > > If you can point me to some branch having your code, maybe I
> > > can also contribute to the work you have already done.
> >
> > You can look into the early DFU patches:
> > http://article.gmane.org/gmane.comp.boot-loaders.u-boot/116197/match=dfu+initial+implementation
> >
> > There DFU is implemented as a standalone USB gadget, but it will be
> > a part of a composite one.
>
> Would it be fair to say that a prerequisite for using the DFU support
> you are working on would be to have the composite driver
> (drivers/usb/gadget/composite.c) 7010f5b usb:gadget:composite USB
> composite gadget support
I've stated that I'm working on a composite USB gadget, which provides
DFU function.
The composite.c code is already in u-boot mainline (SHA1: 7010f5b
usb:gadget:composite USB composite gadget support). It is a Linux
kernel's composite driver from 2.6.36 ported to u-boot (no API change).
All one needs is the UDC driver (like s3c_udc_otg or
designware_udc.c, omap_*_udc or pxa27_udc) to run composite gadget.
> working with the musb framework?
The composite gadget uses Linux kernel's API for writing composite
gadgets. I don't know if it is compatible with musb framework.
In any question, please let me know.
--
Best regards,
Lukasz Majewski
Samsung Poland R&D Center | Linux Platform Group
next prev parent reply other threads:[~2012-06-19 8:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-15 18:44 [U-Boot] USB DFU support into mailline Sohanpal, Harman
2012-06-15 22:24 ` Marek Vasut
2012-06-18 8:54 ` Lukasz Majewski
2012-06-18 9:31 ` Sohanpal, Harman
2012-06-18 14:12 ` Lukasz Majewski
2012-06-18 17:02 ` Tom Rini
2012-06-19 8:56 ` Lukasz Majewski [this message]
2012-06-19 14:27 ` Tom Rini
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=20120619105612.619fdb27@lmajewski.digital.local \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox