USB ohci on sama5d3
andrew.smirnov at gmail.com
Wed May 17 06:27:55 PDT 2017
On Wed, May 17, 2017 at 2:44 AM, Georg Hofmann <georg.hofmann at webdyn.com> wrote:
> First of all, thanks for barebox, it's really a nice tool which I am
> 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?
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.
More information about the barebox