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

login
register
mail settings
Submitter nagabhushana.netagunte@ti.com
Date July 28, 2011, 4:25 p.m.
Message ID <1311870338-18950-9-git-send-email-nagabhushana.netagunte@ti.com>
Download mbox | patch
Permalink /patch/107281/
State Changes Requested
Headers show

Comments

nagabhushana.netagunte@ti.com - July 28, 2011, 4:25 p.m.
From: Nagabhushana Netagunte <nagabhushana.netagunte@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@ti.com>
Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>
---
 include/configs/da850evm.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

Patch

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
 
 /*