All of lore.kernel.org
 help / color / mirror / Atom feed
* EHCI on 2.6.32-rc5-git4 + patches
@ 2009-10-31 15:14 Sid Boyce
  2009-10-31 17:08 ` Gadiyar, Anand
  0 siblings, 1 reply; 10+ messages in thread
From: Sid Boyce @ 2009-10-31 15:14 UTC (permalink / raw)
  To: linux-omap

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.
-- 
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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: EHCI on 2.6.32-rc5-git4 + patches
  2009-10-31 15:14 EHCI on 2.6.32-rc5-git4 + patches Sid Boyce
@ 2009-10-31 17:08 ` Gadiyar, Anand
  2009-10-31 23:41   ` Sid Boyce
  0 siblings, 1 reply; 10+ messages in thread
From: Gadiyar, Anand @ 2009-10-31 17:08 UTC (permalink / raw)
  To: sboyce, linux-omap

Sid Boyce wrote:
> 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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: EHCI on 2.6.32-rc5-git4 + patches
  2009-10-31 17:08 ` Gadiyar, Anand
@ 2009-10-31 23:41   ` Sid Boyce
  2009-11-01 15:42     ` Robert Nelson
  0 siblings, 1 reply; 10+ messages in thread
From: Sid Boyce @ 2009-10-31 23:41 UTC (permalink / raw)
  To: Gadiyar, Anand; +Cc: linux-omap

On 31/10/09 17:08, Gadiyar, Anand wrote:
> Sid Boyce wrote:
>> 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
> 
> 
> 
> 

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.
-- 
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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: EHCI on 2.6.32-rc5-git4 + patches
  2009-10-31 23:41   ` Sid Boyce
@ 2009-11-01 15:42     ` Robert Nelson
  2009-11-01 23:29       ` Sid Boyce
  0 siblings, 1 reply; 10+ messages in thread
From: Robert Nelson @ 2009-11-01 15:42 UTC (permalink / raw)
  To: sboyce; +Cc: linux-omap

> 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,

-- 
Robert Nelson
http://www.rcn-ee.com/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: EHCI on 2.6.32-rc5-git4 + patches
  2009-11-01 15:42     ` Robert Nelson
@ 2009-11-01 23:29       ` Sid Boyce
  2009-11-02  7:04         ` Felipe Balbi
  0 siblings, 1 reply; 10+ messages in thread
From: Sid Boyce @ 2009-11-01 23:29 UTC (permalink / raw)
  To: Robert Nelson; +Cc: linux-omap

On 01/11/09 15:42, Robert Nelson wrote:
>> 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,
> 

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.

-- 
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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: EHCI on 2.6.32-rc5-git4 + patches
  2009-11-01 23:29       ` Sid Boyce
@ 2009-11-02  7:04         ` Felipe Balbi
  2009-11-03  1:08           ` Sid Boyce
  0 siblings, 1 reply; 10+ messages in thread
From: Felipe Balbi @ 2009-11-02  7:04 UTC (permalink / raw)
  To: ext Sid Boyce; +Cc: Robert Nelson, linux-omap

On Mon, Nov 02, 2009 at 12:29:56AM +0100, ext Sid Boyce wrote:
> On 01/11/09 15:42, Robert Nelson wrote:
> >> 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,
> > 
> 
> 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"

-- 
balbi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: EHCI on 2.6.32-rc5-git4 + patches
  2009-11-02  7:04         ` Felipe Balbi
@ 2009-11-03  1:08           ` Sid Boyce
  2009-11-03  1:28             ` Robert Nelson
  0 siblings, 1 reply; 10+ messages in thread
From: Sid Boyce @ 2009-11-03  1:08 UTC (permalink / raw)
  To: felipe.balbi; +Cc: Robert Nelson, linux-omap

On 02/11/09 07:04, Felipe Balbi wrote:
> On Mon, Nov 02, 2009 at 12:29:56AM +0100, ext Sid Boyce wrote:
>> On 01/11/09 15:42, Robert Nelson wrote:
>>>> 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,
>>>
>>
>> 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"
> 

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.
-- 
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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: EHCI on 2.6.32-rc5-git4 + patches
  2009-11-03  1:08           ` Sid Boyce
@ 2009-11-03  1:28             ` Robert Nelson
  2009-11-03 20:35               ` Sid Boyce
  2009-11-04  0:36               ` Sid Boyce
  0 siblings, 2 replies; 10+ messages in thread
From: Robert Nelson @ 2009-11-03  1:28 UTC (permalink / raw)
  To: sboyce; +Cc: linux-omap

> 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,
-- 
Robert Nelson
http://www.rcn-ee.com/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: EHCI on 2.6.32-rc5-git4 + patches
  2009-11-03  1:28             ` Robert Nelson
@ 2009-11-03 20:35               ` Sid Boyce
  2009-11-04  0:36               ` Sid Boyce
  1 sibling, 0 replies; 10+ messages in thread
From: Sid Boyce @ 2009-11-03 20:35 UTC (permalink / raw)
  To: Robert Nelson; +Cc: linux-omap

On 03/11/09 01:28, Robert Nelson wrote:
>> 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,

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

-- 
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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: EHCI on 2.6.32-rc5-git4 + patches
  2009-11-03  1:28             ` Robert Nelson
  2009-11-03 20:35               ` Sid Boyce
@ 2009-11-04  0:36               ` Sid Boyce
  1 sibling, 0 replies; 10+ messages in thread
From: Sid Boyce @ 2009-11-04  0:36 UTC (permalink / raw)
  To: Robert Nelson; +Cc: linux-omap

On 03/11/09 01:28, Robert Nelson wrote:
>> 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,

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.
-- 
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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-11-04  0:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-31 15:14 EHCI on 2.6.32-rc5-git4 + patches Sid Boyce
2009-10-31 17:08 ` Gadiyar, Anand
2009-10-31 23:41   ` Sid Boyce
2009-11-01 15:42     ` Robert Nelson
2009-11-01 23:29       ` Sid Boyce
2009-11-02  7:04         ` Felipe Balbi
2009-11-03  1:08           ` Sid Boyce
2009-11-03  1:28             ` Robert Nelson
2009-11-03 20:35               ` Sid Boyce
2009-11-04  0:36               ` Sid Boyce

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.