summaryrefslogtreecommitdiff
path: root/include/configs/mx51_bbg_android.h
diff options
context:
space:
mode:
authorZhang Jiejing <jiejing.zhang@freescale.com>2011-01-27 15:02:30 +0800
committerZhang Jiejing <jiejing.zhang@freescale.com>2011-01-27 16:55:06 +0800
commite5a0219ac0190ec7ed472f515987bcfaee2cfb9c (patch)
tree2da947ef266f0848b02bbc5b89d69767017d7f25 /include/configs/mx51_bbg_android.h
parent9a215c39b684f9f697d1d81aaafa26c8d1031817 (diff)
downloadu-boot-imx-e5a0219ac0190ec7ed472f515987bcfaee2cfb9c.zip
u-boot-imx-e5a0219ac0190ec7ed472f515987bcfaee2cfb9c.tar.gz
u-boot-imx-e5a0219ac0190ec7ed472f515987bcfaee2cfb9c.tar.bz2
ENGR00118558 MX51/MX53: change the boot command of android boards.
The android uImage is greater than 3M, so we need to change the boot command. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'include/configs/mx51_bbg_android.h')
-rw-r--r--include/configs/mx51_bbg_android.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/configs/mx51_bbg_android.h b/include/configs/mx51_bbg_android.h
index 4b1271a..04607a1 100644
--- a/include/configs/mx51_bbg_android.h
+++ b/include/configs/mx51_bbg_android.h
@@ -127,7 +127,7 @@
"rootfs=ext4 di1_primary"
#define CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC \
"run bootargs_base bootargs_android_recovery;" \
- "mmc read 0 ${loadaddr} 0x800 0x1800;bootm"
+ "mmc read 0 ${loadaddr} 0x800 0x2000;bootm"
#define CONFIG_ANDROID_RECOVERY_CMD_FILE "/recovery/command"
#define CONFIG_ANDROID_SYSTEM_PARTITION_MMC 2
@@ -182,15 +182,15 @@
"setenv filesize; saveenv\0" \
"bootcmd=run bootcmd_SD \0" \
"bootcmd_SD=run bootargs_base bootargs_android;" \
- "mmc read 0 ${loadaddr} 0x800 1800;" \
- "mmc read 0 ${rd_loadaddr} 0x2000 0x258;" \
+ "mmc read 0 ${loadaddr} 0x800 2000;" \
+ "mmc read 0 ${rd_loadaddr} 0x3000 0x258;" \
"bootm ${loadaddr} ${rd_loadaddr}\0" \
"bootargs_android=setenv bootargs ${bootargs} " \
"androidboot.console=ttymxc0 init=/init " \
"di1_primary calibration\0" \
"bootcmd_android_recovery=run bootargs_base" \
" bootargs_android_recovery;" \
- "mmc read 0 ${loadaddr} 0x800 0x1800;bootm\0" \
+ "mmc read 0 ${loadaddr} 0x800 0x2000;bootm\0" \
"bootargs_android_recovery=setenv bootargs ${bootargs}" \
" init=/init root=/dev/mmcblk0p4 rootfs=ext4" \
" di1_primary \0" \