public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] UMS on mx6sl
@ 2015-02-24 22:22 Fabio Estevam
  2015-02-24 22:25 ` Fabio Estevam
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2015-02-24 22:22 UTC (permalink / raw)
  To: u-boot

Hi,

I am trying to get USB Mass Storage to work on mx6slevk, but I am
getting the following error:

=> ums 0 mmc 1
UMS: disk start sector: 0x0, count: 0x762c00
g_dnl_register: failed!, error: -22
ERROR: g_dnl_register failed
at common/cmd_usb_mass_storage.c:107/do_usb_mass_storage()

On mx6qsabresd it works fine and I am able to mount the SD/eMMC card
on the host PC.

The mx6slevk changes are the same as the ones for sabresd and look like this:

diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index 1221418..9a7870a 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -47,6 +47,10 @@
 #define CONFIG_GENERIC_MMC
 #define CONFIG_CMD_FAT
 #define CONFIG_DOS_PARTITION
+#define CONFIG_BOUNCE_BUFFER
+#define CONFIG_CMD_EXT2
+#define CONFIG_CMD_EXT4
+#define CONFIG_CMD_EXT4_WRITE

 /* I2C Configs */
 #define CONFIG_CMD_I2C
@@ -246,6 +250,20 @@
 #define CONFIG_USB_MAX_CONTROLLER_COUNT        2
 #endif

+#define CONFIG_CI_UDC
+#define CONFIG_USBD_HS
+#define CONFIG_USB_GADGET_DUALSPEED

Does anyone have any ideas of what may be missing?

Thanks,

Fabio Estevam

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-02-25 16:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-24 22:22 [U-Boot] UMS on mx6sl Fabio Estevam
2015-02-24 22:25 ` Fabio Estevam
2015-02-24 23:10   ` Eric Nelson
2015-02-24 23:19     ` Fabio Estevam
2015-02-25  0:12       ` Eric Nelson
2015-02-25  2:23       ` Fabio Estevam
2015-02-25 12:11         ` Marek Vasut
2015-02-25 16:07           ` Fabio Estevam
2015-02-25 16:40             ` Marek Vasut
2015-02-25 12:11     ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox