r3164 - trunk/src/target/u-boot/patches

laforge at sita.openmoko.org laforge at sita.openmoko.org
Mon Oct 15 08:07:38 CEST 2007


Author: laforge
Date: 2007-10-15 08:07:34 +0200 (Mon, 15 Oct 2007)
New Revision: 3164

Added:
   trunk/src/target/u-boot/patches/uboot-neo1973_defaultconsole_usbtty.patch
Modified:
   trunk/src/target/u-boot/patches/series
Log:
add a patch to make usbtty the default u-boot console


Modified: trunk/src/target/u-boot/patches/series
===================================================================
--- trunk/src/target/u-boot/patches/series	2007-10-15 05:54:20 UTC (rev 3163)
+++ trunk/src/target/u-boot/patches/series	2007-10-15 06:07:34 UTC (rev 3164)
@@ -79,3 +79,4 @@
 usbtty-irq-racecondition-fix.patch
 neo1973-gsmver.patch
 uboot-nand_write_yaffs.patch
+uboot-neo1973_defaultconsole_usbtty.patch

Added: trunk/src/target/u-boot/patches/uboot-neo1973_defaultconsole_usbtty.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-neo1973_defaultconsole_usbtty.patch	2007-10-15 05:54:20 UTC (rev 3163)
+++ trunk/src/target/u-boot/patches/uboot-neo1973_defaultconsole_usbtty.patch	2007-10-15 06:07:34 UTC (rev 3164)
@@ -0,0 +1,33 @@
+This patch ensures that even if no environment partition is present on a Neo1973
+device, the USB serial emulation will be the default console, not the serial port.
+
+This enables people with no debug board to always access the u-boot console, even
+if their environment partition is gone.
+
+The only remaining case of bootloader lock-out is now when the environment
+contains stdin/stdout/stderr=serial settings.
+
+Index: u-boot/include/configs/neo1973_gta01.h
+===================================================================
+--- u-boot.orig/include/configs/neo1973_gta01.h
++++ u-boot/include/configs/neo1973_gta01.h
+@@ -182,6 +182,7 @@
+ 
+ #define CONFIG_EXTRA_ENV_SETTINGS 					\
+ 	"usbtty=cdc_acm\0"						\
++	"stderr=usbtty\0stdout=usbtty\0stdin=usbtty\0"			\
+ 	"bootargs_base=rootfstype=jffs2 root=/dev/mtdblock4 console=ttySAC0,115200 console=tty0 loglevel=8\0" \
+ 	""
+ 
+Index: u-boot/include/configs/neo1973_gta02.h
+===================================================================
+--- u-boot.orig/include/configs/neo1973_gta02.h
++++ u-boot/include/configs/neo1973_gta02.h
+@@ -190,6 +190,7 @@
+ 
+ #define CONFIG_EXTRA_ENV_SETTINGS 					\
+ 	"usbtty=cdc_acm\0"						\
++	"stderr=usbtty\0stdout=usbtty\0stdin=usbtty\0"			\
+ 	"bootargs_base=rootfstype=jffs2 root=/dev/mtdblock4 console=ttySAC2,115200 console=tty0 loglevel=8\0" \
+ 	""
+ 





More information about the commitlog mailing list