* [U-Boot-Users] USB OHCI issue
@ 2007-10-13 17:03 Matthias Fuchs
2007-10-15 9:32 ` Markus Klotzbücher
0 siblings, 1 reply; 10+ messages in thread
From: Matthias Fuchs @ 2007-10-13 17:03 UTC (permalink / raw)
To: u-boot
Hi everybody,
I am currently playing around with U-Boot's (PCI) OHCI driver
on a 405 board. U-Boot's USB stuff is running fine on this board. I can
read files from an USB stick without any problems.
But when I start Linux with a (rather old) 2.4.21 kernel, the still connected USB
stick is not detected as storage device. I have two ways to get USB working
under this Linux kernel:
a) I do not start the USB subsystem at the U-Boot prompt ('usb start')
b) I disconnect and reconnect the USB stick when Linux is running.
Both options are not really what I want.
Calling 'usb stop' before booting Linux does not help.
I am not sure if this is a Linux or U-Boot issue. Perhaps a newer kernel does not
show this issue, but upgrading is currently not an option:-)
Can anybody verify this behavior with other 2.4.x kernels?
Regards
Matthias
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] USB OHCI issue
2007-10-13 17:03 [U-Boot-Users] USB OHCI issue Matthias Fuchs
@ 2007-10-15 9:32 ` Markus Klotzbücher
0 siblings, 0 replies; 10+ messages in thread
From: Markus Klotzbücher @ 2007-10-15 9:32 UTC (permalink / raw)
To: u-boot
Hi Matthias,
Matthias Fuchs <matthias.fuchs@esd-electronics.com> writes:
> I am currently playing around with U-Boot's (PCI) OHCI driver
> on a 405 board. U-Boot's USB stuff is running fine on this board. I can
> read files from an USB stick without any problems.
>
> But when I start Linux with a (rather old) 2.4.21 kernel, the still connected USB
> stick is not detected as storage device. I have two ways to get USB working
> under this Linux kernel:
>
> a) I do not start the USB subsystem at the U-Boot prompt ('usb start')
So maybe USB does not get stopped completely when "usb stop" is
issued. Are you using the generic USB driver (CONFIG_USB_OHCI_NEW) ?
Maybe you need some board dependant code to correctly stop USB?
> b) I disconnect and reconnect the USB stick when Linux is running.
So the kernel doesn't get notified of the already plugged device if it
has been started under U-Boot. I suppose this supports the theory of
"usb stop" not working.
I would try to find why :-)
Best regards
Markus Klotzbuecher
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] usb ohci issue
2008-01-03 5:40 ` Wang, Steven
@ 2008-01-03 5:47 ` Zhang Wei
0 siblings, 0 replies; 10+ messages in thread
From: Zhang Wei @ 2008-01-03 5:47 UTC (permalink / raw)
To: u-boot
CONFIG_USB_OHCI_NEW is not only for PCI USB controller. The interrupt transaction support is added into OHCI_NEW driver. If you want to enable USB keyboard support, you should use OHCI_NEW driver. If your controller need swap register, please add "#define CFG_OHCI_SWAP_REG_ACCESS 1".
Cheers!
Wei.
> -----Original Message-----
> From: Wang, Steven [mailto:Steven.Wang at spansion.com]
> Sent: Thursday, January 03, 2008 1:40 PM
> To: Zhang Wei; wd at denx.de
> Cc: u-boot-users at lists.sourceforge.net
> Subject: RE: [U-Boot-Users] usb ohci issue
>
> Yes, I define CONFIG_USB_OHCI_NEW in my config file.
> My usb controller is not PCI controller. So, I did not define
> CONFIG_USB_OHCI_NEW.
>
> Thanks & Best Regards,
> Steven
>
> -----Original Message-----
> From: Zhang Wei [mailto:Wei.Zhang at freescale.com]
> Sent: 2008?1?2? 17:41
> To: Wang, Steven; wd at denx.de
> Cc: u-boot-users at lists.sourceforge.net
> Subject: RE: [U-Boot-Users] usb ohci issue
>
> Do you usb CONFIG_USB_OHCI_NEW?
> Do you try to add "#define CFG_OHCI_SWAP_REG_ACCESS 1" to
> your config file?
>
> Cheers!
> Wei
>
> > -----Original Message-----
> > From: u-boot-users-bounces at lists.sourceforge.net
> > [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf
> > Of Wang, Steven
> > Sent: Monday, December 24, 2007 4:58 PM
> > To: wd at denx.de
> > Cc: u-boot-users at lists.sourceforge.net
> > Subject: Re: [U-Boot-Users] usb ohci issue
> >
> > Hi Wolfgang,
> >
> > CPU is OMAP2420. USB host controller is integrated in this CPU.
> >
> > Thanks & Best Regards,
> > Steven
> >
> > -----Original Message-----
> > From: wd at denx.de [mailto:wd at denx.de]
> > Sent: 2007?12?24? 16:54
> > To: Wang, Steven
> > Cc: u-boot-users at lists.sourceforge.net
> > Subject: Re: [U-Boot-Users] usb ohci issue
> >
> > In message
> > <A4C6FC160E79CE418F09D45C555A44795F4363@cnsuzexmbpf1.spansion.
> com> you wrote:
> > >
> > > I am porting the usb ohci host/kbd SW under uboot-1.3.0.
> I am cannot
> > > make usb keyboard work, the following is the log. Please
> > give me some
> > > suggestion. Thanks in advance!
> >
> > And which architecture / processor is this, and which USB
> controller?
> >
> > > ------_=_NextPart_001_01C845D0.54B7F300
> > > Content-Type: text/html;
> > > charset="us-ascii"
> > > Content-Transfer-Encoding: quoted-printable
> >
> > Never, never ever post HTML here!
> >
> > Best regards,
> >
> > Wolfgang Denk
> >
> > --
> > DENX Software Engineering GmbH, MD: Wolfgang Denk &
> Detlev Zundel
> > HRB 165235 Munich, Office: Kirchenstr.5, D-82194
> Groebenzell, Germany
> > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email:
> wd at denx.de
> > If in any problem you find yourself doing an immense amount
> of work,
> > the answer can be obtained by simple inspection.
> >
> >
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] usb ohci issue
2008-01-02 9:41 ` Zhang Wei
@ 2008-01-03 5:40 ` Wang, Steven
2008-01-03 5:47 ` Zhang Wei
0 siblings, 1 reply; 10+ messages in thread
From: Wang, Steven @ 2008-01-03 5:40 UTC (permalink / raw)
To: u-boot
Yes, I define CONFIG_USB_OHCI_NEW in my config file.
My usb controller is not PCI controller. So, I did not define CONFIG_USB_OHCI_NEW.
Thanks & Best Regards,
Steven
-----Original Message-----
From: Zhang Wei [mailto:Wei.Zhang at freescale.com]
Sent: 2008?1?2? 17:41
To: Wang, Steven; wd at denx.de
Cc: u-boot-users at lists.sourceforge.net
Subject: RE: [U-Boot-Users] usb ohci issue
Do you usb CONFIG_USB_OHCI_NEW?
Do you try to add "#define CFG_OHCI_SWAP_REG_ACCESS 1" to your config file?
Cheers!
Wei
> -----Original Message-----
> From: u-boot-users-bounces at lists.sourceforge.net
> [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf
> Of Wang, Steven
> Sent: Monday, December 24, 2007 4:58 PM
> To: wd at denx.de
> Cc: u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] usb ohci issue
>
> Hi Wolfgang,
>
> CPU is OMAP2420. USB host controller is integrated in this CPU.
>
> Thanks & Best Regards,
> Steven
>
> -----Original Message-----
> From: wd at denx.de [mailto:wd at denx.de]
> Sent: 2007?12?24? 16:54
> To: Wang, Steven
> Cc: u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] usb ohci issue
>
> In message
> <A4C6FC160E79CE418F09D45C555A44795F4363@cnsuzexmbpf1.spansion.
com> you wrote:
> >
> > I am porting the usb ohci host/kbd SW under uboot-1.3.0. I am cannot
> > make usb keyboard work, the following is the log. Please
> give me some
> > suggestion. Thanks in advance!
>
> And which architecture / processor is this, and which USB controller?
>
> > ------_=_NextPart_001_01C845D0.54B7F300
> > Content-Type: text/html;
> > charset="us-ascii"
> > Content-Transfer-Encoding: quoted-printable
>
> Never, never ever post HTML here!
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> If in any problem you find yourself doing an immense amount of work,
> the answer can be obtained by simple inspection.
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] usb ohci issue
2007-12-24 8:57 ` Wang, Steven
@ 2008-01-02 9:41 ` Zhang Wei
2008-01-03 5:40 ` Wang, Steven
0 siblings, 1 reply; 10+ messages in thread
From: Zhang Wei @ 2008-01-02 9:41 UTC (permalink / raw)
To: u-boot
Do you usb CONFIG_USB_OHCI_NEW?
Do you try to add "#define CFG_OHCI_SWAP_REG_ACCESS 1" to your config file?
Cheers!
Wei
> -----Original Message-----
> From: u-boot-users-bounces at lists.sourceforge.net
> [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf
> Of Wang, Steven
> Sent: Monday, December 24, 2007 4:58 PM
> To: wd at denx.de
> Cc: u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] usb ohci issue
>
> Hi Wolfgang,
>
> CPU is OMAP2420. USB host controller is integrated in this CPU.
>
> Thanks & Best Regards,
> Steven
>
> -----Original Message-----
> From: wd at denx.de [mailto:wd at denx.de]
> Sent: 2007?12?24? 16:54
> To: Wang, Steven
> Cc: u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] usb ohci issue
>
> In message
> <A4C6FC160E79CE418F09D45C555A44795F4363@cnsuzexmbpf1.spansion.
com> you wrote:
> >
> > I am porting the usb ohci host/kbd SW under uboot-1.3.0. I am cannot
> > make usb keyboard work, the following is the log. Please
> give me some
> > suggestion. Thanks in advance!
>
> And which architecture / processor is this, and which USB controller?
>
> > ------_=_NextPart_001_01C845D0.54B7F300
> > Content-Type: text/html;
> > charset="us-ascii"
> > Content-Transfer-Encoding: quoted-printable
>
> Never, never ever post HTML here!
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> If in any problem you find yourself doing an immense amount of work,
> the answer can be obtained by simple inspection.
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] usb ohci issue
2007-12-24 8:54 ` Wolfgang Denk
@ 2007-12-24 8:57 ` Wang, Steven
2008-01-02 9:41 ` Zhang Wei
0 siblings, 1 reply; 10+ messages in thread
From: Wang, Steven @ 2007-12-24 8:57 UTC (permalink / raw)
To: u-boot
Hi Wolfgang,
CPU is OMAP2420. USB host controller is integrated in this CPU.
Thanks & Best Regards,
Steven
-----Original Message-----
From: wd@denx.de [mailto:wd at denx.de]
Sent: 2007?12?24? 16:54
To: Wang, Steven
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] usb ohci issue
In message <A4C6FC160E79CE418F09D45C555A44795F4363@cnsuzexmbpf1.spansion.com> you wrote:
>
> I am porting the usb ohci host/kbd SW under uboot-1.3.0. I am cannot
> make usb keyboard work, the following is the log. Please give me some
> suggestion. Thanks in advance!
And which architecture / processor is this, and which USB controller?
> ------_=_NextPart_001_01C845D0.54B7F300
> Content-Type: text/html;
> charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
Never, never ever post HTML here!
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If in any problem you find yourself doing an immense amount of work,
the answer can be obtained by simple inspection.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] usb ohci issue
2007-12-24 1:57 [U-Boot-Users] usb ohci issue Wang, Steven
@ 2007-12-24 8:54 ` Wolfgang Denk
2007-12-24 8:57 ` Wang, Steven
0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Denk @ 2007-12-24 8:54 UTC (permalink / raw)
To: u-boot
In message <A4C6FC160E79CE418F09D45C555A44795F4363@cnsuzexmbpf1.spansion.com> you wrote:
>
> I am porting the usb ohci host/kbd SW under uboot-1.3.0. I am cannot
> make usb keyboard work, the following is the log. Please give me some
> suggestion. Thanks in advance!
And which architecture / processor is this, and which USB controller?
> ------_=_NextPart_001_01C845D0.54B7F300
> Content-Type: text/html;
> charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
Never, never ever post HTML here!
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If in any problem you find yourself doing an immense amount of work,
the answer can be obtained by simple inspection.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] usb ohci issue
@ 2007-12-24 1:57 Wang, Steven
2007-12-24 8:54 ` Wolfgang Denk
0 siblings, 1 reply; 10+ messages in thread
From: Wang, Steven @ 2007-12-24 1:57 UTC (permalink / raw)
To: u-boot
Hi All,
I am porting the usb ohci host/kbd SW under uboot-1.3.0. I am cannot
make usb keyboard work, the following is the log. Please give me some
suggestion. Thanks in advance!
Best regards,
Steven
usb_control_msg: request: 0x0, requesttype: 0xA3
value 0x0 index 0x1 length 0x4
INFO: submit_control_msg
DEBUG: SUB URB:[ f19] dev: 1,ep: 0-I,type:CTRL,len:0/4 stat:0x80000000
DEBUG: SUB(rh) URB:[ f1f] dev: 1,ep: 0-I,type:CTRL,len:0/4
stat:0x80000000
INFO: Root-Hub: adr: 1 cmd(8): 000000a3 0000 0001 0004
DEBUG: roothub.a: 0a001203 POTPGT=10 NOCP NPS NDP=3
DEBUG: roothub.b: 00000000 PPCM=0000 DR=0000
DEBUG: roothub.status: 00000000
DEBUG: roothub.portstatus [0] = 0x00100303 PRSC LSDA PPS PES CCS
DEBUG: RET(rh) URB:[ f44] dev: 1,ep: 0-I,type:CTRL,len:0/4 stat:0x0
usb_ohci.c: cmd(8): a3 00 00 00 01 00 04 00
usb_ohci.c: data(0/4):
portstatus 303, change 10, Low Speed
STAT_C_CONNECTION = 0 STAT_CONNECTION = 1 USB_PORT_STAT_ENABLE 1
usb_control_msg: request: 0x1, requesttype: 0x23
value 0x14 index 0x1 length 0x0
INFO: submit_control_msg
DEBUG: SUB URB:[ fae] dev: 1,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
usb_ohci.c: cmd(8): 23 01 14 00 01 00 00 00
DEBUG: SUB(rh) URB:[ fb8] dev: 1,ep: 0-O,type:CTRL,len:0/0
stat:0x80000000
usb_ohci.c: cmd(8): 23 01 14 00 01 00 00 00
INFO: Root-Hub: adr: 1 cmd(8): 00000123 0014 0001 0000
INFO: WR:portstatus[0] 0x100000
DEBUG: roothub.a: 0a001203 POTPGT=10 NOCP NPS NDP=3
DEBUG: roothub.b: 00000000 PPCM=0000 DR=0000
DEBUG: roothub.status: 00000000
DEBUG: roothub.portstatus [0] = 0x00000303 LSDA PPS PES CCS
DEBUG: RET(rh) URB:[ fe4] dev: 1,ep: 0-O,type:CTRL,len:0/0 stat:0x0
usb_ohci.c: cmd(8): 23 01 14 00 01 00 00 00
New Device 1
usb_control_msg: request: 0x6, requesttype: 0x80
value 0x100 index 0x0 length 0x40
INFO: submit_control_msg
DEBUG: SUB URB:[1108] dev: 0,ep: 0-I,type:CTRL,len:0/64 stat:0x80000000
DEBUG: SUB URB:[113f] dev: 0,ep: 0-I,type:CTRL,len:0/64 stat:0x80000000
DEBUG: %
DEBUG: ***************************************USB-error/status: 5 :
800cf300
DEBUG: ConditionCode 0x5
DEBUG: RET(ctlr) URB:[1187] dev: 0,ep: 0-I,type:CTRL,len:0/64 stat:0x20
usb_new_device: 64 byte descr
usb_control_msg: request: 0x6, requesttype: 0x80
value 0x100 index 0x0 length 0x40
INFO: submit_control_msg
DEBUG: SUB URB:[11f6] dev: 0,ep: 0-I,type:CTRL,len:0/64 stat:0x80000000
DEBUG: SUB URB:[122d] dev: 0,ep: 0-I,type:CTRL,len:0/64 stat:0x80000000
DEBUG: hc_interrupt: returning..
DEBUG: %
DEBUG: ******************************USB-error/status: 5 : 800cf3c0
DEBUG: ConditionCode 0x5
DEBUG: RET(ctlr) URB:[1278] dev: 0,ep: 0-I,type:CTRL,len:0/64 stat:0x20
usb_new_device: 64 byte descr
usb_control_msg: request: 0x6, requesttype: 0x80
value 0x100 index 0x0 length 0x40
INFO: submit_control_msg
DEBUG: SUB URB:[12e7] dev: 0,ep: 0-I,type:CTRL,len:0/64 stat:0x80000000
DEBUG: SUB URB:[131e] dev: 0,ep: 0-I,type:CTRL,len:0/64 stat:0x80000000
DEBUG: hc_interrupt: returning..
DEBUG: %
DEBUG: ************************USB-error/status: 5 : 800cf380
DEBUG: ConditionCode 0x5
DEBUG: RET(ctlr) URB:[1369] dev: 0,ep: 0-I,type:CTRL,len:0/64 stat:0x20
usb_new_device: 64 byte descr
hub_port_reset: resetting port 0...
usb_control_msg: request: 0x3, requesttype: 0x23
value 0x4 index 0x1 length 0x0
INFO: submit_control_msg
DEBUG: SUB URB:[146f] dev: 1,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
usb_ohci.c: cmd(8): 23 03 04 00 01 00 00 00
DEBUG: SUB(rh) URB:[1479] dev: 1,ep: 0-O,type:CTRL,len:0/0
stat:0x80000000
usb_ohci.c: cmd(8): 23 03 04 00 01 00 00 00
INFO: Root-Hub: adr: 1 cmd(8): 00000323 0004 0001 0000
INFO: WR:portstatus[0] 0x10
DEBUG: roothub.a: 0a001203 POTPGT=10 NOCP NPS NDP=3
DEBUG: roothub.b: 00000000 PPCM=0000 DR=0000
DEBUG: roothub.status: 00000000
DEBUG: roothub.portstatus [0] = 0x00100303 PRSC LSDA PPS PES CCS
DEBUG: RET(rh) URB:[14a5] dev: 1,ep: 0-O,type:CTRL,len:0/0 stat:0x0
usb_ohci.c: cmd(8): 23 03 04 00 01 00 00 00
usb_control_msg: request: 0x0, requesttype: 0xA3
value 0x0 index 0x1 length 0x4
INFO: submit_control_msg
DEBUG: SUB URB:[15c8] dev: 1,ep: 0-I,type:CTRL,len:0/4 stat:0x80000000
DEBUG: SUB(rh) URB:[15ce] dev: 1,ep: 0-I,type:CTRL,len:0/4
stat:0x80000000
INFO: Root-Hub: adr: 1 cmd(8): 000000a3 0000 0001 0004
DEBUG: roothub.a: 0a001203 POTPGT=10 NOCP NPS NDP=3
DEBUG: roothub.b: 00000000 PPCM=0000 DR=0000
DEBUG: roothub.status: 00000000
DEBUG: roothub.portstatus [0] = 0x00100303 PRSC LSDA PPS PES CCS
DEBUG: RET(rh) URB:[15f3] dev: 1,ep: 0-I,type:CTRL,len:0/4 stat:0x0
usb_ohci.c: cmd(8): a3 00 00 00 01 00 04 00
usb_ohci.c: data(0/4):
portstatus 303, change 10, Low Speed
STAT_C_CONNECTION = 0 STAT_CONNECTION = 1 USB_PORT_STAT_ENABLE 1
usb_control_msg: request: 0x1, requesttype: 0x23
value 0x14 index 0x1 length 0x0
INFO: submit_control_msg
DEBUG: SUB URB:[165d] dev: 1,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
usb_ohci.c: cmd(8): 23 01 14 00 01 00 00 00
DEBUG: SUB(rh) URB:[1667] dev: 1,ep: 0-O,type:CTRL,len:0/0
stat:0x80000000
usb_ohci.c: cmd(8): 23 01 14 00 01 00 00 00
INFO: Root-Hub: adr: 1 cmd(8): 00000123 0014 0001 0000
INFO: WR:portstatus[0] 0x100000
DEBUG: roothub.a: 0a001203 POTPGT=10 NOCP NPS NDP=3
DEBUG: roothub.b: 00000000 PPCM=0000 DR=0000
DEBUG: roothub.status: 00000000
DEBUG: roothub.portstatus [0] = 0x00000303 LSDA PPS PES CCS
DEBUG: RET(rh) URB:[1693] dev: 1,ep: 0-O,type:CTRL,len:0/0 stat:0x0
usb_ohci.c: cmd(8): 23 01 14 00 01 00 00 00
set address 2
usb_control_msg: request: 0x5, requesttype: 0x0
value 0x2 index 0x0 length 0x0
INFO: submit_control_msg
DEBUG: SUB URB:[1706] dev: 0,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
usb_ohci.c: cmd(8): 00 05 02 00 00 00 00 00
ERROR: submit_control_message: pipesize for pipe 84000000 is zero
USB device not accepting new address (error=80000000)
hub: disabling port 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071224/f9b697ef/attachment.htm
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] USB OHCI issue
2005-11-29 17:19 [U-Boot-Users] USB OHCI issue Mohammed Amine SAYA
@ 2005-11-29 19:39 ` Wolfgang Denk
0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Denk @ 2005-11-29 19:39 UTC (permalink / raw)
To: u-boot
In message <438C8DA0.8060600@rfo.atmel.com> you wrote:
> I am trying to port usb_ohci code (u-boot-1.1.3 version) from
> cpu/arm920t/s3c24x0 to our chip.
...
> Should I try code from cvs instead of that of 1.1.3 version ?
Yes, definitely.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Dealing with failure is easy: work hard to improve. Success is also
easy to handle: you've solved the wrong problem. Work hard to
improve.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] USB OHCI issue
@ 2005-11-29 17:19 Mohammed Amine SAYA
2005-11-29 19:39 ` Wolfgang Denk
0 siblings, 1 reply; 10+ messages in thread
From: Mohammed Amine SAYA @ 2005-11-29 17:19 UTC (permalink / raw)
To: u-boot
Hi all,
I am trying to port usb_ohci code (u-boot-1.1.3 version) from
cpu/arm920t/s3c24x0 to our chip.
I added low_level specific functions and It seems to work correctly with
a low
speed device (mouse...).
Things get a little more compilcated when I use a disk-on-key.
when I perform a : usb start
U-Boot> usb start
(Re)start USB...
USB: scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
Device NOT ready
Request Sense returned 00 00 00
0 Storage Device(s) found
But when I perform a usb tree I get this :
U-Boot> usb tree
Device Tree:
1 Hub (12MBit/s, 0mA)
| OHCI Root Hub
|
+-2 Mass Storage (12MBit/s, 94mA)
M-Sys DiskOnKey 2730C3409173AB63
or a usb info :
U-Boot> usb info
1: Hub, USB Revision 1.10
- OHCI Root Hub
- Class: Hub
- PacketSize: 8 Configurations: 1
- Vendor: 0x0000 Product 0x0000 Version 0.0
Configuration: 1
- Interfaces: 1 Self Powered 0mA
Interface: 0
- Alternate Settings 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 2 Interval 255ms
2: Mass Storage, USB Revision 2.0
- M-Sys DiskOnKey 2730C3409173AB63
- Class: (from Interface) Mass Storage
- PacketSize: 64 Configurations: 1
- Vendor: 0x08ec Product 0x0012 Version 2.0
Configuration: 1
- Interfaces: 1 Bus Powered 94mA
Interface: 0
- Alternate Settings 0, Endpoints: 2
- Class Mass Storage, Transp. SCSI, Bulk only
- Endpoint 1 In Bulk MaxPacket 64
- Endpoint 2 Out Bulk MaxPacket 64
But when I perform a usb storage I get this :
U-Boot> usb storage
No storage devices, perhaps not 'usb start'ed..?
Do you know why all this mess around the disk-on-key ?
Do you know how to solve this ?
Should I try code from cvs instead of that of 1.1.3 version ?
Best regards,
Amine.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-01-03 5:47 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-13 17:03 [U-Boot-Users] USB OHCI issue Matthias Fuchs
2007-10-15 9:32 ` Markus Klotzbücher
-- strict thread matches above, loose matches on Subject: below --
2007-12-24 1:57 [U-Boot-Users] usb ohci issue Wang, Steven
2007-12-24 8:54 ` Wolfgang Denk
2007-12-24 8:57 ` Wang, Steven
2008-01-02 9:41 ` Zhang Wei
2008-01-03 5:40 ` Wang, Steven
2008-01-03 5:47 ` Zhang Wei
2005-11-29 17:19 [U-Boot-Users] USB OHCI issue Mohammed Amine SAYA
2005-11-29 19:39 ` Wolfgang Denk
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.