[U-Boot] [PATCH] dfu, usb: set usb descriptor to values defined in dfu spec 1.1

Marek Vasut marex at denx.de
Fri Sep 5 12:37:00 CEST 2014


On Friday, September 05, 2014 at 10:11:23 AM, Heiko Schocher wrote:

[...]

> > In the DFU 1.1 spec the point 4.2.1 describes the DFU MODE DEVICE
> > DESCRIPTOR.
> > 
> > According to information from point 4.- "Enumeration Phase":
> > 
> > "It is very important to note that the device exposes two distinct and
> > independent descriptor sets, one each at the appropriate time:
> > - Run-time descriptor (the one from [1] pointed out by Marek)
> > - DFU mode descriptor (the one from 4.2.1. - fixed by Heiko)
> > 
> > It seems to me that the first descriptor is defined at g_dnl.c and the
> > second, which I guess should be changed, at f_dfu.c
> 
> Ah, I fixed both ...
> 
> > However, to be 100% sure I need to examine this with USB analizer. I'm
> > going to setup it today or on Monday.
> 
> Oh, that would be great, thanks!

Thanks to both of you!

Best regards,
Marek Vasut


More information about the U-Boot mailing list