r1202 - trunk/src/host/devirginator

werner at sita.openmoko.org werner at sita.openmoko.org
Thu Mar 1 19:49:08 CET 2007


Author: werner
Date: 2007-03-01 19:49:02 +0100 (Thu, 01 Mar 2007)
New Revision: 1202

Modified:
   trunk/src/host/devirginator/environment.in
   trunk/src/host/devirginator/setup.sh
Log:
environment.in: don't "saveenv" after changing the console to usbtty or serial
setup.sh: look for UIMAGE and ROOTFS with -r, not -f, so that one can use
  /dev/null for stage 1 only setups



Modified: trunk/src/host/devirginator/environment.in
===================================================================
--- trunk/src/host/devirginator/environment.in	2007-03-01 18:43:42 UTC (rev 1201)
+++ trunk/src/host/devirginator/environment.in	2007-03-01 18:49:02 UTC (rev 1202)
@@ -32,15 +32,13 @@
   Set console to USB:
   setenv stdin usbtty;
   setenv stdout usbtty;
-  setenv stderr usbtty;
-  saveenv
+  setenv stderr usbtty
 
 menu_2=
   Set console to serial:
   setenv stdin serial;
   setenv stdout serial;
-  setenv stderr serial;
-  saveenv
+  setenv stderr serial
 
 menu_3=
   Power off:

Modified: trunk/src/host/devirginator/setup.sh
===================================================================
--- trunk/src/host/devirginator/setup.sh	2007-03-01 18:43:42 UTC (rev 1201)
+++ trunk/src/host/devirginator/setup.sh	2007-03-01 18:49:02 UTC (rev 1202)
@@ -126,7 +126,7 @@
 if [ -z "$UIMAGE" ]; then
     UIMAGE=${RELEASE_DIR}/uImage-2.6-'*'-fic-${PLATFORM}-'*'.bin
 fi
-if [ ! -f "$UIMAGE" ]; then
+if [ ! -r "$UIMAGE" ]; then
     download UIMAGE "$UIMAGE"
 fi
 
@@ -153,7 +153,7 @@
 if [ -z "$ROOTFS" ]; then
     ROOTFS=${RELEASE_DIR}/openmoko-devel-image-fic-${PLATFORM}-'*'.rootfs.jffs2
 fi
-if [ ! -f "$ROOTFS" ]; then
+if [ ! -r "$ROOTFS" ]; then
     download ROOTFS "$ROOTFS"
 fi
 





More information about the commitlog mailing list