mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-29 09:06:14 +02:00
0d888f897e
Little helper script to do the DFU action without getting confused by changing VID / PID Signed-off-by: Andy Green <andy@openmoko.com>
8 lines
240 B
Bash
Executable File
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
|
|
|