
On Wednesday, September 09, 2015 at 11:02:45 PM, 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 >
(and it gets stuck here)
After a CTRL+C I have also tried:
$ sudo fastboot devices $
,but nothing is reported.
I am able to mount the SD card via 'ums 0 mmc 1' command, so the USB OTG connection is fine.
Does anyone have any suggestions?
Don't you need this patch from Peng? [PATCH] usb: gadget: ci_udc: implement usb_ep_ops dequeue callback https://patchwork.ozlabs.org/patch/511739/
Best regards, Marek Vasut