Skip to content
Snippets Groups Projects
Commit 596b7a81 authored by zhang sanshan's avatar zhang sanshan
Browse files

MA-8202 [Android_MX6DL_ARD] Fastboot: Failed to boot system if update...

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: default avatarzhang sanshan <b51434@freescale.com>
parent 86643586
No related branches found
Tags m6.0.1_2.0.0-ga
No related merge requests found
......@@ -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 */
......@@ -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
......@@ -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
......@@ -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
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment