[U-Boot] UMS on mx6sl
Fabio Estevam
festevam at gmail.com
Tue Feb 24 23:22:59 CET 2015
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
More information about the U-Boot
mailing list