[U-Boot] usbtty using i.MX6

Eric Bénard eric at eukrea.com
Sun Apr 27 21:12:35 CEST 2014


Hi again,

Le Sun, 27 Apr 2014 20:56:56 +0200,
Eric Bénard <eric at eukrea.com> a écrit :
> Le Sun, 27 Apr 2014 10:56:48 -0700,
> Eric Nelson <eric.nelson at boundarydevices.com> a écrit :
> > We're using UDC on all of our i.MX6 board. Marek and Troy have had this
> > working for a while now.
> > 
> > I think the two key patches are these:
> > 	https://github.com/boundarydevices/u-boot-imx6/commit/f3d7cff
> > 	https://github.com/boundarydevices/u-boot-imx6/commit/f016f8c
> > 
> that's not mainline :-)
> 
Oops sorry, in fact that's also mainline. Interesting to learn it ;-)

Quickly looking at the code, it seems that usbtty is not using the same
API as the other gadgets in drivers/usb/gadget : it doesn't call
usb_gadget_register_driver and instead call the udc functions directly.
So indeed in the present state, this driver can't work on an i.MX6.

Eric


More information about the U-Boot mailing list