qm-dfu-util is a fork of dfu-util, a host side implementation of the DFU 1.0 and DFU 1.1 specification of the USB forum.
DFU is intended to download and upload firmware to devices connected over USB. It ranges from small devices like micro-controller boards up to mobile phones. qm-dfu-util allows you to download firmware to your Intel® Quark™ Microcontroller by using the serial interface (UART).
For building the host tool, first configure the build with:
./autogen.sh ./configure
Then compile it with:
make
The generated binary is src/dfu-util-qda
. You can have it installed into
your GNU/Linux host with:
sudo make install
The binary will be put into /usr/local/bin/
.
Windows binaries can be built in a MSYS2 environment, which provides a Linux-like environment for Windows.
MSYS2 can be downloaded from http://msys2.github.io
Install it and then copy the qm-dfu-util folder to
<MSYS2_installation_folder>\home\<your_user>
.
Open MSYS2 Shell and install the needed components:
pacman -S autoconf pacman -S perl pacman -S automake pacman -S make pacman -S mingw-w64-x86_64-gcc PATH=$PATH:/mingw64/bin/
To build the host tool, first configure the build with:
./autogen.sh ./configure
Then compile it with:
make
The generated binary is src/dfu-util-qda.exe
.
Windows binaries can also be cross-compiled from Ubuntu.
First, install MinGW:
sudo apt-get install mingw-w64
Then, configure the build with:
./autogen.sh ./configure --host=x86_64-w64-mingw32
Finally compile it with:
make
The generated binary is src/dfu-util-qda.exe
.