
Hi Fabio,
On 09/10/2015 05:02 AM, Fabio Estevam wrote:
Hi,
I am trying to add fastboot support for mx6qsabresd and I did the following changes on against top of head U-boot:
--- a/include/configs/mx6sabre_common.h +++ b/include/configs/mx6sabre_common.h @@ -238,6 +238,12 @@ #define CONFIG_G_DNL_VENDOR_NUM 0x0525 #define CONFIG_G_DNL_PRODUCT_NUM 0xa4a5 #define CONFIG_G_DNL_MANUFACTURER "FSL"
+#define CONFIG_USB_FUNCTION_FASTBOOT +#define CONFIG_CMD_FASTBOOT +#define CONFIG_ANDROID_BOOT_IMAGE +#define CONFIG_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR +#define CONFIG_FASTBOOT_BUF_SIZE 0x07000000 #endif
#endif /* __MX6QSABRE_COMMON_CONFIG_H */
On the U-boot prompt I run:
=> fastboot 0
and then in the host PC I try to read the bootloader version:
$ fastboot getvar bootloader-version < waiting for device >
Please check whether the fastboot application supports your vendor ID. If not, add "-i <vendor_id> in your command line.
Best Regards, Bo Shen