![]() |
Languages: |
English • العربية • Български • Česky • Dansk • Deutsch • Esperanto • Eesti • Español • فارسی • Suomi • Français • עברית • Magyar • Italiano • 한국어 • Nederlands • Norsk (bokmål) • Polski • Português • Română • Русский • Svenska • Slovenčina • Українська • 中文(中国大陆) • 中文(台灣) • Euskara • Català |
dfu-util is a program that implements the Host (PC) side of the USB DFU (Universal Serial Bus Device Firmware Upgrade) protocol.
In the Openmoko project, we use this program to communicate with our specially enhanced U-Boot, which implements the DFU device side.
Using dfu-util and your smartphone, you can
Dfu-util is currently maintained at http://dfu-util.gnumonks.org/.
On Debian and Ubuntu, you'll need libusb-dev: sudo apt-get install libusb-dev autogen pkg-config autotools-dev autoconf automake
On Fedora you'll need libusb-devel and libusb-static: yum install libusb-devel libusb-static
On Gentoo you can: emerge -va openmoko-dfu-util
You can check out and build the latest version of dfu-util using the following git command:
git clone git://git.openezx.org/dfu-util.git
cd dfu-util
./autogen.sh
./configure
make
The resulting binary is dfu-util/src/dfu-util.
Binary packages will be made available as part of the regular Openmoko builds. Currently, there is a dfu-util for Linux/i386.
You need to make the downloaded file (dfu-util) executable with:
chmod +x dfu-util
you can then run it with
./dfu-util
see below for full instructions.
dfu-util 0.0+r4880-1 is packaged for Debian >= lenny, so can be installed with: apt-get install dfu-util
dfu-util 0.0+r4067-3.1 is packaged for Ubuntu >= intrepid (8.10), so can be installed with: apt-get install dfu-util
dfu-util is packaged for Slackware (12.1), so can be installed with: pkgtool
A newer SlackBuild is also available on slackbuilds.org
dfu-util is packaged for Arch Linux, so can be installed with makepkg
The links below install rpm packaged dfu-util in (open)SuSE :
1-Click Install for openSuSE 10.3
1-Click Install for openSuSE 11.0
1-Click Install for openSuSE 11.1
1-Click Install for openSuSE Factory
DFU-Util is in the main tree under the name openmoko-dfu-util.
Currently, there is a largely untested binary for Win32 (see Dfu-util-windows). Windows users can refer to No_Linux for a more tested approach.
Compiling dfu-util on Mac:
See Manuals/Dfu-util