User's Manual

www.openmoko.com
8
This program is Free Software and has ABSOLUTELY NO WARRANTY
Usage: dfu-util [options] ...
-h --help Print this help message
-V --version Print the version number
-l --list List the currently attached DFU
capable USB devices
-d --device vendor:product Specify Vendor/Product ID of DFU
device
-c --cfg config_nr Specify the Configuration of DFU
device
-i --intf intf_nr Specify the DFU Interface number
-a --alt alt_nr Specify the Altseting of the DFU
Interface
-t --transfer-size Specify the number of bytes per USB
Transfer
-U --upload file Read firmware from device into <file>
-D --download file Write firmware from <file> into device
-R --reset Issue USB Reset signalling once
we're finished
1-4-4 List function
Using the --list option, you can list the available DFU capable devices, their
configuration, interface and altsettings. Below is an example for a current
Neo1973 phone in u-boot Runtime Mode
# ./dfu-util --list
dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY
Found DFU Runtime: [0x1457:0x5119] devnum=0, cfg=0, intf=2, alt=0,
name="USB Device Firmware Upgrade"
Below is an example for a current Neo1973 phone in u-boot DFU Mode
# ./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"