aboutsummaryrefslogtreecommitdiff
path: root/dfu-kern
diff options
context:
space:
mode:
authorwarmcat <andy@warmcat.com>2008-11-19 17:09:28 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:09:28 +0000
commit26df63b430e79728b6c97c8ab2a78943cec9be70 (patch)
tree9c283df377e1fe28b3d5cfdde0e3059a80a53ae3 /dfu-kern
parent5d06110f9f9cc5743f4b0852d9dcf7d52a53b2ee (diff)
local-build-scripts.patch
Add a couple of handy scripts to crossmake and send over dfu From: warmcat <andy@warmcat.com>
Diffstat (limited to 'dfu-kern')
-rwxr-xr-xdfu-kern9
1 files changed, 9 insertions, 0 deletions
diff --git a/dfu-kern b/dfu-kern
new file mode 100755
index 00000000000..990abdd8976
--- /dev/null
+++ b/dfu-kern
@@ -0,0 +1,9 @@
+#!/bin/bash
+../../dfu-util/src/dfu-util -a 3 -d 0x1457:0x5119 -D uImage.bin
+if [ $? -eq 1 ] ; then
+../../dfu-util/src/dfu-util -a 3 -d 0x1457:0x5120 -D uImage.bin
+../../dfu-util/src/dfu-util -a 3 -d 0x1457:0x5119 -D uImage.bin
+
+fi
+
+