1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-12-24 00:57:42 +02:00
xburst-tools/qiboot/dfu-kboot
Andy Green 0d888f897e add-dfu-script.patch
Little helper script to do the DFU action without getting confused
by changing VID / PID

Signed-off-by: Andy Green <andy@openmoko.com>
2008-08-13 00:34:40 +01:00

8 lines
240 B
Bash
Executable File

#!/bin/bash
../dfu-util/src/dfu-util -a 1 -d 0x1d50:0x5119 -D image/kboot.udfu
if [ $? -eq 1 ] ; then
../dfu-util/src/dfu-util -a 1 -d 0x1d50:0x5120 -D image/kboot.udfu
../dfu-util/src/dfu-util -a 1 -d 0x1d50:0x5119 -D image/kboot.udfu
fi