
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@samsung.com] Sent: Monday, June 18, 2012 2:25 PM To: Marek Vasut Cc: u-boot@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+ini...
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.