Skip to contentSkip to conversation

musb: usb storage: USB device not accepting new address error

U-Boot Alper YILDIRIM 3 participants 5 messages Mar 26, 2011 – Apr 29, 2011

lore
Share & tools
lore
#0 lore raw

I am working on a custom OMAPL138 (DA8XX) based board. On 2010.12 release USB host mode is successfully working. But it is broken on 2011.03-rc1.

I am taking "USB device not accepting new address (errror=2)" error when i issue "usb start" cmd.

I analysed the problem but can not come up with a solution.

Regards.

Signature · 2 lines
View this message in context: http://old.nabble.com/musb%3A-usb-storage%3A-USB-device-not-accepting-new-address-error-tp31245386p31245386.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
#1 lore raw

Hi,

2011/3/26 Alper YILDIRIM <[email protected]>:

Quoted 8 lines

I am working on a custom OMAPL138 (DA8XX) based board. On 2010.12 release USB host mode is successfully working. But it is broken on 2011.03-rc1.

I am taking "USB device not accepting new address (errror=2)" error when i issue "usb start" cmd.

I analysed the problem but can not come up with a solution.

Have you tried 'git bisect' to find the offending patch already?

Kind regards,

Remy

#2 lore raw
Quoted 6 lines · Remy Bohmer-5 wrote:

Hi,

Have you tried 'git bisect' to find the offending patch already?

I am not familiar with "git bisect" cmd.
I will study the usage of it and inform you afterwards. Thanks Remy

Signature · 2 lines
View this message in context: http://old.nabble.com/musb%3A-usb-storage%3A-USB-device-not-accepting-new-address-error-tp31245386p31247142.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
#3 lore raw
In reply to Remy Bohmer

Hi,

Quoted 5 lines · Remy Bohmer-5 wrote:

Have you tried 'git bisect' to find the offending patch already?

I found the offending patch, it is the following commit that makes usb broken on OMAPL138. When i revert the patch the problem no more occurs.

3c0659b535b075be124c3d2a0714e55e65c46737
ARM: Avoid compiler optimization for readb, writeb and friends.

I am working on a proper solution.
Any help will be appreciated

Signature · 2 lines
View this message in context: http://old.nabble.com/musb%3A-usb-storage%3A-USB-device-not-accepting-new-address-error-tp31245386p31267662.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
#4 lore raw

Dear Alper YILDIRIM,

Quoted 10 lines · In message <[email protected]> you wrote:

I found the offending patch, it is the following commit that makes usb broken on OMAPL138. When i revert the patch the problem no more occurs.

3c0659b535b075be124c3d2a0714e55e65c46737
ARM: Avoid compiler optimization for readb, writeb and friends.

I am working on a proper solution.
Any help will be appreciated

This problem was fixed in a later commit. See

	commit 495df3bad9f250a36470cce15f14c36c616172b6
	Author: Wolfgang Denk <[email protected]>
	Date:   Fri Feb 11 12:25:48 2011 +0000

	    ARM: fix write*() I/O accessors

And if you read the comments in the related posting
(http://article.gmane.org/gmane.comp.boot-loaders.u-boot/94502) you will also see that this explicitly mentions fixing problems in drivers/usb/musb/musb_core.c, and why.

You could have found this by searching the archives.

Best regards,

Wolfgang Denk

Signature · 8 lines
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
PUBLIC NOTICE AS REQUIRED BY LAW:  Any Use of This  Product,  in  Any
Manner  Whatsoever,  Will  Increase  the  Amount  of  Disorder in the
Universe. Although No Liability Is Implied Herein,  the  Consumer  Is
Warned  That  This  Process Will Ultimately Lead to the Heat Death of
the Universe.