public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Eric Nelson <eric.nelson@boundarydevices.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] usbtty using i.MX6
Date: Sun, 27 Apr 2014 10:56:48 -0700	[thread overview]
Message-ID: <535D44E0.5010204@boundarydevices.com> (raw)
In-Reply-To: <20140427110543.4b141c77@e6520eb>

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@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).

We haven't tested that, but it should work. Most of our USB Host uses
have been for USB sticks and keyboards.

Regards,


Eric

  reply	other threads:[~2014-04-27 17:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-26 22:47 [U-Boot] usbtty using i.MX6 Otavio Salvador
2014-04-27  9:05 ` Eric Bénard
2014-04-27 17:56   ` Eric Nelson [this message]
2014-04-27 18:04     ` Michael Trimarchi
2014-04-27 18:56     ` Eric Bénard
2014-04-27 19:03       ` Otavio Salvador
2014-04-27 19:12       ` Eric Bénard
2014-04-27 19:19       ` Eric Nelson
2015-01-15  9:26         ` shabeer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=535D44E0.5010204@boundarydevices.com \
    --to=eric.nelson@boundarydevices.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox