dfu-util on Mac OS X

Harald Welte laforge at openmoko.org
Fri Aug 3 03:09:56 CEST 2007


[Cc'ing openmoko-uboot, since our DFU implementation is in u-boot]

On Thu, Aug 02, 2007 at 05:47:04PM -0400, Dr. H. Nikolaus Schaller wrote:

> we are still have problems to make dfu-util work on MacOS X and you might 
> be experienced in this area and might provide the right hint where to look 
> at.

Yes.  In fact we had some internal team working on win32 and macosX
versions of u-boot some 6-8 weeks ago, but like with many things we
never got any feedback.  I've asked the new software team leader to
investigate their status.

> One more observation:
>
> hns$ ./dfu-util --list
> dfu-util - (C) 2007 by OpenMoko Inc.
> This program is Free Software and has ABSOLUTELY NO WARRANTY
>
> Found Runtime: [0x1457:0x5119] devnum=0, cfg=0, intf=2, alt=0, name="USB 
> Device Firmware Upgrade"
> hns$
>
> While http://wiki.openmoko.org/wiki/Dfu-util says;
>
> # ./dfu-util --list
> dfu-util - (C) 2007 by OpenMoko Inc.
> This program is Free Software and has ABSOLUTELY NO WARRANTY
>
> Found DFU: [0x1457:0x5119] devnum=16, cfg=0, intf=0, alt=0, name="RAM 
> 0x32000000"
> Found DFU: [0x1457:0x5119] devnum=16, cfg=0, intf=0, alt=1, name="u-boot"
> Found DFU: [0x1457:0x5119] devnum=16, cfg=0, intf=0, alt=2, 
> name="u-boot_env"
> Found DFU: [0x1457:0x5119] devnum=16, cfg=0, intf=0, alt=3, name="kernel"
> Found DFU: [0x1457:0x5119] devnum=16, cfg=0, intf=0, alt=4, name="splash"
> Found DFU: [0x1457:0x5119] devnum=16, cfg=0, intf=0, alt=5, name="rootfs"
>
> Differences:
> * it says "Runtime" and not "DFU"

Yes.  I recommend to read the (short!) DFU specification before trying
software development related to it.  DFU has a 'Runtime' and a 'DFU'
mode with completely different USB descriptor set.  So everything looks
fine here.

> Is this a hint for someone who knows details about the flasher protocols?

The details are really easy to understand, and the official DFU
specification is linked from the OpenMoko wiki.

-- 
- Harald Welte <laforge at openmoko.org>          	        http://openmoko.org/
============================================================================
Software for the world's first truly open Free Software mobile phone



More information about the openmoko-uboot mailing list