summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhang sanshan <b51434@freescale.com>2016-05-24 16:19:07 +0800
committerzhang sanshan <b51434@freescale.com>2016-05-25 09:57:16 +0800
commit596b7a8176c50181e3bf18876e90d585bccc7fbe (patch)
tree9d1f5fde50409895d1f841d6b5a4d842a313dc9d
parent866435866402ad740b09efccf79d19e420f91114 (diff)
downloadu-boot-imx-596b7a8176c50181e3bf18876e90d585bccc7fbe.zip
u-boot-imx-596b7a8176c50181e3bf18876e90d585bccc7fbe.tar.gz
u-boot-imx-596b7a8176c50181e3bf18876e90d585bccc7fbe.tar.bz2
MA-8202 [Android_MX6DL_ARD] Fastboot: Failed to boot system if update android_root.img based on NAND boot. 100%m6.0.1_2.0.0-ga
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>
-rw-r--r--include/configs/mx6sabreandroid_common.h5
-rw-r--r--include/configs/mx6slevkandroid.h5
-rw-r--r--include/configs/mx6sxsabreautoandroid.h5
-rw-r--r--include/configs/mx6sxsabresdandroid.h5
-rw-r--r--include/configs/mx7dsabresdandroid.h5
5 files changed, 20 insertions, 5 deletions
diff --git a/include/configs/mx6sabreandroid_common.h b/include/configs/mx6sabreandroid_common.h
index ae23923..02d3bf8 100644
--- a/include/configs/mx6sabreandroid_common.h
+++ b/include/configs/mx6sabreandroid_common.h
@@ -63,6 +63,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 7cebe49..a03512b 100644
--- a/include/configs/mx6sxsabreautoandroid.h
+++ b/include/configs/mx6sxsabreautoandroid.h
@@ -62,6 +62,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 7d8c64e..41f1297 100644
--- a/include/configs/mx6sxsabresdandroid.h
+++ b/include/configs/mx6sxsabresdandroid.h
@@ -54,7 +54,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