pxa3xx OHCI support problem

jeonghoon Yoon <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Hello,

I use PXA320(Monahans-P) custom board with linux-2.6.24-rc3.
There is a following problem.

----------------------------------

========================
>>> linux-2.6.24-rc3 <<<
========================

pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1
pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c000000
[ohci] _ohci_writel():	writel(0xc8820014) = 0x80000000
[ohci] _ohci_readl():	readl (0xc8820004) = 0x0
[ohci] _ohci_readl():	readl (0xc8820034) = 0x2edf
[ohci] _ohci_writel():	writel(0xc8820004) = 0x0
[ohci] _ohci_readl():	readl (0xc8820004) = 0x0
[ohci] _ohci_writel():	writel(0xc8820008) = 0x1
[ohci] _ohci_readl():	readl (0xc8820008) = 0x1
[ohci] _ohci_readl():	readl (0xc8820008) = 0x0
[ohci] _ohci_writel():	writel(0xc8820020) = 0x0
[ohci] _ohci_writel():	writel(0xc8820028) = 0x0
[ohci] _ohci_writel():	writel(0xc8820018) = 0xa7d19000
[ohci] _ohci_readl():	readl (0xc8820034) = 0x2edf
[ohci] _ohci_writel():	writel(0xc8820034) = 0xa7782edf
[ohci] _ohci_writel():	writel(0xc8820040) = 0x2a2f
[ohci] _ohci_readl():	readl (0xc8820034) = 0xa7782edf
[ohci] _ohci_readl():	readl (0xc8820040) = 0x2a2f
[ohci] _ohci_writel():	writel(0xc8820004) = 0x83
[ohci] _ohci_writel():	writel(0xc8820050) = 0x8000
[ohci] _ohci_writel():	writel(0xc882000c) = 0xffffffff		****
[ohci] _ohci_writel():	writel(0xc8820010) = 0x8000005a
[ohci] _ohci_readl():	readl (0xc8820048) = 0x4000902
[ohci] _ohci_writel():	writel(0xc8820048) = 0x4000202
[ohci] _ohci_writel():	writel(0xc8820050) = 0x10000
[ohci] _ohci_writel():	writel(0xc882004c) = 0x0
[ohci] _ohci_readl():	readl (0xc8820004) = 0x83
[ohci] _ohci_readl():	readl (0xc882000c) = 0x44
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000005a
[ohci] _ohci_writel():	writel(0xc882000c) = 0x48
[ohci] _ohci_writel():	writel(0xc8820014) = 0x40
[ohci] _ohci_writel():	writel(0xc882000c) = 0x40
[ohci] _ohci_writel():	writel(0xc8820010) = 0x80000000
[ohci] _ohci_readl():	readl (0xc8820004) = 0x83
[ohci] _ohci_readl():	readl (0xc8820000) = 0x10
[ohci] _ohci_readl():	readl (0xc8820004) = 0x83
[ohci] _ohci_readl():	readl (0xc8820008) = 0x0
[ohci] _ohci_readl():	readl (0xc882000c) = 0x4
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000001a
[ohci] _ohci_readl():	readl (0xc882001c) = 0x0
[ohci] _ohci_readl():	readl (0xc8820020) = 0x0
[ohci] _ohci_readl():	readl (0xc8820024) = 0x0
[ohci] _ohci_readl():	readl (0xc8820028) = 0x0
[ohci] _ohci_readl():	readl (0xc882002c) = 0x0
[ohci] _ohci_readl():	readl (0xc8820030) = 0x0
[ohci] _ohci_readl():	readl (0xc8820048) = 0x4000202
[ohci] _ohci_readl():	readl (0xc882004c) = 0x0
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x10101  <-- Now, any device is not connected !!!
[ohci] _ohci_readl():	readl (0xc8820058) = 0x100
[ohci] _ohci_readl():	readl (0xc882005c) = 0x100
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
[ohci] _ohci_readl():	readl (0xc8820048) = 0x4000202
[ohci] _ohci_readl():	readl (0xc882004c) = 0x0
hub 1-0:1.0: 3 ports detected
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_writel():	writel(0xc8820054) = 0x100
[ohci] _ohci_writel():	writel(0xc8820058) = 0x100
[ohci] _ohci_writel():	writel(0xc882005c) = 0x100
usb usb1: Product: PXA27x OHCI
usb usb1: Manufacturer: Linux 2.6.24-rc3 ohci_hcd
usb usb1: SerialNumber: pxa27x
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x10101
[ohci] _ohci_readl():	readl (0xc8820058) = 0x100
[ohci] _ohci_readl():	readl (0xc882005c) = 0x100
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000001a
Initializing USB Mass Storage driver...
[ohci] _ohci_readl():	readl (0xc8820054) = 0x10101
[ohci] _ohci_writel():	writel(0xc8820054) = 0x10000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x101
[ohci] _ohci_readl():	readl (0xc8820054) = 0x101
[ohci] _ohci_readl():	readl (0xc8820054) = 0x101
[ohci] _ohci_readl():	readl (0xc8820054) = 0x101
[ohci] _ohci_readl():	readl (0xc8820054) = 0x101
[ohci] _ohci_readl():	readl (0xc882003c) = 0x1ec
[ohci] _ohci_readl():	readl (0xc8820054) = 0x101
[ohci] _ohci_writel():	writel(0xc8820054) = 0x10
[ohci] _ohci_readl():	readl (0xc882003c) = 0x205
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820058) = 0x100
[ohci] _ohci_readl():	readl (0xc882005c) = 0x100
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000001a
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820058) = 0x100
[ohci] _ohci_readl():	readl (0xc882005c) = 0x100
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000001a
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820058) = 0x100
[ohci] _ohci_readl():	readl (0xc882005c) = 0x100
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000001a
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc882003c) = 0x426
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_writel():	writel(0xc8820054) = 0x100000
[ohci] _ohci_writel():	writel(0xc8820054) = 0x10
[ohci] _ohci_readl():	readl (0xc882003c) = 0x449
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820058) = 0x100
[ohci] _ohci_readl():	readl (0xc882005c) = 0x100
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000001a
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820058) = 0x100
[ohci] _ohci_readl():	readl (0xc882005c) = 0x100
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000001a
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc882003c) = 0x6c4
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_writel():	writel(0xc8820054) = 0x100000
[ohci] _ohci_writel():	writel(0xc8820054) = 0x10
[ohci] _ohci_readl():	readl (0xc882003c) = 0x6e7
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820058) = 0x100
[ohci] _ohci_readl():	readl (0xc882005c) = 0x100
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000001a
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820058) = 0x100
[ohci] _ohci_readl():	readl (0xc882005c) = 0x100
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000001a
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820058) = 0x100
[ohci] _ohci_readl():	readl (0xc882005c) = 0x100
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000001a
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc882003c) = 0x962
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_writel():	writel(0xc8820054) = 0x100000
[ohci] _ohci_writel():	writel(0xc8820054) = 0x10
[ohci] _ohci_readl():	readl (0xc882003c) = 0x985
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820058) = 0x100
[ohci] _ohci_readl():	readl (0xc882005c) = 0x100
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000001a
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820058) = 0x100
[ohci] _ohci_readl():	readl (0xc882005c) = 0x100
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000001a
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820058) = 0x100
[ohci] _ohci_readl():	readl (0xc882005c) = 0x100
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000001a
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc882003c) = 0xc00
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_writel():	writel(0xc8820054) = 0x100000
[ohci] _ohci_writel():	writel(0xc8820054) = 0x10
[ohci] _ohci_readl():	readl (0xc882003c) = 0xc23
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820058) = 0x100
[ohci] _ohci_readl():	readl (0xc882005c) = 0x100
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000001a
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820050) = 0x8000
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820058) = 0x100
[ohci] _ohci_readl():	readl (0xc882005c) = 0x100
[ohci] _ohci_readl():	readl (0xc8820010) = 0x8000001a
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
[ohci] _ohci_readl():	readl (0xc8820054) = 0x120101
hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?

----------------------------------


When I use linux-2.6.14.7 and pxa3xx patches, OHCI operation is ok.
So I think that hardware is ok.


Thanks for your suggestions,

Jeonghoon





-------------------------------------------------
Your Life on the Net
DreamWiz Free Mail @ http://www.dreamwiz.com/



-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.