Skip to contentSkip to conversation

mx6sabre: Enable User Mass Storage

PATCH New Fabio Estevam 4 participants 7 messages Feb 26, 2015 – Mar 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v3 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 v2:
- None
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 v3 2/2 mx6sabre: Select CMD_EXT4 options

Add EXT4 support.

---
Changes since v2:
- Fix subject and commit log to only mention ext4
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 v3 2/2 mx6sabre: Select CMD_EXT4 options

Hi Otavio,

Quoted 9 lines · Otavio Salvador
Quoted 3 lines · Fabio Estevam

Add EXT4 support.

And sorry for not notice the mistake in the commit log.

There's no reason for anyone to feel sorry. This is a team work and for me it's an honor to be able to help you guys in any possible way.

Regards,
Nikolay

#4 lore raw

PATCH v3 2/2 mx6sabre: Select CMD_EXT4 options

Quoted 12 lines · Nikolay Dimitrov

Hi Otavio,

Quoted 9 lines · Otavio Salvador
Quoted 4 lines · Fabio Estevam

Add EXT4 support.

Quoted 7 lines
Quoted 3 lines

And sorry for not notice the mistake in the commit log.

There's no reason for anyone to feel sorry. This is a team work and for me it's an honor to be able to help you guys in any possible way.

+1 :-)

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#5 lore raw

PATCH v3 2/2 mx6sabre: Select CMD_EXT4 options

In reply to Fabio Estevam
Quoted 4 lines · Fabio Estevam

Add EXT4 support.

---

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
#6 lore raw

PATCH v3 1/2 mx6sabre: Enable User Mass Storage

In reply to Fabio Estevam
Quoted 7 lines · Fabio Estevam

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

Add support for it.

---

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================