[PATCH] dfu-util: Don't sleep unnecessarily
Bernard Blackham
b-openmoko at largestprime.net
Wed Mar 9 10:14:12 CET 2011
Hi Stefan,
> On Wed, 2011-03-09 at 16:49, Bernard Blackham wrote:
> > The DFU spec says that bwPollTimeout is the amount of time that
> > should pass between DFU_GETSTATUS requests. If the status is
> > already good, we do not need to sleep as we will not poll again.
> >
> > This speeds up DFU downloads directly into memory.
>
> Interesting point. What target you are testing this against?
This is on a Beagleboard-xM, with a custom patch to u-boot for DFU
support:
http://groups.google.com/group/beagleboard/browse_thread/thread/d837e52e29a583d4/
One point to note - like the OpenMoko version (which it was based
upon), the current u-boot patch does not populate bwPollTimeout
correctly. I will be posting a fixed patch shortly, so it will not
need a quirk. If people ask, please direct them to fix their u-boot
instead :)
> I'm going to check it against GTA02 and OpenPCD today or tomorrow
> and apply it if nothing breaks.
Thanks!
Bernard.
More information about the devel
mailing list