mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: Georg Hofmann <georg.hofmann@webdyn.com>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: USB ohci on sama5d3
Date: Wed, 17 May 2017 06:27:55 -0700	[thread overview]
Message-ID: <CAHQ1cqHFfkO=184mwee2Dyi9+seD+-5rZShEcb=t5t01OV_+GA@mail.gmail.com> (raw)
In-Reply-To: <ce9d88fb-a15a-c533-521e-62ad84d161d8@webdyn.com>

On Wed, May 17, 2017 at 2:44 AM, Georg Hofmann <georg.hofmann@webdyn.com> wrote:
> Hello,
>
> First of all, thanks for barebox, it's really a nice tool which I am
> discovering.
>
> I am trying to get USB ohci working on a sama5D3 evk. My current state
> is that the ohci driver get compiled and is called when I use the
> command usb, the root hub shows up, but the device enumeration don't work.
>
> So my question was: is the presence of the file ohci-at91.C indicating
> that ohci should work on some at91* platforms or is it just a copy/past
> from another place. If it should work, on which platform? In the may
> release are some USB patched (e.g.: "Allow USB_OHCI_AT91 even if
> USB_OHCI is disabled"). Where these patches runtime tested?

Georg:

Yes, I did runtime test those patches, however:

- all of the patchset then went in in May release were done against
AT91SAM9G25 SoC and I haven't had a chance to convert SAMA5D3 related
code to leverage those changes.

- pure OHCI, (i.e. EHCI being disabled) never worked for me on AT91 (I
never debugged it since I didn't care about getting OHCI to work) and
the only thing that this driver was needed for was to configure VBUS
related GPIOs that are shared with EHCI. Using EHCI on SAM9G25 _did_
work and I was able to read/write data from/to a USB pen-drive.

Hope this is gives you at least some answers.

Thanks,
Andrey Smirnov

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2017-05-17 13:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-17  9:44 Georg Hofmann
2017-05-17 13:27 ` Andrey Smirnov [this message]

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='CAHQ1cqHFfkO=184mwee2Dyi9+seD+-5rZShEcb=t5t01OV_+GA@mail.gmail.com' \
    --to=andrew.smirnov@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=georg.hofmann@webdyn.com \
    /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