summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinyu Chen <xinyu.chen@freescale.com>2010-12-22 15:36:18 +0800
committerXinyu Chen <xinyu.chen@freescale.com>2010-12-22 15:36:18 +0800
commit35d1e9fa81076f01235898d5065b6e3e5de2ffd0 (patch)
tree87ecdec5945130cc13f529c2087a5097f3a6a063
parent09671e589705148725467863a9f84b9011bdfe03 (diff)
downloadu-boot-imx-35d1e9fa81076f01235898d5065b6e3e5de2ffd0.zip
u-boot-imx-35d1e9fa81076f01235898d5065b6e3e5de2ffd0.tar.gz
u-boot-imx-35d1e9fa81076f01235898d5065b6e3e5de2ffd0.tar.bz2
ENGR00137273 uboot: update the android default env for 2.6.35 kernel
Change the ramdisk load address to loadaddr + 0x400000. Add gpu_memory= kernel parameter. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
-rw-r--r--include/configs/mx51_bbg_android.h6
-rw-r--r--include/configs/mx53_evk_android.h10
2 files changed, 8 insertions, 8 deletions
diff --git a/include/configs/mx51_bbg_android.h b/include/configs/mx51_bbg_android.h
index ce3778b..1709906 100644
--- a/include/configs/mx51_bbg_android.h
+++ b/include/configs/mx51_bbg_android.h
@@ -159,7 +159,7 @@
#define CONFIG_PRIME "FEC0"
#define CONFIG_LOADADDR 0x90800000 /* loadaddr env var */
-#define CONFIG_RD_LOADADDR (CONFIG_LOADADDR + 0x300000)
+#define CONFIG_RD_LOADADDR (CONFIG_LOADADDR + 0x400000)
#define CONFIG_EXTRA_ENV_SETTINGS \
"netdev=eth0\0" \
@@ -167,9 +167,9 @@
"uboot_addr=0xa0000000\0" \
"uboot=u-boot.bin\0" \
"kernel=uImage\0" \
- "rd_loadaddr=0x90B00000\0" \
+ "rd_loadaddr=0x90C00000\0" \
"nfsroot=/opt/eldk/arm\0" \
- "bootargs_base=setenv bootargs console=ttymxc0,115200\0"\
+ "bootargs_base=setenv bootargs console=ttymxc0,115200 gpu_memory=16M\0"\
"bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs " \
"ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0"\
"bootcmd_net=run bootargs_base bootargs_nfs; " \
diff --git a/include/configs/mx53_evk_android.h b/include/configs/mx53_evk_android.h
index 95734a3..124012e 100644
--- a/include/configs/mx53_evk_android.h
+++ b/include/configs/mx53_evk_android.h
@@ -151,7 +151,7 @@
#define CONFIG_PRIME "FEC0"
#define CONFIG_LOADADDR 0x70800000 /* loadaddr env var */
-#define CONFIG_RD_LOADADDR (CONFIG_LOADADDR + 0x300000)
+#define CONFIG_RD_LOADADDR (CONFIG_LOADADDR + 0x400000)
#define CONFIG_EXTRA_ENV_SETTINGS \
@@ -160,14 +160,14 @@
"uboot=u-boot.bin\0" \
"kernel=uImage\0" \
"loadaddr=0x70800000\0" \
- "rd_loadaddr=0x70B00000\0" \
+ "rd_loadaddr=0x70C00000\0" \
"nfsroot=/opt/eldk/arm\0" \
"bootargs_base=setenv bootargs ${bootargs} " \
- "console=ttymxc0,115200\0" \
+ "console=ttymxc0,115200 gpu_memory=16M\0" \
"bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs " \
"ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \
- "bootargs_android=setenv bootargs ${bootargs} mem=512M " \
- "androidboot.console=ttymxc0 init=/init " \
+ "bootargs_android=setenv bootargs ${bootargs} " \
+ "androidboot.console=ttymxc0 init=/init di0_primary" \
"video=mxcdi0fb:RGB565,800x480M@55 calibration\0" \
"bootcmd=run bootcmd_SD \0" \
"bootcmd_SD=run bootargs_base bootargs_android;" \