
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_stan...
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.