[U-Boot] Regression in usb-storage in u-boot 2015.04 ???

Marek Vasut marex at denx.de
Mon Apr 27 23:41:02 CEST 2015


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 at 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


More information about the U-Boot mailing list