[U-Boot] [PATCH v2 0/7] dfu:usb: Composite USB download gadget with DFU function

Lukasz Majewski l.majewski at samsung.com
Tue Jul 10 10:27:11 CEST 2012


Hi Marek,

> Dear Tom Rini,
> 
> > On Mon, Jul 09, 2012 at 01:28:27PM +0200, Lukasz Majewski wrote:
> > > Hi Marek,
> > > 
> > > > Those patches add support for composite USB download gadget.
> > > > This gadget (at least for now) is equipped with DFU download
> > > > function.
> > > > 
> > > > A separate DFU back-end and front-end have been added.
> > > > Back-end is placed at ./drivers/dfu directory. The front-end is
> > > > implemented as USB function.
> > > > 
> > > > The back-end is written in a generic manner with storage device
> > > > specific code separated (eMMC).
> > > > 
> > > > DFU specification can be found at:
> > > > http://wiki.openmoko.org/wiki/USB_DFU_-_The_USB_Device_Firmware_Upgrade
> > > > _standard
> > > > 
> > > > Example usage:
> > > > 
> > > > u-boot side: dfu mmc 0
> > > > PC: dfu-util -U IMAGE.bin -a uImage (for upload)
> > > > 
> > > >     dfu-util -D uImage -a uImage (download)
> > > > 
> > > > To list the alt settings:
> > > >         dfu mmc 0 list
> > > > 
> > > > Test HW:
> > > >         Exynos4210 Trats board
> > > > 
> > > > Lukasz Majewski (7):
> > > >   dfu:usb: Support for g_dnl composite download gadget.
> > > >   dfu:usb: DFU USB function (f_dfu) support for g_dnl composite
> > > > gadget dfu: DFU backend implementation
> > > >   dfu: MMC specific routines for DFU operation
> > > >   dfu:cmd: Support for DFU u-boot command
> > > >   arm:trats: Support for USB UDC driver at TRATS board.
> > > >   arm:trats: Enable g_dnl composite USB gadget with embedded DFU
> > > >   
> > > >     function on TRATS
> > > 
> > > Do you have more comments about those patches?
> > 
> > I _think_ he's been busy with exams and preparing for the U-Boot BoF
> > this week.  I'll make sure this gets brought up then however.
> 
> Exams are long past, but there's a lot of other stuff -- the driver
> model, the denx work, the LSM this week -- I wish I could cut myself
> in four or so.

As a side note - I'm looking forward to see your keynote video about
the new driver model :-).

> 
> But weren't there some open questions, especially about the function
> vs. command stuff? The rest were really minor things and I believe
> you closed them with ease. There are just the few big questions, but
> it doesn't seem people are too interested to discuss them.

I'm open for a discussion :-) 

I will post the v3, after the LSM and discussion about the command
vs. function issue.

-- 
Best regards,

Lukasz Majewski

Samsung Poland R&D Center | Linux Platform Group


More information about the U-Boot mailing list