Dear Toradex support team:
A customer contacted us that they have an error while trying to use UMS with the eMMC version of the iMX7. The error is the following:
Colibri iMX7 # ums 0 mmc 0
UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x748000
g_dnl_register: failed!, error: -19
ERROR: g_dnl_register failed
at /workdir/build/tmp-glibc/work/colibri_imx7_emmc-angstrom-linux-gnueabi/u-boot-toradex/2016.11-2.7.4+gitr1b121c6/git/cmd/usb_mass_storage.c:179/do_usb_mass_storage()
I’ve asked if thy have the OTG USB connected, and some other missing details but while I’m waiting for the response, I wanted to share with you the error if you had an idea.
Checking the source code where the error is pointing, it looks like an error in usb_composite_register
function when registering the driver, with -19 being ENODEV
.
Thanks and best regards,
Alvaro.