[U-Boot] [PATCHv2] omap3evm: Pass 'mem' argument to linux kernel

Sanjeev Premi premi at ti.com
Tue Sep 27 17:00:53 CEST 2011


In absence of this argument, Linux kernel doesn't boot.

Even though many newer boards support 256M, default
value has been set to 128M to ensure that default
build can boot older EVM variants.

Signed-off-by: Sanjeev Premi <premi at ti.com>
---
 Changes since v1:
  Removed the string terminators "\0" from
  definition of mmcargs and nandargs.

 include/configs/omap3_evm.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
index 7af30c2..c399515 100644
--- a/include/configs/omap3_evm.h
+++ b/include/configs/omap3_evm.h
@@ -200,11 +200,14 @@
 	"loadaddr=0x82000000\0" \
 	"usbtty=cdc_acm\0" \
 	"mmcdev=0\0" \
+	"memsize=128M\0" \
 	"console=ttyO0,115200n8\0" \
 	"mmcargs=setenv bootargs console=${console} " \
+		"mem=${memsize} " \
 		"root=/dev/mmcblk0p2 rw " \
 		"rootfstype=ext3 rootwait\0" \
 	"nandargs=setenv bootargs console=${console} " \
+		"mem=${memsize} " \
 		"root=/dev/mtdblock4 rw " \
 		"rootfstype=jffs2\0" \
 	"loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
-- 
1.7.0.4



More information about the U-Boot mailing list