diff options
-rw-r--r-- | include/configs/mx6dl_sabresd_android.h | 8 | ||||
-rw-r--r-- | include/configs/mx6q_sabresd_android.h | 7 | ||||
-rw-r--r-- | include/configs/mx6sl_arm2_android.h | 12 |
3 files changed, 19 insertions, 8 deletions
diff --git a/include/configs/mx6dl_sabresd_android.h b/include/configs/mx6dl_sabresd_android.h index 1b34c21..c66d274 100644 --- a/include/configs/mx6dl_sabresd_android.h +++ b/include/configs/mx6dl_sabresd_android.h @@ -38,8 +38,12 @@ #define CONFIG_FASTBOOT_CONFIGURATION_STR "Android fastboot" #define CONFIG_FASTBOOT_SERIAL_NUM "12345" #define CONFIG_FASTBOOT_SATA_NO 0 -#define CONFIG_FASTBOOT_TRANSFER_BUF 0x30000000 -#define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x10000000 /* 256M byte */ + +/* For system.img growing up more than 256MB, more buffer needs +* to receive the system.img*/ +#define CONFIG_FASTBOOT_TRANSFER_BUF 0x2c000000 +#define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x14000000 /* 320M byte */ + #define CONFIG_CMD_BOOTI #define CONFIG_ANDROID_RECOVERY diff --git a/include/configs/mx6q_sabresd_android.h b/include/configs/mx6q_sabresd_android.h index 0996de5..7976818 100644 --- a/include/configs/mx6q_sabresd_android.h +++ b/include/configs/mx6q_sabresd_android.h @@ -37,8 +37,11 @@ #define CONFIG_FASTBOOT_CONFIGURATION_STR "Android fastboot" #define CONFIG_FASTBOOT_SERIAL_NUM "12345" #define CONFIG_FASTBOOT_SATA_NO 0 -#define CONFIG_FASTBOOT_TRANSFER_BUF 0x30000000 -#define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x10000000 /* 256M byte */ + +/* For system.img growing up more than 256MB, more buffer needs +* to receive the system.img*/ +#define CONFIG_FASTBOOT_TRANSFER_BUF 0x2c000000 +#define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x14000000 /* 320M byte */ #define CONFIG_CMD_BOOTI #define CONFIG_ANDROID_RECOVERY diff --git a/include/configs/mx6sl_arm2_android.h b/include/configs/mx6sl_arm2_android.h index 5afb8ac..0e25277 100644 --- a/include/configs/mx6sl_arm2_android.h +++ b/include/configs/mx6sl_arm2_android.h @@ -24,7 +24,6 @@ #include <configs/mx6sl_arm2.h> -#if 0 #define CONFIG_USB_DEVICE #define CONFIG_IMX_UDC 1 #define CONFIG_FASTBOOT 1 @@ -38,9 +37,14 @@ #define CONFIG_FASTBOOT_CONFIGURATION_STR "Android fastboot" #define CONFIG_FASTBOOT_SERIAL_NUM "12345" #define CONFIG_FASTBOOT_SATA_NO 0 -#define CONFIG_FASTBOOT_TRANSFER_BUF 0x30000000 -#define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x10000000 /* 256M byte */ -#endif + +/* mx6sl ddr address starts from 0x80000000, not like mx6dl and mx6q +* which start from 0x10000000 +* For system.img growing up more than 256MB, more buffer needs +* to receive the system.img*/ +#define CONFIG_FASTBOOT_TRANSFER_BUF 0x8c000000 +#define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x14000000 /* 320M byte */ + #define CONFIG_CMD_BOOTI #define CONFIG_ANDROID_RECOVERY |