[U-Boot] usbtty using i.MX6

Michael Trimarchi michael at amarulasolutions.com
Sun Apr 27 20:04:53 CEST 2014


Hi

Il 27/apr/2014 19:57 "Eric Nelson" <eric.nelson at boundarydevices.com> ha
scritto:
>
> Hi Eric,
>
>
> On 04/27/2014 02:05 AM, Eric Bénard wrote:
>>
>> Hi Otavio,
>>
>> Le Sat, 26 Apr 2014 19:47:27 -0300,
>> Otavio Salvador <otavio at ossystems.com.br> a écrit :
>>>
>>> I'd like to know if someone has succeed in using usbtty with i.MX6. I
>>> am interested in using it for one board but been not succed, it seems:
>>>
>>> /home/otavio/hacking/u-boot/drivers/serial/usbtty.c:553: undefined
>>> reference to `udc_init'
>>> drivers/serial/built-in.o: In function `usbtty_init_instances':
>>> /home/otavio/hacking/u-boot/drivers/serial/usbtty.c:686: undefined
>>> reference to `udc_setup_ep'
>>> /home/otavio/hacking/u-boot/drivers/serial/usbtty.c:708: undefined
>>> reference to `urb_link_init'
>>> /home/otavio/hacking/u-boot/drivers/serial/usbtty.c:709: undefined
>>> reference to `urb_link_init'
>>> /home/otavio/hacking/u-boot/drivers/serial/usbtty.c:710: undefined
>>> reference to `urb_link_init
>>> ...
>>>
>>> Does someone got it working?
>>>
>> you need a gadget driver for the i.MX6 USB port which doesn't seems to
>> exist in u-boot.
>>
>
> 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
>
> We've been using it a lot for USB networking, where it provides a
> very nice download mechanism. See this post for details:
>         http://boundarydevices.com/u-boot-2014-01/#usbrecover
>
> I think usbtty is a different thing though (USB serial adapter connected
> to a Host port).
>
usbtty should be a way to have the console on a gadget interface

Michael

> We haven't tested that, but it should work. Most of our USB Host uses
> have been for USB sticks and keyboards.
>
> Regards,
>
>
>
> Eric
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list