r1228 - trunk/src/host/devirginator
werner at sita.openmoko.org
werner at sita.openmoko.org
Sat Mar 3 00:19:24 CET 2007
Author: werner
Date: 2007-03-03 00:19:16 +0100 (Sat, 03 Mar 2007)
New Revision: 1228
Added:
trunk/src/host/devirginator/config.phase0
Modified:
trunk/src/host/devirginator/Makefile
trunk/src/host/devirginator/setup.sh
Log:
setup.sh: always download the index file from the Web (the current logic would
only "cache" in case of problems anyway)
Makefile: commented out "devirginate" target causing double execution of
setup.sh
config.phase0: phase 0 sample configuration
Modified: trunk/src/host/devirginator/Makefile
===================================================================
--- trunk/src/host/devirginator/Makefile 2007-03-02 22:53:34 UTC (rev 1227)
+++ trunk/src/host/devirginator/Makefile 2007-03-02 23:19:16 UTC (rev 1228)
@@ -28,11 +28,11 @@
.PHONY: tarball
-devirginate: config environment.in openocd.in u-boot.in \
- setup.sh smiley.gz \
- crc32.pl envedit.pl openocdcmd.pl scriptify.pl
- mkdir -p tmp
- ./setup.sh
+#devirginate: config environment.in openocd.in u-boot.in \
+# setup.sh smiley.gz \
+# crc32.pl envedit.pl openocdcmd.pl scriptify.pl
+# mkdir -p tmp
+# ./setup.sh
smiley.ppm: smiley.fig
fig2dev -L ppm -m 2 $< >$@ || { rm -f $@; exit 1; }
Added: trunk/src/host/devirginator/config.phase0
===================================================================
--- trunk/src/host/devirginator/config.phase0 2007-03-02 22:53:34 UTC (rev 1227)
+++ trunk/src/host/devirginator/config.phase0 2007-03-02 23:19:16 UTC (rev 1228)
@@ -0,0 +1,22 @@
+#
+# config - devirginator configuration
+#
+# This is a shell script sourced by "setup.sh".
+#
+
+OPENOCD_HOST=localhost
+SNAPSHOT=20070301
+BOARD=bv3
+
+
+stuff=http://buildhost-old.openmoko.org/snapshots/gta01-20070301/tmp/deploy/images
+
+LOWLEVEL=$stuff/lowlevel_foo-gta01bv3-20070302200829.bin
+UBOOT=$stuff/u-boot-gta01bv3-20070302200829.bin
+UIMAGE=$stuff/uImage-2.6-200703022008-fic-gta01.bin
+ROOTFS=$stuff/openmoko-devel-image-fic-gta01-20070302115654.rootfs.jffs2
+
+DFU_UTIL=$stuff/dfu-util
+
+OPENOCD=$stuff/openocd
+OPENOCD_CFG=http://people.openmoko.org/werner/openocd-debugv2.cfg
Modified: trunk/src/host/devirginator/setup.sh
===================================================================
--- trunk/src/host/devirginator/setup.sh 2007-03-02 22:53:34 UTC (rev 1227)
+++ trunk/src/host/devirginator/setup.sh 2007-03-02 23:19:16 UTC (rev 1228)
@@ -40,10 +40,8 @@
return
fi
index=tmp/index-${SNAPSHOT}.html
- if [ ! -f $index ]; then
- wget -O tmp/index "`dirname \"$2\"`/"
- mv tmp/index $index
- fi
+ rm -f $index
+ wget -O $index "`dirname \"$2\"`/"
n="`basename \"$2\" | sed 's/*/[-a-zA-Z0-9_.]*/g'`"
sed '/^.*[^-a-zA-Z0-9_.]\('"$n"'\)[^-a-zA-Z0-9_.].*$/s//\1/p;d' \
<$index >tmp/files
More information about the commitlog
mailing list