AnsweredAssumed Answered

How do you enable Fastboot in u-boot for i.MX6Q boards

Question asked by Michael Worster on Jul 6, 2016
Latest reply on May 23, 2017 by Carlos Oliva

I've read on a few different sites, ex: Factory flashing with U-Boot and fastboot on Freescale i.MX6 , that's it's possible to enable Fastboot in the u-boot bootloader for i.MX6 products. I attempted to add the correct configuration options into the include/configs/mx6sabresd.h header file, but for some reason the built u-boot.imx still doesn't have the fastboot tool enabled.

 

Is there any information, wikis, or places where it's listed out what needs to be done to enable fastboot in the bootloader for the SABRE i.MX6Q board?

 

 include/configs/mx6sabresd.h |   26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h
index d9a699d..1588d3f 100644
--- a/include/configs/mx6sabresd.h
+++ b/include/configs/mx6sabresd.h
@@ -93,7 +93,7 @@
 #if defined(CONFIG_SPLASH_SCREEN) && defined(CONFIG_MXC_EPDC)
     /*
      * Framebuffer and LCD
-     */
+     */0001-quick-test.patch
     #define CONFIG_CMD_BMP
     #define CONFIG_LCD
     #define CONFIG_SYS_CONSOLE_IS_IN_ENV
@@ -105,4 +105,28 @@
     #define CONFIG_WAVEFORM_BUF_SIZE        0x200000
 #endif /* CONFIG_SPLASH_SCREEN && CONFIG_MXC_EPDC */

+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_MX6
+#define CONFIG_MXC_USB_PORTSC    (PORT_PTS_UTMI | PORT_PTS_PTW)
+#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
+
+#define CONFIG_CMD_FASTBOOT
+#define CONFIG_USB_FASTBOOT_BUF_ADDR    CONFIG_SYS_LOAD_ADDR
+#define CONFIG_USB_FASTBOOT_BUF_SIZE    0x10000000
+#define CONFIG_FASTBOOT_FLASH
+#define CONFIG_FASTBOOT_FLASH_MMC_DEV    0
+
+#define CONFIG_USB_GADGET
+#define CONFIG_USB_GADGET_VBUS_DRAW    2
+#define CONFIG_USB_GADGET_DUALSPEED
+#define CONFIG_G_DNL_MANUFACTURER    "Freescale"
+#define CONFIG_G_DNL_VENDOR_NUM        0x18d1
+#define CONFIG_G_DNL_PRODUCT_NUM    0x0d02
+#define CONFIG_CI_UDC
+#define CONFIG_USBDOWNLOAD_GADGET
+
+#define CONFIG_EFI_PARTITION
+#define CONFIG_PARTITION_UUIDS
+#define CONFIG_CMD_GPT
+
 #endif                         /* __MX6QSABRESD_CONFIG_H */
-- 
1.7.9.5

Outcomes