diff options
author | zhang sanshan <b51434@freescale.com> | 2016-05-24 16:19:07 +0800 |
---|---|---|
committer | Sanshan Zhang <sanshan.zhang@nxp.com> | 2016-08-19 12:33:06 +0800 |
commit | 19aaf450fb231c2d3c2c0f3c821f7dd8973152b8 (patch) | |
tree | a530efafeca671b1f100eb016eccbe7f930c28e0 /include/configs | |
parent | e70669851349407f2bc841aaf7a0b7fc079bd8c3 (diff) | |
download | u-boot-imx-19aaf450fb231c2d3c2c0f3c821f7dd8973152b8.zip u-boot-imx-19aaf450fb231c2d3c2c0f3c821f7dd8973152b8.tar.gz u-boot-imx-19aaf450fb231c2d3c2c0f3c821f7dd8973152b8.tar.bz2 |
MA-8202 [Android_MX6DL_ARD] Fastboot: Failed to boot system if update android_root.img based on NAND boot. 100%
For sparse system.img, USB can trasfer system.img through spliting image into two sparse images.
For android_root.img, the second part will overwrite the first one.
It is a workaround to enlarge CONFIG_USB_FASTBOOT_BUF_SIZE to hold system image whose size is more than 400M.
Signed-off-by: zhang sanshan <b51434@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/mx6sabreandroid_common.h | 5 | ||||
-rw-r--r-- | include/configs/mx6slevkandroid.h | 5 | ||||
-rw-r--r-- | include/configs/mx6sxsabreautoandroid.h | 5 | ||||
-rw-r--r-- | include/configs/mx6sxsabresdandroid.h | 5 | ||||
-rw-r--r-- | include/configs/mx7dsabresdandroid.h | 5 |
5 files changed, 20 insertions, 5 deletions
diff --git a/include/configs/mx6sabreandroid_common.h b/include/configs/mx6sabreandroid_common.h index 2b22782..a531a02 100644 --- a/include/configs/mx6sabreandroid_common.h +++ b/include/configs/mx6sabreandroid_common.h @@ -78,6 +78,9 @@ "initrd_high=0xffffffff\0" \ #define CONFIG_USB_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR +#ifdef CONFIG_FASTBOOT_STORAGE_NAND +#define CONFIG_USB_FASTBOOT_BUF_SIZE 0x25000000 +#else #define CONFIG_USB_FASTBOOT_BUF_SIZE 0x19000000 - +#endif #endif /* MX6_SABRE_ANDROID_COMMON_H */ diff --git a/include/configs/mx6slevkandroid.h b/include/configs/mx6slevkandroid.h index 1eaf78a..1f2f0e5 100644 --- a/include/configs/mx6slevkandroid.h +++ b/include/configs/mx6slevkandroid.h @@ -71,6 +71,9 @@ "initrd_high=0xffffffff\0" \ #define CONFIG_USB_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR +#ifdef CONFIG_FASTBOOT_STORAGE_NAND +#define CONFIG_USB_FASTBOOT_BUF_SIZE 0x25000000 +#else #define CONFIG_USB_FASTBOOT_BUF_SIZE 0x19000000 - +#endif #endif diff --git a/include/configs/mx6sxsabreautoandroid.h b/include/configs/mx6sxsabreautoandroid.h index b15b924..f825bdb 100644 --- a/include/configs/mx6sxsabreautoandroid.h +++ b/include/configs/mx6sxsabreautoandroid.h @@ -77,6 +77,9 @@ "initrd_high=0xffffffff\0" \ #define CONFIG_USB_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR +#ifdef CONFIG_FASTBOOT_STORAGE_NAND +#define CONFIG_USB_FASTBOOT_BUF_SIZE 0x25000000 +#else #define CONFIG_USB_FASTBOOT_BUF_SIZE 0x19000000 - +#endif #endif diff --git a/include/configs/mx6sxsabresdandroid.h b/include/configs/mx6sxsabresdandroid.h index 22c7892..b1318bd 100644 --- a/include/configs/mx6sxsabresdandroid.h +++ b/include/configs/mx6sxsabresdandroid.h @@ -69,7 +69,10 @@ "initrd_high=0xffffffff\0" \ #define CONFIG_USB_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR +#ifdef CONFIG_FASTBOOT_STORAGE_NAND +#define CONFIG_USB_FASTBOOT_BUF_SIZE 0x25000000 +#else #define CONFIG_USB_FASTBOOT_BUF_SIZE 0x19000000 - +#endif #endif diff --git a/include/configs/mx7dsabresdandroid.h b/include/configs/mx7dsabresdandroid.h index c8518a6..74112d8 100644 --- a/include/configs/mx7dsabresdandroid.h +++ b/include/configs/mx7dsabresdandroid.h @@ -54,7 +54,10 @@ #define CONFIG_USB_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR +#ifdef CONFIG_FASTBOOT_STORAGE_NAND +#define CONFIG_USB_FASTBOOT_BUF_SIZE 0x25000000 +#else #define CONFIG_USB_FASTBOOT_BUF_SIZE 0x19000000 - +#endif #endif |