public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Regression in usb-storage in u-boot 2015.04 ???
Date: Mon, 27 Apr 2015 23:41:02 +0200	[thread overview]
Message-ID: <201504272341.02282.marex@denx.de> (raw)
In-Reply-To: <CAPnjgZ2XPnFnDw-eQAHRbYKZPmCk-E3WJO9S6EsS8XnVQXiVpg@mail.gmail.com>

On Monday, April 27, 2015 at 09:57:52 PM, Simon Glass wrote:
> Hi Iain,
> 
> On 27 March 2015 at 02:42, Iain Paton <ipaton0@gmail.com> wrote:
> > On 26/03/15 19:08, Hans de Goede wrote:
> >> Perhaps someone can test the reproducer on another board
> > 
> >> with usb:
> > on an A20-OLinuXino-lime2
> > 
> > U-Boot SPL 2015.04-rc4-00073-g07d8f86 (Mar 27 2015 - 08:05:11)
> > DRAM: 1024 MiB
> > CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
> > 
> > U-Boot 2015.04-rc4-00073-g07d8f86 (Mar 27 2015 - 08:05:11) Allwinner
> > Technology
> > 
> > CPU:   Allwinner A20 (SUN7I)
> > I2C:   ready
> > DRAM:  1 GiB
> > MMC:   SUNXI SD/MMC: 0
> > *** Warning - bad CRC, using default environment
> > 
> > In:    serial
> > Out:   serial
> > Err:   serial
> > SCSI:  SUNXI SCSI INIT
> > SATA link 0 timeout.
> > AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
> > flags: ncq stag pm led clo only pmp pio slum part ccc apst
> > Net:   dwmac.1c50000
> > starting USB...
> > USB0:   USB EHCI 1.00
> > scanning bus 0 for devices... 1 USB Device(s) found
> > USB1:   USB EHCI 1.00
> > scanning bus 1 for devices... 2 USB Device(s) found
> > 
> >        scanning usb for storage devices... 1 Storage Device(s) found
> > 
> > Hit any key to stop autoboot:  0
> > sunxi# usb start
> > sunxi# usb reset
> > resetting USB...
> > USB0:   USB EHCI 1.00
> > scanning bus 0 for devices... 1 USB Device(s) found
> > USB1:   USB EHCI 1.00
> > scanning bus 1 for devices... EHCI timed out on TD - token=0x80008c80
> > 2 USB Device(s) found
> > 
> >        scanning usb for storage devices... 1 Storage Device(s) found
> > 
> > that EHCI timeout appears to be random, it pops up maybe 20% of the time.
> 
> I see this also, both with and without driver model. It seems like a
> bit of a worry. I can repeat this on the first use of USB from boot,
> around 20% of the time.

Just a random guess -- Try enabling cache debugging, maybe it's some alignment 
problem somewhere?

Best regards,
Marek Vasut

      reply	other threads:[~2015-04-27 21:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-26 19:08 [U-Boot] Regression in usb-storage in u-boot 2015.04 ??? Hans de Goede
2015-03-27  6:36 ` Bo Shen
2015-03-27  8:28   ` Hans de Goede
2015-03-27  8:42 ` Iain Paton
2015-03-27  8:47   ` Hans de Goede
2015-04-27  1:09     ` Marek Vasut
2015-04-27  8:40       ` Hans de Goede
2015-08-13 23:16         ` Marek Vasut
2015-09-23  9:50           ` Hans de Goede
2015-09-23  9:58             ` Marek Vasut
2015-04-27 19:57   ` Simon Glass
2015-04-27 21:41     ` Marek Vasut [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201504272341.02282.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox