[U-Boot] OMAP USB, beagle-xm fail

Hello,
the recent OMAP USB changes (43b62393da6dfdd7f503d1b37344463a05ea47b5, 29321c0518d99494ab2a250e5b4f75b3add83b11) fail on beagleboard-xm rev. C, see below
regards, p.
U-Boot SPL 2011.12-00326-gdda8078 (Feb 13 2012 - 09:15:55) Texas Instruments Revision detection unimplemented OMAP SD/MMC: 0 timed out in wait_for_status_mask: I2C_STAT=1010 timed out in wait_for_status_mask: I2C_STAT=1010 reading u-boot.img reading u-boot.img
U-Boot 2011.12-00326-gdda8078 (Feb 13 2012 - 09:15:55)
OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 512 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0 *** Warning - readenv() failed, using default environment
timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 TWL4030:USB:Write[0xfd] Error 1 timed out in wait_for_status_mask: I2C_STAT=1410 TWL4030:USB:Write[0xfe] Error 1 timed out in wait_for_status_mask: I2C_STAT=1410 TWL4030:USB:Write[0xfe] Error 1

Hi Peter,
On Mon, Feb 13, 2012 at 1:52 PM, Peter Meerwald pmeerw@pmeerw.net wrote:
Hello,
the recent OMAP USB changes (43b62393da6dfdd7f503d1b37344463a05ea47b5, 29321c0518d99494ab2a250e5b4f75b3add83b11) fail on beagleboard-xm rev. C, see below
The errors have nothing to do with ehci patch merges, (I had tested it on beagle rev c board before posting it out)
Looking into it closely the below two patches are causing this issue:
[...] commit 498cbdfe62a8330f6c89765bdd15e60328a26511 Author: Patil, Rachna rachna@ti.com Date: Sun Jan 22 23:46:23 2012 +0000
ARM: AM33XX: Add AM33XX I2C driver support
commit 2faa76196af4b3e93bcb9e38ed9090cbd3b06db3 Author: Patil, Rachna rachna@ti.com Date: Sun Jan 22 23:44:12 2012 +0000
ARM: I2C: I2C Multi byte address support [...]
Reverting these two patches I don't see these errors on my beagle rev c board logs as in here [1]
btw, usb error printed is a musb error not the ehci host error.
-- Thanks, Govindraj.R
[1]:
U-Boot SPL 2011.12-00325-g146ff78 (Feb 13 2012 - 14:18:55) Texas Instruments Revision detection unimplemented OMAP SD/MMC: 0 timed out in wait_for_bb: I2C_STAT=1000 reading u-boot.img reading u-boot.img
U-Boot 2011.12-00325-g146ff78 (Feb 13 2012 - 14:18:55)
OMAP3630/3730-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 512 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0 *** Warning - readenv() failed, using default environment
In: serial Out: serial Err: serial Beagle xM Rev C No EEPROM on expansion board Die ID #79e200229ff800000163810c0d021023 Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 OMAP3 beagleboard.org # OMAP3 beagleboard.org # setenv usbethaddr 0:0:1:2:3:4;usb start; (Re)start USB... USB: Register 1313 NbrPorts 3 USB EHCI 1.00 scanning bus for devices... 3 USB Device(s) found scanning bus for storage devices... 0 Storage Device(s) found scanning bus for ethernet devices... 1 Ethernet Device(s) found OMAP3 beagleboard.org #
regards, p.
U-Boot SPL 2011.12-00326-gdda8078 (Feb 13 2012 - 09:15:55) Texas Instruments Revision detection unimplemented OMAP SD/MMC: 0 timed out in wait_for_status_mask: I2C_STAT=1010 timed out in wait_for_status_mask: I2C_STAT=1010 reading u-boot.img reading u-boot.img
U-Boot 2011.12-00326-gdda8078 (Feb 13 2012 - 09:15:55)
OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 512 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0 *** Warning - readenv() failed, using default environment
timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 TWL4030:USB:Write[0xfd] Error 1 timed out in wait_for_status_mask: I2C_STAT=1410 TWL4030:USB:Write[0xfe] Error 1 timed out in wait_for_status_mask: I2C_STAT=1410 TWL4030:USB:Write[0xfe] Error 1
--
Peter Meerwald +43-664-2444418 (mobile) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Hello Govindraj,
Looking into it closely the below two patches are causing this issue: commit 498cbdfe62a8330f6c89765bdd15e60328a26511 commit 2faa76196af4b3e93bcb9e38ed9090cbd3b06db3
Reverting these two patches I don't see these errors on my beagle rev c board logs as in here [1]
correct, thank you for pointing this out! works again without those two i2c-related patches
btw, usb error printed is a musb error not the ehci host error.
I missed that
thanks, regards, p.

Hi Govindraj,
On Mon, Feb 13, 2012 at 14:29:56, Govindraj wrote:
Hi Peter,
On Mon, Feb 13, 2012 at 1:52 PM, Peter Meerwald pmeerw@pmeerw.net wrote:
Hello,
the recent OMAP USB changes (43b62393da6dfdd7f503d1b37344463a05ea47b5, 29321c0518d99494ab2a250e5b4f75b3add83b11) fail on beagleboard-xm rev. C, see below
The errors have nothing to do with ehci patch merges, (I had tested it on beagle rev c board before posting it out)
Looking into it closely the below two patches are causing this issue:
[...] commit 498cbdfe62a8330f6c89765bdd15e60328a26511 Author: Patil, Rachna rachna@ti.com Date: Sun Jan 22 23:46:23 2012 +0000
ARM: AM33XX: Add AM33XX I2C driver support
commit 2faa76196af4b3e93bcb9e38ed9090cbd3b06db3 Author: Patil, Rachna rachna@ti.com Date: Sun Jan 22 23:44:12 2012 +0000
ARM: I2C: I2C Multi byte address support [...]
Reverting these two patches I don't see these errors on my beagle rev c board logs as in here [1]
I have tested these patches on AM335x EVM, AM335x Beaglebone and OMAP35xx. I did not face any issues w.r.t these EVM's. I tried i2c probe, read/write and all of it worked as expected. Also from the logs in [1] I still see an I2C error " wait_for_bb: I2C_STAT=1000", which is bus busy indication.
Regards, Rachna.
btw, usb error printed is a musb error not the ehci host error.
-- Thanks, Govindraj.R
[1]:
U-Boot SPL 2011.12-00325-g146ff78 (Feb 13 2012 - 14:18:55) Texas Instruments Revision detection unimplemented OMAP SD/MMC: 0 timed out in wait_for_bb: I2C_STAT=1000 reading u-boot.img reading u-boot.img
U-Boot 2011.12-00325-g146ff78 (Feb 13 2012 - 14:18:55)
OMAP3630/3730-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 512 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0 *** Warning - readenv() failed, using default environment
In: serial Out: serial Err: serial Beagle xM Rev C No EEPROM on expansion board Die ID #79e200229ff800000163810c0d021023 Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 OMAP3 beagleboard.org # OMAP3 beagleboard.org # setenv usbethaddr 0:0:1:2:3:4;usb start; (Re)start USB... USB: Register 1313 NbrPorts 3 USB EHCI 1.00 scanning bus for devices... 3 USB Device(s) found scanning bus for storage devices... 0 Storage Device(s) found scanning bus for ethernet devices... 1 Ethernet Device(s) found OMAP3 beagleboard.org #
regards, p.
U-Boot SPL 2011.12-00326-gdda8078 (Feb 13 2012 - 09:15:55) Texas Instruments Revision detection unimplemented OMAP SD/MMC: 0 timed out in wait_for_status_mask: I2C_STAT=1010 timed out in wait_for_status_mask: I2C_STAT=1010 reading u-boot.img reading u-boot.img
U-Boot 2011.12-00326-gdda8078 (Feb 13 2012 - 09:15:55)
OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 512 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0 *** Warning - readenv() failed, using default environment
timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 TWL4030:USB:Write[0xfd] Error 1 timed out in wait_for_status_mask: I2C_STAT=1410 TWL4030:USB:Write[0xfe] Error 1 timed out in wait_for_status_mask: I2C_STAT=1410 TWL4030:USB:Write[0xfe] Error 1
--
Peter Meerwald +43-664-2444418 (mobile) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

On Mon, Feb 13, 2012 at 4:46 AM, Patil, Rachna rachna@ti.com wrote:
Hi Govindraj,
On Mon, Feb 13, 2012 at 14:29:56, Govindraj wrote:
Hi Peter,
On Mon, Feb 13, 2012 at 1:52 PM, Peter Meerwald pmeerw@pmeerw.net wrote:
Hello,
the recent OMAP USB changes (43b62393da6dfdd7f503d1b37344463a05ea47b5, 29321c0518d99494ab2a250e5b4f75b3add83b11) fail on beagleboard-xm rev. C, see below
The errors have nothing to do with ehci patch merges, (I had tested it on beagle rev c board before posting it out)
Looking into it closely the below two patches are causing this issue:
[...] commit 498cbdfe62a8330f6c89765bdd15e60328a26511 Author: Patil, Rachna rachna@ti.com Date: Sun Jan 22 23:46:23 2012 +0000
ARM: AM33XX: Add AM33XX I2C driver support
commit 2faa76196af4b3e93bcb9e38ed9090cbd3b06db3 Author: Patil, Rachna rachna@ti.com Date: Sun Jan 22 23:44:12 2012 +0000
ARM: I2C: I2C Multi byte address support [...]
Reverting these two patches I don't see these errors on my beagle rev c board logs as in here [1]
I have tested these patches on AM335x EVM, AM335x Beaglebone and OMAP35xx. I did not face any issues w.r.t these EVM's. I tried i2c probe, read/write and all of it worked as expected. Also from the logs in [1] I still see an I2C error " wait_for_bb: I2C_STAT=1000", which is bus busy indication.
To be clear, I assume you're looking for one of the omap37xx platforms to see why the busy changes have broken it. Thanks.

Dear Tom Rini,
On Mon, Feb 13, 2012 at 4:46 AM, Patil, Rachna rachna@ti.com wrote:
Hi Govindraj,
On Mon, Feb 13, 2012 at 14:29:56, Govindraj wrote:
Hi Peter,
On Mon, Feb 13, 2012 at 1:52 PM, Peter Meerwald pmeerw@pmeerw.net wrote:
Hello,
the recent OMAP USB changes (43b62393da6dfdd7f503d1b37344463a05ea47b5, 29321c0518d99494ab2a250e5b4f75b3add83b11) fail on beagleboard-xm rev. C, see below
The errors have nothing to do with ehci patch merges, (I had tested it on beagle rev c board before posting it out)
Looking into it closely the below two patches are causing this issue:
[...] commit 498cbdfe62a8330f6c89765bdd15e60328a26511 Author: Patil, Rachna rachna@ti.com Date: Sun Jan 22 23:46:23 2012 +0000
ARM: AM33XX: Add AM33XX I2C driver support
commit 2faa76196af4b3e93bcb9e38ed9090cbd3b06db3 Author: Patil, Rachna rachna@ti.com Date: Sun Jan 22 23:44:12 2012 +0000
ARM: I2C: I2C Multi byte address support [...]
Reverting these two patches I don't see these errors on my beagle rev c board logs as in here [1]
I have tested these patches on AM335x EVM, AM335x Beaglebone and OMAP35xx. I did not face any issues w.r.t these EVM's. I tried i2c probe, read/write and all of it worked as expected. Also from the logs in [1] I still see an I2C error " wait_for_bb: I2C_STAT=1000", which is bus busy indication.
To be clear, I assume you're looking for one of the omap37xx platforms to see why the busy changes have broken it. Thanks.
What's the status here?
Best regards, Marek Vasut

On Sun, Mar 18, 2012 at 5:13 PM, Marek Vasut marex@denx.de wrote:
Dear Tom Rini,
On Mon, Feb 13, 2012 at 4:46 AM, Patil, Rachna rachna@ti.com wrote:
Hi Govindraj,
On Mon, Feb 13, 2012 at 14:29:56, Govindraj wrote:
Hi Peter,
On Mon, Feb 13, 2012 at 1:52 PM, Peter Meerwald pmeerw@pmeerw.net wrote:
Hello,
the recent OMAP USB changes (43b62393da6dfdd7f503d1b37344463a05ea47b5, 29321c0518d99494ab2a250e5b4f75b3add83b11) fail on beagleboard-xm rev. C, see below
The errors have nothing to do with ehci patch merges, (I had tested it on beagle rev c board before posting it out)
Looking into it closely the below two patches are causing this issue:
[...] commit 498cbdfe62a8330f6c89765bdd15e60328a26511 Author: Patil, Rachna rachna@ti.com Date: Sun Jan 22 23:46:23 2012 +0000
ARM: AM33XX: Add AM33XX I2C driver support
commit 2faa76196af4b3e93bcb9e38ed9090cbd3b06db3 Author: Patil, Rachna rachna@ti.com Date: Sun Jan 22 23:44:12 2012 +0000
ARM: I2C: I2C Multi byte address support [...]
Reverting these two patches I don't see these errors on my beagle rev c board logs as in here [1]
I have tested these patches on AM335x EVM, AM335x Beaglebone and OMAP35xx. I did not face any issues w.r.t these EVM's. I tried i2c probe, read/write and all of it worked as expected. Also from the logs in [1] I still see an I2C error " wait_for_bb: I2C_STAT=1000", which is bus busy indication.
To be clear, I assume you're looking for one of the omap37xx platforms to see why the busy changes have broken it. Thanks.
What's the status here?
The i2c changes broke it, and have been reverted. Taking another pass at adding i2c for the am33xx platforms is on the list. I've even done some usb testing on beagle xM recently and all is well.

On Mon, Feb 13, 2012 at 5:16 PM, Patil, Rachna rachna@ti.com wrote:
Hi Govindraj,
On Mon, Feb 13, 2012 at 14:29:56, Govindraj wrote:
Hi Peter,
On Mon, Feb 13, 2012 at 1:52 PM, Peter Meerwald pmeerw@pmeerw.net wrote:
Hello,
the recent OMAP USB changes (43b62393da6dfdd7f503d1b37344463a05ea47b5, 29321c0518d99494ab2a250e5b4f75b3add83b11) fail on beagleboard-xm rev. C, see below
The errors have nothing to do with ehci patch merges, (I had tested it on beagle rev c board before posting it out)
Looking into it closely the below two patches are causing this issue:
[...] commit 498cbdfe62a8330f6c89765bdd15e60328a26511 Author: Patil, Rachna rachna@ti.com Date: Sun Jan 22 23:46:23 2012 +0000
ARM: AM33XX: Add AM33XX I2C driver support
commit 2faa76196af4b3e93bcb9e38ed9090cbd3b06db3 Author: Patil, Rachna rachna@ti.com Date: Sun Jan 22 23:44:12 2012 +0000
ARM: I2C: I2C Multi byte address support [...]
Reverting these two patches I don't see these errors on my beagle rev c board logs as in here [1]
I have tested these patches on AM335x EVM, AM335x Beaglebone and OMAP35xx. I did not face any issues w.r.t these EVM's. I tried i2c probe, read/write and all of it worked as expected. Also from the logs in [1] I still see an I2C error " wait_for_bb: I2C_STAT=1000", which is bus busy indication.
I2C Timeouts are seen with OMAP4430 blaze also:
U-Boot SPL 2011.12-00323-g9a3aae2-dirty (Feb 14 2012 - 19:03:55) OMAP4430 ES2.1 OMAP SD/MMC: 0
U-Boot 2011.12-00323-g9a3aae2-dirty (Feb 14 2012 - 19:03:55)
CPU : OMAP4430 ES2.1 Board: OMAP4430 SDP I2C: ready DRAM: 1 GiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=0 timed out in wait_for_status_mask: I2C_STAT=0 timed out in wait_for_status_mask: I2C_STAT=0 timed out in wait_for_status_mask: I2C_STAT=10 In: serial Out: serial Err: serial timed out in wait_for_status_mask: I2C_STAT=10 timed out in wait_for_status_mask: I2C_STAT=10
Regards, Rachna.
btw, usb error printed is a musb error not the ehci host error.
-- Thanks, Govindraj.R
[1]:
U-Boot SPL 2011.12-00325-g146ff78 (Feb 13 2012 - 14:18:55) Texas Instruments Revision detection unimplemented OMAP SD/MMC: 0 timed out in wait_for_bb: I2C_STAT=1000 reading u-boot.img reading u-boot.img
U-Boot 2011.12-00325-g146ff78 (Feb 13 2012 - 14:18:55)
OMAP3630/3730-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 512 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0 *** Warning - readenv() failed, using default environment
In: serial Out: serial Err: serial Beagle xM Rev C No EEPROM on expansion board Die ID #79e200229ff800000163810c0d021023 Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 OMAP3 beagleboard.org # OMAP3 beagleboard.org # setenv usbethaddr 0:0:1:2:3:4;usb start; (Re)start USB... USB: Register 1313 NbrPorts 3 USB EHCI 1.00 scanning bus for devices... 3 USB Device(s) found scanning bus for storage devices... 0 Storage Device(s) found scanning bus for ethernet devices... 1 Ethernet Device(s) found OMAP3 beagleboard.org #
regards, p.
U-Boot SPL 2011.12-00326-gdda8078 (Feb 13 2012 - 09:15:55) Texas Instruments Revision detection unimplemented OMAP SD/MMC: 0 timed out in wait_for_status_mask: I2C_STAT=1010 timed out in wait_for_status_mask: I2C_STAT=1010 reading u-boot.img reading u-boot.img
U-Boot 2011.12-00326-gdda8078 (Feb 13 2012 - 09:15:55)
OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 512 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0 *** Warning - readenv() failed, using default environment
timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 timed out in wait_for_status_mask: I2C_STAT=1410 TWL4030:USB:Write[0xfd] Error 1 timed out in wait_for_status_mask: I2C_STAT=1410 TWL4030:USB:Write[0xfe] Error 1 timed out in wait_for_status_mask: I2C_STAT=1410 TWL4030:USB:Write[0xfe] Error 1
--
Peter Meerwald +43-664-2444418 (mobile) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
participants (6)
-
Govindraj
-
Marek Vasut
-
Patil, Rachna
-
Peter Meerwald
-
T Krishnamoorthy, Balaji
-
Tom Rini