r1374 - trunk/src/host/devirginator
laforge at sita.openmoko.org
laforge at sita.openmoko.org
Thu Mar 15 13:59:50 CET 2007
Author: laforge
Date: 2007-03-15 13:59:49 +0100 (Thu, 15 Mar 2007)
New Revision: 1374
Modified:
trunk/src/host/devirginator/setup.sh
Log:
always explicitly indicate the usb vendor/product id of the neo1973 to prevent accidential use with other DFU capable devices
Modified: trunk/src/host/devirginator/setup.sh
===================================================================
--- trunk/src/host/devirginator/setup.sh 2007-03-15 12:50:49 UTC (rev 1373)
+++ trunk/src/host/devirginator/setup.sh 2007-03-15 12:59:49 UTC (rev 1374)
@@ -342,15 +342,15 @@
if \$stage2; then
echo === STAGE 2: DFU upload
sleep 5
- $DFU_UTIL -a kernel -D $UIMAGE
- $DFU_UTIL -a rootfs -D $ROOTFS
- $DFU_UTIL -a splash -D tmp/splash.gz
- $DFU_UTIL -a u-boot_env -U tmp/env.old
+ $DFU_UTIL -d1457:5119 -a kernel -D $UIMAGE
+ $DFU_UTIL -d1457:5119 -a rootfs -D $ROOTFS
+ $DFU_UTIL -d1457:5119 -a splash -D tmp/splash.gz
+ $DFU_UTIL -d1457:5119 -a u-boot_env -U tmp/env.old
./openocdcmd.pl $OPENOCD_HOST $OPENOCD_PORT \
"reset halt" wait_halt resume exit
sleep 5
./envedit.pl -i tmp/env.old -o tmp/env.new -f tmp/environment
- $DFU_UTIL -a u-boot_env -D tmp/env.new
+ $DFU_UTIL -d1457:5119 -a u-boot_env -D tmp/env.new
./openocdcmd.pl $OPENOCD_HOST $OPENOCD_PORT "reset run" exit
fi
More information about the commitlog
mailing list