[U-Boot] [PATCH] da850: modify default bootargs and bootcmd

nagabhushana.netagunte at ti.com nagabhushana.netagunte at ti.com
Thu Jul 28 18:25:33 CEST 2011


From: Nagabhushana Netagunte <nagabhushana.netagunte at ti.com>

Starting from kernel 2.6.24 'rootwait' can be used to wait for
the rootdevice to become ready, this is preferred over choosing
a random delay.

In the case of da8xx/omap-l1xx the delay is dependant on the MMC
card present and can take more than 10 seconds in some cases.

Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj at ti.com>
Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte at ti.com>
---
 include/configs/da850evm.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 70d250e..21d8fe3 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -185,7 +185,9 @@
 #define CONFIG_REVISION_TAG
 #define CONFIG_SETUP_MEMORY_TAGS
 #define CONFIG_BOOTARGS		\
-	"mem=32M console=ttyS2,115200n8 root=/dev/mtdblock2 rw noinitrd ip=dhcp"
+	"mem=32M console=ttyS2,115200n8 root=/dev/mmcblk0p1 rw rootwait ip=off"
+#define CONFIG_BOOTCMD		\
+	"sf probe 0;sf read 0xc0700000 0x80000 0x220000;bootm 0xc0700000"
 #define CONFIG_BOOTDELAY	3
 
 /*
-- 
1.6.2.4



More information about the U-Boot mailing list