public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] PPC440EP USB1.1 Host Error
@ 2008-11-07  6:49 ` 조기성
  2008-11-18 21:19   ` Remy Bohmer
  0 siblings, 1 reply; 2+ messages in thread
From: 조기성 @ 2008-11-07  6:49 UTC (permalink / raw)
  To: u-boot

Hi , I'm using ppc440EP and using u-boot( git version )

I have a ploblem in using usb 1.1 host , in my board(has not CPLD)

I wanna using USB1.1 Host , and not using USB2.2
But usb1.1 Host is not working , when usb device is connected Kernel prints
-62 err messages

How can I Slove it?

Best Regards.
Steven
____________________________________________________________________________
_____________________________
Hit any key to stop autoboot:  0 
=> usb start
(Re)start USB...
USB:   USB 1.1 Device init
scanning bus for devices... ERROR:  USB-error: DEVICENOTRESPONDING: Device
did not respond to token d
not provide a handshake (OUT) (5)
ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN)
or did
not provide a handshake (OUT) (5)
2 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found



>>>> Kernel Error Message
# usb 1-1: new low speed USB device using ppc-soc-ohci and address 2 
usb 1-1: device descriptor read/64, error -62 
usb 1-1: device descriptor read/64, error -62 
usb 1-1: new low speed USB device using ppc-soc-ohci and address 3 
usb 1-1: device descriptor read/64, error -62 
usb 1-1: device descriptor read/64, error -62 
usb 1-1: new low speed USB device using ppc-soc-ohci and address 4 
usb 1-1: device not accepting address 4, error -62 
usb 1-1: new low speed USB device using ppc-soc-ohci and address 5 
usb 1-1: device not accepting address 5, error -62

____________________________________________________________________________
_____________________________


/* It's my test code , but not working 
int board_early_init_f(void)
{
... 

#if 1 //steven added
	//mfsdr(sdr_usb0, sdr0_usb0);
	//sdr0_usb0 = sdr0_usb0 &~SDR0_USB0_USB_DEVSEL_MASK;
	//sdr0_usb0 = sdr0_usb0 | SDR0_USB0_USB11D_DEVSEL;
	//mtsdr(sdr_usb0, sdr0_usb0);

	mfsdr(sdr_usb0, sdr0_usb0);
	sdr0_usb0 = sdr0_usb0 &~SDR0_USB0_LEEN_MASK;
	sdr0_usb0 = sdr0_usb0 | SDR0_USB0_LEEN_ENABLE;
	mtsdr(sdr_usb0, sdr0_usb0);
#endif



}
---------------------------------------------------------------------
6F Lotte IT Castle II 550-1 Gasan-dong, 
Geumcheon-gu, Seoul, 153-768, Korea
Research Engineer/R&D software Team
Tel: 82-2-890-1657(Direct)
FAX:02-890-1639

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

* [U-Boot] PPC440EP USB1.1 Host Error
  2008-11-07  6:49 ` [U-Boot] PPC440EP USB1.1 Host Error 조기성
@ 2008-11-18 21:19   ` Remy Bohmer
  0 siblings, 0 replies; 2+ messages in thread
From: Remy Bohmer @ 2008-11-18 21:19 UTC (permalink / raw)
  To: u-boot

Hello Steven,

> I have a ploblem in using usb 1.1 host , in my board(has not CPLD)
> I wanna using USB1.1 Host , and not using USB2.2
> But usb1.1 Host is not working , when usb device is connected Kernel prints
> -62 err messages
> How can I Slove it?

Sorry for the late reply.

Looking at the logging, it seems that you are using the common OHCI
driver. The logging I see appears familiar to me.
It happens sometimes on some controllers (I do not expect it is USB
stick related). It looks a bit like a startup issue, on our CPUs it
occurs very infrequently and the problem is usually gone after a
single reset. I still want to figure why it is happening sometimes.

Another option, which is more likely here, because the Linux kernel
also has the same problem, is that the board specific initialisation
is not entirely correct. Similar errors are also seen when the 48 MHz
is not available (or configured wrong, at wrong frequency) for the
OHCI controller. Usually U-boot needs to set up board timing, PLLs,
etc. correct, the Linux kernel can depend on the bootloader
configuration, but that might be different per architecture.

Kind Regards,

Remy


>
> Best Regards.
> Steven
> ____________________________________________________________________________
> _____________________________
> Hit any key to stop autoboot:  0
> => usb start
> (Re)start USB...
> USB:   USB 1.1 Device init
> scanning bus for devices... ERROR:  USB-error: DEVICENOTRESPONDING: Device
> did not respond to token d
> not provide a handshake (OUT) (5)
> ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN)
> or did
> not provide a handshake (OUT) (5)
> 2 USB Device(s) found
>       scanning bus for storage devices... 0 Storage Device(s) found
>
>
>
>>>>> Kernel Error Message
> # usb 1-1: new low speed USB device using ppc-soc-ohci and address 2
> usb 1-1: device descriptor read/64, error -62
> usb 1-1: device descriptor read/64, error -62
> usb 1-1: new low speed USB device using ppc-soc-ohci and address 3
> usb 1-1: device descriptor read/64, error -62
> usb 1-1: device descriptor read/64, error -62
> usb 1-1: new low speed USB device using ppc-soc-ohci and address 4
> usb 1-1: device not accepting address 4, error -62
> usb 1-1: new low speed USB device using ppc-soc-ohci and address 5
> usb 1-1: device not accepting address 5, error -62
>
> ____________________________________________________________________________
> _____________________________
>
>
> /* It's my test code , but not working
> int board_early_init_f(void)
> {
> ...
>
> #if 1 //steven added
>        //mfsdr(sdr_usb0, sdr0_usb0);
>        //sdr0_usb0 = sdr0_usb0 &~SDR0_USB0_USB_DEVSEL_MASK;
>        //sdr0_usb0 = sdr0_usb0 | SDR0_USB0_USB11D_DEVSEL;
>        //mtsdr(sdr_usb0, sdr0_usb0);
>
>        mfsdr(sdr_usb0, sdr0_usb0);
>        sdr0_usb0 = sdr0_usb0 &~SDR0_USB0_LEEN_MASK;
>        sdr0_usb0 = sdr0_usb0 | SDR0_USB0_LEEN_ENABLE;
>        mtsdr(sdr_usb0, sdr0_usb0);
> #endif
>
>
>
> }
> ---------------------------------------------------------------------
> 6F Lotte IT Castle II 550-1 Gasan-dong,
> Geumcheon-gu, Seoul, 153-768, Korea
> Research Engineer/R&D software Team
> Tel: 82-2-890-1657(Direct)
> FAX:02-890-1639
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>

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

end of thread, other threads:[~2008-11-18 21:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AclApPV2Gn6ecrg6SPuNYV3lRHx02Q==>
2008-11-07  6:49 ` [U-Boot] PPC440EP USB1.1 Host Error 조기성
2008-11-18 21:19   ` Remy Bohmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox