r4117 - trunk/src/host/devirginator

werner at sita.openmoko.org werner at sita.openmoko.org
Tue Feb 26 11:13:33 CET 2008


Author: werner
Date: 2008-02-26 11:13:31 +0100 (Tue, 26 Feb 2008)
New Revision: 4117

Modified:
   trunk/src/host/devirginator/setup.sh
Log:
setup.sh: use  envedit.pl -s 0x40000  on GTA02



Modified: trunk/src/host/devirginator/setup.sh
===================================================================
--- trunk/src/host/devirginator/setup.sh	2008-02-26 09:03:03 UTC (rev 4116)
+++ trunk/src/host/devirginator/setup.sh	2008-02-26 10:13:31 UTC (rev 4117)
@@ -303,6 +303,12 @@
 # --- "devirginate" shell script ----------------------------------------------
 
 
+if [ "$PLATFORM" = gta01 ]; then
+    env_size_opt=
+else
+    env_size_opt=0x40000
+fi
+
 cat <<EOF >devirginate
 #!/bin/sh -e
 # MACHINE-GENERATED. DO NOT EDIT !
@@ -367,7 +373,7 @@
     ./openocdcmd.pl $OPENOCD_HOST $OPENOCD_PORT \
       "reset halt" wait_halt resume exit
     sleep 5
-    ./envedit.pl -i tmp/env.old -o tmp/env.new \
+    ./envedit.pl $env_size_opt -i tmp/env.old -o tmp/env.new \
        -D$U_PLATFORM -D$U_PLATFORM$U_BOARD -f tmp/environment
     $DFU_UTIL $USB_ID -a u-boot_env -D tmp/env.new
     ./openocdcmd.pl $OPENOCD_HOST $OPENOCD_PORT "reset run" exit





More information about the commitlog mailing list