On 23 November 2010 21:42, Anand Gadiyar <anand.gadiyar@linaro.org> wrote:
On 23 November 2010 11:38, John Rigby <john.rigby@linaro.org> wrote:
All omap4 experts,

I have a packaged kernel for omap3/omap4 that boots to a shell prompt
on a Panda and a Beagle XM.  One problem on Panda is that I have not
network.  When I looked at the dmesg I noticed that the ehci driver
failed to initialize:

[    0.761352] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.768280] ehci-omap: probe of ehci-omap.0 failed with error -2

My kernel is linux-linaro-2.6.36 from Nicolas plus some Ubuntu sauce
and  packaging.

Here is my packaged kernel:
http://git.linaro.org/gitweb?p=ubuntu/linux-linaro-natty.git;a=summary

Here is linux-linaro-2.6.36
http://git.linaro.org/gitweb?p=kernel/linux-linaro-2.6.36.git;a=summary

and attached is my config.

If anyone knows what is wrong with ehci it would be greatly appreciated.


Well, the EHCI driver isn't upstream for one. I only posted it out this
weekend. [1]

I'll see if I can rebase against linux-linaro-2.6.36 and send a pull request.
There are a couple of minor issues with the original series (including
me forgetting to add a patch description for one patch). I'll fix those
up while I'm at it.

Do I need to post the patches here for review first? Or is it sufficient
to point to a git branch for people to take a look?

...
 

I just checked - the patches I posted apply cleanly against
linux-linaro-2.6.36. Patch 3 has some line offsets, but otherwise
applies cleanly. EHCI works on Panda after applying these
patches, however I didn't get a chance to check if EHCI on
OMAP3 is still working.

The series (against v2.6.37-rc2) is available here:
git://dev.omapzoom.org/pub/scm/anand/linux-omap-usb.git
in the omap4-ehci-upstream-v1 branch.

- Anand