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

laforge at sita.openmoko.org laforge at sita.openmoko.org
Tue Feb 27 00:49:31 CET 2007


Author: laforge
Date: 2007-02-27 00:49:31 +0100 (Tue, 27 Feb 2007)
New Revision: 1142

Added:
   trunk/src/target/u-boot/patches/uboot-neo1973-defaultenv.patch
Modified:
   trunk/src/target/u-boot/patches/series
Log:
* update our compiled-in environment to a somewhat saner default


Modified: trunk/src/target/u-boot/patches/series
===================================================================
--- trunk/src/target/u-boot/patches/series	2007-02-26 23:40:59 UTC (rev 1141)
+++ trunk/src/target/u-boot/patches/series	2007-02-26 23:49:31 UTC (rev 1142)
@@ -62,3 +62,4 @@
 
 # those have to be implemented fully
 uboot-dfu.patch
+uboot-neo1973-defaultenv.patch

Added: trunk/src/target/u-boot/patches/uboot-neo1973-defaultenv.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-neo1973-defaultenv.patch	2007-02-26 23:40:59 UTC (rev 1141)
+++ trunk/src/target/u-boot/patches/uboot-neo1973-defaultenv.patch	2007-02-26 23:49:31 UTC (rev 1142)
@@ -0,0 +1,31 @@
+Index: u-boot/include/configs/neo1973.h
+===================================================================
+--- u-boot.orig/include/configs/neo1973.h	2007-02-27 00:43:16.000000000 +0100
++++ u-boot/include/configs/neo1973.h	2007-02-27 00:47:49.000000000 +0100
+@@ -115,8 +115,8 @@
+ #include <cmd_confdefs.h>
+ 
+ #define CONFIG_BOOTDELAY	3
+-#define CONFIG_BOOTARGS    	"rootfstype=jffs2 root=/dev/mtdblock4 console=ttySAC0,115200 console=tty0 loglevel=8"
+-#define CONFIG_BOOTCOMMAND	"nand read.e 0x32000000 0x34000 0x200000; bootm 0x32000000"
++#define CONFIG_BOOTARGS    	""
++#define CONFIG_BOOTCOMMAND	"setenv bootargs ${bootargs_base} ${mtdparts}; nand read.e 0x32000000 kernel; bootm 0x32000000"
+ 
+ #define CONFIG_DOS_PARTITION	1
+ 
+@@ -181,11 +181,14 @@
+ #define CONFIG_USBD_PRODUCTID_CDCACM 	0x5119    /* CDC ACM */
+ #define CONFIG_USBD_MANUFACTURER	"OpenMoko, Inc"
+ #define CONFIG_USBD_PRODUCT_NAME	"Neo1973 Bootloader " U_BOOT_VERSION
+-#define CONFIG_EXTRA_ENV_SETTINGS 	"usbtty=cdc_acm\0"
+ #define CONFIG_USBD_DFU			1
+ #define CONFIG_USBD_DFU_XFER_SIZE 	4096	/* 0x4000 */
+ #define CONFIG_USBD_DFU_INTERFACE	2
+ 
++#define CONFIG_EXTRA_ENV_SETTINGS 					\
++	"usbtty=cdc_acm\0"						\
++	"bootargs_base=rootfstype=jffs2 root=/dev/mtdblock4 console=ttySAC0,115200 console=tty0 loglevel=8\0" \
++	""
+ 
+ /*-----------------------------------------------------------------------
+  * Physical Memory Map





More information about the commitlog mailing list