diff options
author | Xinyu Chen <xinyu.chen@freescale.com> | 2011-05-23 14:29:26 +0800 |
---|---|---|
committer | Xinyu Chen <xinyu.chen@freescale.com> | 2011-05-23 14:36:46 +0800 |
commit | 0d418b4c3f71a3bf259e43b5236e702636a32ec4 (patch) | |
tree | 08f84ad906892e8ab5d6e1497159ecf1fad550db /include | |
parent | 314c6033037e4f3e57638caab98fe2711b79b416 (diff) | |
download | u-boot-imx-0d418b4c3f71a3bf259e43b5236e702636a32ec4.zip u-boot-imx-0d418b4c3f71a3bf259e43b5236e702636a32ec4.tar.gz u-boot-imx-0d418b4c3f71a3bf259e43b5236e702636a32ec4.tar.bz2 |
ENGR00143837 mx50 rd3: support android boot from RD3 NAND device
Enable NAND gpio, recovery mode detect after boot from spi nor.
Change default env for loading kernel and uramdisk from NAND,
disabling elcdif lcd driver to support EPDC eink panel as default.
Enable recovery mode support and NAND/UBI/UBIFS command.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx50_rd3_android.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/include/configs/mx50_rd3_android.h b/include/configs/mx50_rd3_android.h index 3d39584..8bb5189 100644 --- a/include/configs/mx50_rd3_android.h +++ b/include/configs/mx50_rd3_android.h @@ -125,13 +125,12 @@ "tftpboot ${loadaddr} ${kernel}; bootm\0" \ "bootcmd=run bootcmd_nand \0" \ "bootcmd_nand=run bootargs_base bootargs_android;" \ - "sf probe 1;" \ - "sf read ${loadaddr} 0x40000 0x380000;" \ - "sf read ${rd_loadaddr} 0x3C0000 0x40000;" \ + "nand read ${loadaddr} 0x1400000 0x400000;" \ + "nand read ${rd_loadaddr} 0x1900000 0x32000;" \ "bootm ${loadaddr} ${rd_loadaddr}\0" \ "bootargs_android=setenv bootargs ${bootargs} " \ "androidboot.console=ttymxc0 init=/init " \ - "keypad gpmi:nand ubi.mtd=4\0" \ + "keypad gpmi:nand ubi.mtd=4 video=mxc_elcdif_fb:off\0" \ "bootcmd_android_recovery=run bootargs_base" \ " bootargs_android_recovery;" \ "nand read ${loadaddr} 0x1400000 0x400000; bootm\0" \ @@ -238,7 +237,7 @@ /* * GPMI Nand Configs */ -#undef CONFIG_CMD_NAND +#define CONFIG_CMD_NAND #ifdef CONFIG_CMD_NAND #define CONFIG_NAND_GPMI @@ -299,7 +298,7 @@ #elif defined(CONFIG_FSL_ENV_IN_SF) #define CONFIG_ENV_IS_IN_SPI_FLASH 1 #define CONFIG_ENV_SPI_CS 1 - #define CONFIG_ENV_OFFSET (192 * 1024) + #define CONFIG_ENV_OFFSET (768 * 1024) #else #define CONFIG_ENV_IS_NOWHERE 1 #endif @@ -307,7 +306,6 @@ /* * Android support Configs */ -/* #define CONFIG_ANDROID_RECOVERY #define CONFIG_ANDROID_RECOVERY_BOOTARGS_MMC \ "setenv bootargs ${bootargs} init=/init root=/dev/mmcblk0p4" \ @@ -333,7 +331,6 @@ #define MTD_ACTIVE_PART "nand0,4" #define CONFIG_RBTREE #define CONFIG_LZO -*/ #define CONFIG_ANDROID_SYSTEM_PARTITION_MMC 2 #define CONFIG_ANDROID_RECOVERY_PARTITION_MMC 4 |