dfu-util for Win32

NOTE: This has only been tested on the developer's box and with the FreeRunner.

In order to use dfu-util for Win32, you need to install a Windows driver when the device is in U-Boot. The LibUSB-Win32 driver and accompanying INF file for the OpenMoko can be found in OpenMokoDFU.zip at the link below. When the Windows New Device Wizard pops up, use this driver.

Once the driver is installed, then you can proceed and use the instructions found at the main dfu-util page.

The information below is for developers who would like to know how to compile dfu-util for Win32.

Porting dfu-util to Windows

NOTE: This is entirely work in progress. Nevertheless hopefully the information on this page will serve as a starting point for anyone who find the time to take this further. After all, as many people still use Windows PCs as their every day computers, having a convenient way to re-flash a Neo from Windows would probably open up the user base.

Potential Approaches

Cygwin

Not very attactive as Cygwin binaries require Cygwin in order to run. You will not get a simple, native dfu-util.exe which can be downloaded and used on any Windows machine that way.

MinGW/MSYS

MinGW (Minimalist GNU for Windows) seems to be the platform of choice.

You can try running the following command (if you are sure that libusb is correctly installed):

./configure USB_CFLAGS=-Iinclude USB_LIBS=-lusb

Preparing to use dfu-util

A Windows driver needs to be installed when the device is in U-Boot and connected through the USB. Windows does not come with a DFU class driver and Jungo seems to be the only one that has created a DFU class driver, but it is non-free. You can use LibUSB-Win32 as the driver for the device by creating an INF file for it for this device. Use inf-wizard.exe, which is a part of the LibUSB-Win32 binaries distribution. Run the wizard, select the following device:

Vendor ID Product ID Description
0x1D50 0x5119 USB Device

Insert the Manufacturer name: OpenMoko, or FIC?

Insert device description: Device Firmware Upgrade

Then save the INF file along with the auto generated CAT files.

When you get the New Device Wizard when plugging in the device in U-Boot mode into Windows, select this newly generated INF file.

Running dfu-util

Once the Windows driver is successfully installed, you can try some commands:

Views

Personal tools

dfu-util for Win32

NOTE: This has only been tested on the developer's box and with the FreeRunner.

In order to use dfu-util for Win32, you need to install a Windows driver when the device is in U-Boot. The LibUSB-Win32 driver and accompanying INF file for the OpenMoko can be found in OpenMokoDFU.zip at the link below. When the Windows New Device Wizard pops up, use this driver.

Once the driver is installed, then you can proceed and use the instructions found at the main dfu-util page.

The information below is for developers who would like to know how to compile dfu-util for Win32.

Porting dfu-util to Windows

NOTE: This is entirely work in progress. Nevertheless hopefully the information on this page will serve as a starting point for anyone who find the time to take this further. After all, as many people still use Windows PCs as their every day computers, having a convenient way to re-flash a Neo from Windows would probably open up the user base.

Potential Approaches

Cygwin

Not very attactive as Cygwin binaries require Cygwin in order to run. You will not get a simple, native dfu-util.exe which can be downloaded and used on any Windows machine that way.

MinGW/MSYS

MinGW (Minimalist GNU for Windows) seems to be the platform of choice.

You can try running the following command (if you are sure that libusb is correctly installed):

./configure USB_CFLAGS=-Iinclude USB_LIBS=-lusb

Preparing to use dfu-util

A Windows driver needs to be installed when the device is in U-Boot and connected through the USB. Windows does not come with a DFU class driver and Jungo seems to be the only one that has created a DFU class driver, but it is non-free. You can use LibUSB-Win32 as the driver for the device by creating an INF file for it for this device. Use inf-wizard.exe, which is a part of the LibUSB-Win32 binaries distribution. Run the wizard, select the following device:

Vendor ID Product ID Description
0x1D50 0x5119 USB Device

Insert the Manufacturer name: OpenMoko, or FIC?

Insert device description: Device Firmware Upgrade

Then save the INF file along with the auto generated CAT files.

When you get the New Device Wizard when plugging in the device in U-Boot mode into Windows, select this newly generated INF file.

Running dfu-util

Once the Windows driver is successfully installed, you can try some commands: