Skip to contentSkip to conversation

mx6sabre: Enable User Mass Storage

PATCH Superseded Fabio Estevam 3 participants 5 messages Feb 26, 2015

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 mx6sabre: Enable User Mass Storage

User Mass Storage is very useful for flashing the on-board eMMC.

Add support for it.

---
Changes since v1:
- Remove EXT2/EXT4 and BOUNCE_BUFFER support

 include/configs/mx6sabre_common.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
include/configs/mx6sabre_common.h +14 -0
index f0f721e..337b865 100644
@@ -279,4 +279,18 @@
 #define CONFIG_IMX_HDMI
 #define CONFIG_IMX_VIDEO_SKIP
 
+#define CONFIG_CI_UDC
+#define CONFIG_USBD_HS
+#define CONFIG_USB_GADGET_DUALSPEED
+
+#define CONFIG_USB_GADGET
+#define CONFIG_CMD_USB_MASS_STORAGE
+#define CONFIG_USB_GADGET_MASS_STORAGE
+#define CONFIG_USBDOWNLOAD_GADGET
+#define CONFIG_USB_GADGET_VBUS_DRAW	2
+
+#define CONFIG_G_DNL_VENDOR_NUM		0x0525
+#define CONFIG_G_DNL_PRODUCT_NUM	0xa4a5
+#define CONFIG_G_DNL_MANUFACTURER	"FSL"
+
 #endif                         /* __MX6QSABRE_COMMON_CONFIG_H */
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 2/2 mx6sabre: Select BOUNCE_BUFFER and CMD_EXT options

Add EXT2/EXT4 and BOUNCE_BUFFER support.

---
Changes since v1:
- Newly introduced in this series

 include/configs/mx6sabre_common.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/mx6sabre_common.h +2 -0
index 337b865..67d74d0 100644
@@ -56,6 +56,8 @@
 #define CONFIG_GENERIC_MMC
 #define CONFIG_BOUNCE_BUFFER
 #define CONFIG_CMD_EXT2
+#define CONFIG_CMD_EXT4
+#define CONFIG_CMD_EXT4_WRITE
 #define CONFIG_CMD_FAT
 #define CONFIG_DOS_PARTITION
 
Signature · 1 line
1.9.1
#3 lore raw

PATCH v2 2/2 mx6sabre: Select BOUNCE_BUFFER and CMD_EXT options

In reply to Fabio Estevam

Hi Fabio,

Quoted 15 lines · Fabio Estevam

Add EXT2/EXT4 and BOUNCE_BUFFER support.

---
Changes since v1:
- Newly introduced in this series

  include/configs/mx6sabre_common.h | 2 ++
  1 file changed, 2 insertions(+)
include/configs/mx6sabre_common.h +0 -0
index 337b865..67d74d0 100644

include/configs/mx6sabre_common.h line 62

Quoted 7 lines
include/configs/mx6sabre_common.h +2 -0
@@ -56,6 +56,8 @@
  #define CONFIG_GENERIC_MMC
  #define CONFIG_BOUNCE_BUFFER
  #define CONFIG_CMD_EXT2
+#define CONFIG_CMD_EXT4
+#define CONFIG_CMD_EXT4_WRITE
  #define CONFIG_CMD_FAT
  #define CONFIG_DOS_PARTITION

I don't see the BOUNCE_BUFFER config option changed, and also no change related to EXT2.

Kind regards,
Nikolay