Skip to contentSkip to conversation

EHCI on 2.6.32-rc5-git4 + patches

DISCUSSION Sid Boyce 4 participants 10 messages Oct 31, 2009 – Nov 4, 2009

lore
Share & tools
lore

Sid Boyce

author
#0 lore raw

There is no way to configure EHCI on beagleboard, so my devices are never seen. Only OHCI has ARCH_ARM as a config option.
I shall edit it into drivers/usb/Kconfig and see if it works. Regards
Sid.

Signature · 4 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#1 lore raw
Quoted 3 lines · Sid Boyce

There is no way to configure EHCI on beagleboard, so my devices are never seen. Only OHCI has ARCH_ARM as a config option.
I shall edit it into drivers/usb/Kconfig and see if it works.

drivers/usb/Kconfig looks okay to me.

<http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=blob;f=drivers/usb/Kconfig;h=5620e924a218da2bc5e03124934f339095dd18da;hb=HEAD>

See line 63 - it says USB_ARCH_HAS_EHCI is y if ARCH_OMAP34XX

- Anand

author
#2 lore raw
Quoted 5 lines · Anand
Quoted 3 lines · Sid Boyce

There is no way to configure EHCI on beagleboard, so my devices are never seen. Only OHCI has ARCH_ARM as a config option.
I shall edit it into drivers/usb/Kconfig and see if it works.

Quoted 11 lines

drivers/usb/Kconfig looks okay to me.

<http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=blob;f=drivers/usb/Kconfig;h=5620e924a218da2bc5e03124934f339095dd18da;hb=HEAD>

See line 63 - it says USB_ARCH_HAS_EHCI is y if ARCH_OMAP34XX

- Anand

I am tried "beagleboard_defconfig" I downloaded, but when the .config was written at the start of the kernel build ....
# CONFIG_USB_ARCH_HAS_EHCI is not set.
" make CROSS_COMPILE=/opt/arm-2009q1/bin/arm-none-linux-gnueabi-" on Fedora 12.
Regards
Sid.

Signature · 4 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#3 lore raw
Quoted 7 lines

I am tried "beagleboard_defconfig" I downloaded, but when the .config was written at the start of the kernel build ....
# CONFIG_USB_ARCH_HAS_EHCI is not set.
" make CROSS_COMPILE=/opt/arm-2009q1/bin/arm-none-linux-gnueabi-" on Fedora 12.
Regards
Sid.

Hi Sid,

You need atleast the "ehci glue commit" from here to enable the option:

http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=shortlog;h=refs/heads/ehci

Regards,

Signature · 2 lines
Robert Nelson
http://www.rcn-ee.com/
author
#4 lore raw
Quoted 8 lines · Robert Nelson
Quoted 7 lines

I am tried "beagleboard_defconfig" I downloaded, but when the .config was written at the start of the kernel build ....
# CONFIG_USB_ARCH_HAS_EHCI is not set.
" make CROSS_COMPILE=/opt/arm-2009q1/bin/arm-none-linux-gnueabi-" on Fedora 12.
Regards
Sid.

Quoted 8 lines

Hi Sid,

You need atleast the "ehci glue commit" from here to enable the option:

http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=shortlog;h=refs/heads/ehci

Regards,

I've used the "Merge EHCI" snapshot, but guess there is something not right in my .config.
CC drivers/usb/musb/musb_core.o
In file included from drivers/usb/musb/musb_core.c:108:
drivers/usb/musb/musb_core.h:94:2: error: #error bogus Kconfig output ... select CONFIG_USB_GADGET_MUSB_HDRC drivers/usb/musb/musb_core.c: In function 'musb_init_controller':
drivers/usb/musb/musb_core.c:1906: error: label 'bad_config' used but not defined
make[2]: *** [drivers/usb/musb/musb_core.o] Error 1 make[1]: *** [drivers/usb/musb] Error 2
make: *** [drivers] Error 2
[root@localhost linux-omap-2.6]# grep MUSB .config CONFIG_USB_MUSB_HDRC=y
CONFIG_USB_MUSB_SOC=y
# CONFIG_USB_MUSB_HOST is not set
# CONFIG_USB_MUSB_PERIPHERAL is not set CONFIG_USB_MUSB_OTG=y
# CONFIG_USB_GADGET_MUSB_HDRC is not set CONFIG_USB_MUSB_HDRC_HCD=y
# CONFIG_MUSB_PIO_ONLY is not set
# CONFIG_USB_MUSB_DEBUG is not set

Regards
Sid.

Signature · 4 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#5 lore raw
Quoted 18 lines · ext Sid Boyce
Quoted 8 lines · Robert Nelson
Quoted 7 lines

I am tried "beagleboard_defconfig" I downloaded, but when the .config was written at the start of the kernel build ....
# CONFIG_USB_ARCH_HAS_EHCI is not set.
" make CROSS_COMPILE=/opt/arm-2009q1/bin/arm-none-linux-gnueabi-" on Fedora 12.
Regards
Sid.

Quoted 8 lines

Hi Sid,

You need atleast the "ehci glue commit" from here to enable the option:

http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=shortlog;h=refs/heads/ehci

Regards,

Quoted 6 lines

I've used the "Merge EHCI" snapshot, but guess there is something not right in my .config.
CC drivers/usb/musb/musb_core.o
In file included from drivers/usb/musb/musb_core.c:108:
drivers/usb/musb/musb_core.h:94:2: error: #error bogus Kconfig output ... select CONFIG_USB_GADGET_MUSB_HDRC

Go to gadget support and select Inventra MUSB on "USB Peripheral Controller"

Signature · 1 line
balbi
author
#6 lore raw
Quoted 26 lines · Felipe Balbi
Quoted 18 lines · ext Sid Boyce
Quoted 8 lines · Robert Nelson
Quoted 7 lines

I am tried "beagleboard_defconfig" I downloaded, but when the .config was written at the start of the kernel build ....
# CONFIG_USB_ARCH_HAS_EHCI is not set.
" make CROSS_COMPILE=/opt/arm-2009q1/bin/arm-none-linux-gnueabi-" on Fedora 12.
Regards
Sid.

Quoted 8 lines

Hi Sid,

You need atleast the "ehci glue commit" from here to enable the option:

http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=shortlog;h=refs/heads/ehci

Regards,

Quoted 6 lines

I've used the "Merge EHCI" snapshot, but guess there is something not right in my .config.
CC drivers/usb/musb/musb_core.o
In file included from drivers/usb/musb/musb_core.c:108:
drivers/usb/musb/musb_core.h:94:2: error: #error bogus Kconfig output ... select CONFIG_USB_GADGET_MUSB_HDRC

Quoted 3 lines

Go to gadget support and select Inventra MUSB on "USB Peripheral Controller"

I tried that and various others to get other than the hub enumerated, no luck so far with kernels I have built - no lights on the hub. I am now rebuilding after following the config for the working narcissus build, EHCI looks much the same, so here's hoping.
I have another 16G MMC card I am trying on after cross compiling on a Fedora 12 VirtualBox VM.
Regards
Sid.

Signature · 4 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#7 lore raw
Quoted 8 lines

I tried that and various others to get other than the hub enumerated, no luck so far with kernels I have built - no lights on the hub. I am now rebuilding after following the config for the working narcissus build, EHCI looks much the same, so here's hoping.
I have another 16G MMC card I am trying on after cross compiling on a Fedora 12 VirtualBox VM.
Regards
Sid.

Hi Sid

I eventually got ehci working today on my tree on launchpad. But it's not that small of a patch once i added all the mach to plat changes...

However, this commit made all the difference for me, it's currently missing from tmlind's tree, the beagleboard needs it to enable power to the ehci..

http://patchwork.kernel.org/patch/55703/

Regards,

Signature · 2 lines
Robert Nelson
http://www.rcn-ee.com/
author
#8 lore raw
Quoted 14 lines · Robert Nelson
Quoted 8 lines

I tried that and various others to get other than the hub enumerated, no luck so far with kernels I have built - no lights on the hub. I am now rebuilding after following the config for the working narcissus build, EHCI looks much the same, so here's hoping.
I have another 16G MMC card I am trying on after cross compiling on a Fedora 12 VirtualBox VM.
Regards
Sid.

Hi Sid

I eventually got ehci working today on my tree on launchpad. But it's not that small of a patch once i added all the mach to plat changes...

Quoted 7 lines

However, this commit made all the difference for me, it's currently missing from tmlind's tree, the beagleboard needs it to enable power to the ehci..

http://patchwork.kernel.org/patch/55703/

Regards,

Thanks, I shall give it a try.
Regards
Sid.

Signature · 4 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
author
#9 lore raw
In reply to Robert Nelson
Quoted 14 lines · Robert Nelson
Quoted 8 lines

I tried that and various others to get other than the hub enumerated, no luck so far with kernels I have built - no lights on the hub. I am now rebuilding after following the config for the working narcissus build, EHCI looks much the same, so here's hoping.
I have another 16G MMC card I am trying on after cross compiling on a Fedora 12 VirtualBox VM.
Regards
Sid.

Hi Sid

I eventually got ehci working today on my tree on launchpad. But it's not that small of a patch once i added all the mach to plat changes...

Quoted 7 lines

However, this commit made all the difference for me, it's currently missing from tmlind's tree, the beagleboard needs it to enable power to the ehci..

http://patchwork.kernel.org/patch/55703/

Regards,

Thanks, the patch worked and all the EHCI devices are enumerated. There are other issues like no output to the LCD and I don't have a FB_OMAP2 option, so trying to rebuild with FB_OMAP=y. The configuration setup seems to be very particular and easily upset by certain changes. I guess the right patches have to be installed or build failures result.

Lowlevel video output switch controls (VIDEO_OUTPUT_CONTROL) [N/m/y/?] n E-Ink Broadsheet/Epson S1D13521 controller support (FB_BROADSHEET) [N/m/y/?] n
OMAP frame buffer support (EXPERIMENTAL) (FB_OMAP) [Y/n/m/?] y External LCD controller support (FB_OMAP_LCDC_EXTERNAL) [N/y/?] (NEW) MIPI DBI-C/DCS compatible LCD support (FB_OMAP_LCD_MIPID) [N/y/?] (NEW) Check bootloader initialization (FB_OMAP_BOOTLOADER_INIT) [N/y/?] (NEW) Consistent DMA memory size (MB) (FB_OMAP_CONSISTENT_DMA_SIZE) [2] (NEW)

# l -R 2.6.32-rc5/kernel/drivers/video/
2.6.32-rc5/kernel/drivers/video/:
total 0
drwxr-xr-x  3 root root  72 Nov  3 21:58 ./
drwxr-xr-x 16 root root 392 Nov  3 21:58 ../
drwxr-xr-x  2 root root 160 Nov  3 21:58 console/

2.6.32-rc5/kernel/drivers/video/console:
total 68

drwxr-xr-x 2 root root   160 Nov  3 21:58 ./
drwxr-xr-x 3 root root    72 Nov  3 21:58 ../
-rw-r--r-- 1 root root  7647 Nov  3 21:58 bitblit.ko
-rw-r--r-- 1 root root 43880 Nov  3 21:58 fbcon.ko
-rw-r--r-- 1 root root 10743 Nov  3 21:58 font.ko
-rw-r--r-- 1 root root  3984 Nov  3 21:58 softcursor.ko

Regards
Sid.

Signature · 4 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks