diff options
author | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-02-16 19:50:18 +0800 |
---|---|---|
committer | Lily Zhang <r58066@freescale.com> | 2012-02-27 13:01:08 +0800 |
commit | f532f697b8ee5a393a255fb9f16b3346ccdd653e (patch) | |
tree | e7005b1dbd08c9badd917278b11df2f38b2e6825 /include | |
parent | c530d9188dbf0d97cab4b38f0a53a28c56a6bd6c (diff) | |
download | u-boot-imx-f532f697b8ee5a393a255fb9f16b3346ccdd653e.zip u-boot-imx-f532f697b8ee5a393a255fb9f16b3346ccdd653e.tar.gz u-boot-imx-f532f697b8ee5a393a255fb9f16b3346ccdd653e.tar.bz2 |
ENGR00174536-2 MX6Q_SABRE[SD/Lite]: change bootcmd to booti
change boot command and recovery command to booti.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx6q_sabrelite_android.h | 22 | ||||
-rw-r--r-- | include/configs/mx6q_sabresd_android.h | 23 |
2 files changed, 13 insertions, 32 deletions
diff --git a/include/configs/mx6q_sabrelite_android.h b/include/configs/mx6q_sabrelite_android.h index 3898320..b933060 100644 --- a/include/configs/mx6q_sabrelite_android.h +++ b/include/configs/mx6q_sabrelite_android.h @@ -90,16 +90,14 @@ #define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x10000000 /* 256M byte */ #define CONFIG_ANDROID_RECOVERY -#define CONFIG_ANDROID_SYSTEM_PARTITION_MMC 2 -#define CONFIG_ANDROID_RECOVERY_PARTITION_MMC 4 +#define CONFIG_ANDROID_BOOT_PARTITION_MMC 1 +#define CONFIG_ANDROID_SYSTEM_PARTITION_MMC 5 +#define CONFIG_ANDROID_RECOVERY_PARTITION_MMC 2 #define CONFIG_ANDROID_CACHE_PARTITION_MMC 6 -#define CONFIG_ANDROID_RECOVERY_BOOTARGS_MMC \ - "setenv bootargs ${bootargs} init=/init root=/dev/mmcblk0p4 rootfs=ext4 rootwait" +#define CONFIG_ANDROID_RECOVERY_BOOTARGS_MMC NULL #define CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC \ - "run bootargs_android_recovery; " \ - "mmc dev 1; " \ - "mmc read ${loadaddr} 0x800 0x2000;bootm" + "booti mmc1 recovery" #define CONFIG_ANDROID_RECOVERY_CMD_FILE "/recovery/command" /*********************************************************** @@ -148,15 +146,7 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ "netdev=eth0\0" \ "ethprime=FEC0\0" \ - "ethaddr=00:04:9f:00:ea:d3\0" \ - "bootfile=uImage\0" \ - "bootargs=console=ttymxc1,115200 init=/init rw " \ - "video=mxcfb0 fbmem=10M vmalloc=400M enable_wait_mode=off\0" \ - "bootcmd_SD=mmc dev 1;" \ - "mmc read ${loadaddr} 0x800 0x2000;" \ - "mmc read ${rd_loadaddr} 0x3000 0x300\0" \ - "bootcmd=run bootcmd_SD; bootm ${loadaddr} ${rd_loadaddr}\0" \ - + "bootcmd=booti mmc1\0" #define CONFIG_ARP_TIMEOUT 200UL /* diff --git a/include/configs/mx6q_sabresd_android.h b/include/configs/mx6q_sabresd_android.h index 3ff1e14..6252d00 100644 --- a/include/configs/mx6q_sabresd_android.h +++ b/include/configs/mx6q_sabresd_android.h @@ -45,16 +45,14 @@ #endif /* if 0 */ #define CONFIG_ANDROID_RECOVERY -#define CONFIG_ANDROID_SYSTEM_PARTITION_MMC 2 -#define CONFIG_ANDROID_RECOVERY_PARTITION_MMC 4 +#define CONFIG_ANDROID_BOOT_PARTITION_MMC 1 +#define CONFIG_ANDROID_SYSTEM_PARTITION_MMC 5 +#define CONFIG_ANDROID_RECOVERY_PARTITION_MMC 2 #define CONFIG_ANDROID_CACHE_PARTITION_MMC 6 -#define CONFIG_ANDROID_RECOVERY_BOOTARGS_MMC \ - "setenv bootargs ${bootargs} init=/init root=/dev/mmcblk0p4 rootfs=ext4 rootwait enable_wait_mode=off" +#define CONFIG_ANDROID_RECOVERY_BOOTARGS_MMC NULL #define CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC \ - "run bootargs_android_recovery; " \ - "mmc dev 3; " \ - "mmc read ${loadaddr} 0x800 0x2000;bootm" + "booti mmc3 recovery" #define CONFIG_ANDROID_RECOVERY_CMD_FILE "/recovery/command" #define CONFIG_INITRD_TAG @@ -65,17 +63,10 @@ #define CONFIG_LOADADDR 0x10800000 /* loadaddr env var */ #define CONFIG_RD_LOADADDR 0x11000000 +#define CONFIG_INITRD_TAG #define CONFIG_EXTRA_ENV_SETTINGS \ "netdev=eth0\0" \ "ethprime=FEC0\0" \ - "bootfile=uImage\0" \ - "bootargs=console=ttymxc0,115200 init=/init rw " \ - "video=mxcfb0 fbmem=10M vmalloc=400M enable_wait_mode=off\0" \ - "bootcmd_SD=mmc dev 3;" \ - "mmc read ${loadaddr} 0x800 0x2000;" \ - "mmc read ${rd_loadaddr} 0x3000 0x300\0" \ - "bootcmd=run bootcmd_SD; bootm ${loadaddr} ${rd_loadaddr}\0" \ - - + "bootcmd=booti mmc3\0" #endif |