USB EHCI Port and 2.6.29-omap1kernel

Hello,

I'm trying to get the USB Host EHCI port on the rev c2 BeagleBoard to work with the latest kernel from the omap1 kernel on git.kernel.org. I tried the 2.6.29 tag, and latest 2.6.30-rc4.

After using the omap3_beagle_defconfig, and enabling the EHCI controller with "make menuconfig" the kernel boots fine, and finds the EHCI controller. But no device is detected when plugged into the host port. I see that 5V is not present on the USB port, so I guess the power switch is not enabled through the LED.A pin on the TWL4030.

I'm wondering if I just enable this GPIO, to turn on the power, will the port work, or is something else missing?

I will try that tomorrow, but was hoping someone might know what the problem is offhand. Maybe I just don't have something configured properly in the kernel.

Thanks in advance for any insight.

-Howard

Have a look at the openembedded kernel.
There are several ehci related patches in there that are not in 2.6.29
omap1 kernel. No idea about 2.6.30.

FM

Hello,

I'm trying to get the USB Host EHCI port on the rev c2 BeagleBoard to
work with the latest kernel from the omap1 kernel on git.kernel.org.
I tried the 2.6.29 tag, and latest 2.6.30-rc4.

After using the omap3_beagle_defconfig, and enabling the EHCI
controller with "make menuconfig" the kernel boots fine, and finds
the
EHCI controller. But no device is detected when plugged into the
host
port. I see that 5V is not present on the USB port, so I guess the
power switch is not enabled through the LED.A pin on the TWL4030.

I'm wondering if I just enable this GPIO, to turn on the power, will
the port work, or is something else missing?

I will try that tomorrow, but was hoping someone might know what the
problem is offhand. Maybe I just don't have something configured
properly in the kernel.

Thanks in advance for any insight.

-Howard

Have a look at the openembedded kernel.
There are several ehci related patches in there that are not in 2.6.29
omap1 kernel. No idea about 2.6.30.

FM

Thanks Frans,

I found a patch for the EHCI and applied similar functionality to the
kernel I'm using, and it works.

Now I have host on the EHCI and Gadget on the OTG port, which is
exactly what I wanted.

-Howard

Hey guys I think I have this problem.

Where can I find those mentioned patches? I'm a bit new to all this
so I'm not to sure where to look yet.

Thanks,
Miguel

Hey guys I think I have this problem.

Where can I find those mentioned patches? I’m a bit new to all this
so I’m not to sure where to look yet.

Thanks,
Miguel

I found the patch here:
http://www.rcn-ee.com/deb/kernel/beagle/jaunty/v2.6.29.2-58cf2f1-oer31.1/v2.6.29-58cf2f1-oer31.1.diff

I didn’t want to go through installing all of the OE stuff just to get the kernel.

-Howard

Sweet thx,

I will have a look at that.

Miguel

Ok, I have the same problem here. Could you clarify the steps you
were doing to build the new kernel? Is it as sample as following?
1. git clone based on the changes.txt
2. apply the patch in the directory
3. make the default configuration
4. rebuild the kernel?
Thanks
Yi