* USB ohci on sama5d3
@ 2017-05-17 9:44 Georg Hofmann
2017-05-17 13:27 ` Andrey Smirnov
0 siblings, 1 reply; 2+ messages in thread
From: Georg Hofmann @ 2017-05-17 9:44 UTC (permalink / raw)
To: barebox
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?
Thanks in advance.
Best regards,
Georg
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: USB ohci on sama5d3
2017-05-17 9:44 USB ohci on sama5d3 Georg Hofmann
@ 2017-05-17 13:27 ` Andrey Smirnov
0 siblings, 0 replies; 2+ messages in thread
From: Andrey Smirnov @ 2017-05-17 13:27 UTC (permalink / raw)
To: Georg Hofmann; +Cc: barebox
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-17 13:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-17 9:44 USB ohci on sama5d3 Georg Hofmann
2017-05-17 13:27 ` Andrey Smirnov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox