hI, Idwer,
Could you please sent me built seabios image and I can have a try?

Thanks.
Joe

> Date: Mon, 24 Aug 2015 15:12:13 +0200
> From: vidwer@gmail.com
> To: seabios@seabios.org
> Subject: Re: [SeaBIOS] : USB 3.0 port failed if a USB 3.0 device is attached when power up
>
> 2015-08-24 14:19 GMT+02:00 Zheng Bao <fishbaoz@hotmail.com>:
> > Hi,
> > Please review the debug message below.
> >
> > Seabios message if USB3 harddrive is plugged in USB3 port.
> > --------------------------------------------
> > SeaBIOS (version rel-1.7.5-0-ge51488c-dirty-20150824_081102-supersrv)
>
> FWIW, I'm using the version from github master, 1.8.0
>
> > Found coreboot cbmem console @ affde000
> > Found mainboard AMD FP4
> > Relocating init from 0x000e6d99 to 0xaff54770 (size 42948)
> > Found CBFS header at 0xfffffc60
> > CPU Mhz=2101
> > Found 26 PCI devices (max PCI bus is 01)
> > Copying SMBIOS entry point from 0xaffa7000 to 0x000f1540
> > Copying ACPI RSDP from 0xaffb8000 to 0x000f1510
> > Copying MPTABLE from 0xaffdc000/affdc010 to 0x000f1340
> > Copying PIR from 0xaffdd000 to 0x000f1310
> > Using pmtimer, ioport 0x818
> > Scan for VGA option rom
> > Running option rom at c000:0003
> > Turning on vga text mode console
> > SeaBIOS (version rel-1.7.5-0-ge51488c-dirty-20150824_081102-supersrv)
> > /aff51000\ Start thread
> > |aff51000| XHCI init on dev 00:10.0: regs @ 0xf0b8a000, 8 ports, 32 slots,
> > 32 byte contexts
> > |aff51000| XHCI extcap 0x1 @ f0b8a500
> > |aff51000| XHCI protocol USB 3.00, 4 ports (offset 1), def 0
> > |aff51000| XHCI protocol USB 2.00, 4 ports (offset 5), def 18
> > |aff51000| XHCI extcap 0xa @ f0b8a540
> > /aff50000\ Start thread
>
> > /aff4f000\ Start thread
> > |aff4f000| WARNING - Timeout at i8042_flush:71!
> > \aff4f000/ End thread
>
> Where does that belong to?
>
> > |aff51000| EHCI init on dev 00:12.0 (regs=0xf0b8d520)
> > /aff4f000\ Start thread
> > /aff4d000\ Start thread
> > Found 0 lpt ports
> > Found 1 serial ports
> > AHCI controller at 11.0, iobase f0b8d000, irq 0
> > AHCI: cap 0xf733ff01, ports_impl 0x3
> > /aff4c000\ Start thread
> > |aff4c000| AHCI/0: probing
> > |aff51000| EHCI init on dev 01:00.4 (regs=0xf0818020)
> > /aff4b000\ Start thread
> > /aff4a000\ Start thread
> > /aff49000\ Start thread
> > /aff47000\ Start thread
> > |aff47000| AHCI/1: probing
> > |aff47000| AHCI/1: link up
> > |aff4c000| AHCI/0: link down
> > |aff47000| AHCI/1: ... finished, status 0x51, ERROR 0x4
> > \aff4c000/ End thread
> > |aff47000| Searching bootorder for: /pci@i0cf8/*@11/drive@1/disk@0
> > \aff4a000/ End thread
> > \aff49000/ End thread
> > |aff47000| AHCI/1: registering: "AHCI/1: PLEXTOR PX-128M6G-2280 ATA-8
> > Hard-Disk (119 GiBytes)"
> > \aff47000/ End thread
> > \aff51000/ End thread
> > /aff4c000\ Start thread
> > /aff4a000\ Start thread
> > /aff49000\ Start thread
> > /aff48000\ Start thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > /aff46000\ Start thread
> > \aff46000/ End thread
> > /aff46000\ Start thread
> > \aff46000/ End thread
> > /aff46000\ Start thread
> > \aff46000/ End thread
> > |aff4a000| usb_hid_setup 0xaff51c50
> > |aff4b000| WARNING - Timeout at ehci_waittick:186!
>
> I haven't seen this before.
>
> > |aff4a000| USB keyboard initialized
> > \aff4a000/ End thread
> > \aff4b000/ End thread
> > |aff47000| WARNING - Timeout at wait_bit:484!
> > \aff47000/ End thread
> > |aff50000| XHCI no devices found
> > \aff50000/ End thread
> > \aff4c000/ End thread
> > \aff48000/ End thread
> > \aff49000/ End thread
> > |aff4d000| Initialized USB HUB (1 ports used)
> > \aff4d000/ End thread
> > \aff4f000/ End thread
> > All threads complete.
> > Scan for option roms
> >
> > Press F12 for boot menu.
> >
> > Select boot device:
> >
> > 1. AHCI/1: PLEXTOR PX-128M6G-2280 ATA-8 Hard-Disk (119 GiBytes
> >
> >
> >
> > Seabios message if USB3 hard drive is plugged in USB2 port.
> > ------------------------------
> > SeaBIOS (version rel-1.7.5-0-ge51488c-dirty-20150824_081102-supersrv)
> > Found coreboot cbmem console @ affde000
> > Found mainboard AMD FP4
> > Relocating init from 0x000e6d99 to 0xaff54770 (size 42948)
> > Found CBFS header at 0xfffffc60
> > CPU Mhz=2100
> > Found 26 PCI devices (max PCI bus is 01)
> > Copying SMBIOS entry point from 0xaffa7000 to 0x000f1540
> > Copying ACPI RSDP from 0xaffb8000 to 0x000f1510
> > Copying MPTABLE from 0xaffdc000/affdc010 to 0x000f1340
> > Copying PIR from 0xaffdd000 to 0x000f1310
> > Using pmtimer, ioport 0x818
> > Scan for VGA option rom
> > Running option rom at c000:0003
> > Turning on vga text mode console
> > SeaBIOS (version rel-1.7.5-0-ge51488c-dirty-20150824_081102-supersrv)
> > /aff51000\ Start thread
> > |aff51000| XHCI init on dev 00:10.0: regs @ 0xf0b8a000, 8 ports, 32 slots,
> > 32 byte contexts
> > |aff51000| XHCI extcap 0x1 @ f0b8a500
> > |aff51000| XHCI protocol USB 3.00, 4 ports (offset 1), def 0
> > |aff51000| XHCI protocol USB 2.00, 4 ports (offset 5), def 18
> > |aff51000| XHCI extcap 0xa @ f0b8a540
> > /aff50000\ Start thread
> > /aff4f000\ Start thread
> > |aff4f000| WARNING - Timeout at i8042_flush:71!
> > \aff4f000/ End thread
> > |aff51000| EHCI init on dev 00:12.0 (regs=0xf0b8d520)
> > /aff4f000\ Start thread
> > /aff4d000\ Start thread
> > Found 0 lpt ports
> > Found 1 serial ports
> > AHCI controller at 11.0, iobase f0b8d000, irq 0
> > AHCI: cap 0xf733ff01, ports_impl 0x3
> > /aff4c000\ Start thread
> > |aff4c000| AHCI/0: probing
> > |aff51000| EHCI init on dev 01:00.4 (regs=0xf0818020)
> > /aff4b000\ Start thread
> > /aff4a000\ Start thread
> > /aff49000\ Start thread
> > /aff47000\ Start thread
> > |aff47000| AHCI/1: probing
> > |aff47000| AHCI/1: link up
> > |aff4c000| AHCI/0: link down
> > |aff47000| AHCI/1: ... finished, status 0x51, ERROR 0x4
> > \aff4c000/ End thread
> > |aff47000| Searching bootorder for: /pci@i0cf8/*@11/drive@1/disk@0
> > \aff4a000/ End thread
> > \aff49000/ End thread
> > |aff47000| AHCI/1: registering: "AHCI/1: PLEXTOR PX-128M6G-2280 ATA-8
> > Hard-Disk (119 GiBytes)"
> > \aff47000/ End thread
> > \aff51000/ End thread
> > /aff4c000\ Start thread
> > /aff4a000\ Start thread
> > /aff49000\ Start thread
> > /aff48000\ Start thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > |aff50000| XHCI no devices found
> > \aff50000/ End thread
> > |aff4b000| WARNING - Timeout at ehci_waittick:186!
> > \aff4b000/ End thread
> > |aff4c000| Searching bootorder for:
> > /pci@i0cf8/usb@12/hub@1/storage@1/*@0/*@0,0
> > |aff4c000| Searching bootorder for: /pci@i0cf8/usb@12/hub@1/usb-*@1
> > |aff4c000| USB MSC vendor='Seagate' product='FA GoFlex Pro' rev='0210'
> > type=0 removable=0
> > |aff4c000| USB MSC blksize=512 sectors=976773167
> > \aff4c000/ End thread
> > |aff4a000| usb_hid_setup 0xaff521d0
> > |aff4a000| USB keyboard initialized
> > \aff4a000/ End thread
> > \aff48000/ End thread
> > \aff49000/ End thread
> > |aff4d000| Initialized USB HUB (2 ports used)
> > \aff4d000/ End thread
> > \aff4f000/ End thread
> > All threads complete.
> > Scan for option roms
> >
> > Press F12 for boot menu.
> >
> > Select boot device:
> >
> > 1. AHCI/1: PLEXTOR PX-128M6G-2280 ATA-8 Hard-Disk (119 GiBytes
> > 2. USB MSC Drive Seagate FA GoFlex Pro 0210
> >
> >
> >> Date: Thu, 20 Aug 2015 13:14:54 +0200
> >> From: vidwer@gmail.com
> >> To: seabios@seabios.org
> >
> >> Subject: Re: [SeaBIOS] : USB 3.0 port failed if a USB 3.0 device is
> >> attached when power up
> >>
> >> 2015-08-07 23:21 GMT+02:00 Kevin O'Connor <kevin@koconnor.net>:
> >> > On Thu, Aug 06, 2015 at 11:51:04AM +0000, Zheng Bao wrote:
> >> >> Board: Bettong
> >> >> USB3 controller: Hudson on Carrizo
> >> >> USB3 device: Seagate USB hard drive. That is the only USB 3.0 device I
> >> >> can get.
> >> >
> >> > Thanks. The problem looks very similar to one reported in the past by
> >> > Idwer. Unfortunately, Idwer also didn't have access to any other USB3
> >> > devices - that would have been a great test to see if the quirky
> >> > behavior was due to the controller or due to the device.
> >>
> >> The board I have is an Hudson-D4? board, ASUS F2A85-M with the lspci ID:
> >> 00:10.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH
> >> USB XHCI Controller [1022:7812] (rev 03)
> >> 00:10.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH
> >> USB XHCI Controller [1022:7812] (rev 03)
> >>
> >> Zheng, can you recompile SeaBIOS with CONFIG_THREADS=y and
> >> CONFIG_DEBUG_LEVEL=2 and try booting off the superspeed device you're
> >> using?
> >> The experience I had was that, with those settings, this superspeed
> >> SATA dock showed up in the device menu (press ESCape).
> >>
> >> If that won't make the device show up - be sure to post that
> >> cbmem/console output - change USB_TIME_SIGATT in src/hw/usb.h to at
> >> least 1000.
> >>
> >> HTH,
> >>
> >> Idwer
> >>
> >> >
> >> > Can you provide the output from "lspci", "lsusb", and "lsusb -t".
> >> >
> >> > -Kevin
> >> >
> >> >>
> >> >> Joe
> >> >>
> >> >> > Date: Wed, 5 Aug 2015 06:25:13 -0400
> >> >> > From: kevin@koconnor.net
> >> >> > To: fishbaoz@hotmail.com
> >> >> > CC: seabios@seabios.org
> >> >> > Subject: Re: [SeaBIOS]: USB 3.0 port failed if a USB 3.0 device is
> >> >> > attached when power up
> >> >> >
> >> >> > On Wed, Aug 05, 2015 at 07:40:50AM +0000, Zheng Bao wrote:
> >> >> > > hi, Kevin,
> >> >> > > I am debugging the coreboot on AMD board.
> >> >> > >
> >> >> > > I found if a device is populated on USB 3.0 port during system
> >> >> > > power up, the USB3.0 function fail after OS boot up.
> >> >> > > If a USB 2.0 device is plugged, the port is OK.
> >> >> > > Can you take a look at this?
> >> >> >
> >> >> > What board is this, what USB3 controller is it, and what USB3 device
> >> >> > did the problem occur with? Does the problem occur with multiple/all
> >> >> > USB3 devices or just one?
> >> >> >
> >> >> > -Kevin
> >> >>
> >>
> >> _______________________________________________
> >> SeaBIOS mailing list
> >> SeaBIOS@seabios.org
> >> http://www.seabios.org/mailman/listinfo/seabios
>
> _______________________________________________
> SeaBIOS mailing list
> SeaBIOS@seabios.org
> http://www.seabios.org/mailman/listinfo/seabios