[SeaBIOS] USB-to-SATA bridge conflicts with USB boot flash drive

Kevin O'Connor kevin at koconnor.net
Sun Dec 23 17:59:25 CET 2018


On Tue, Dec 18, 2018 at 05:15:49PM +0300, Аладышев Константин wrote:
> I use coreboot+SeaBIOS bundle on custom motherboard with Intel Haswell i7
> and Lynxpoint-LP chipset and I've come to a strange issue with USB-to-SATA
> bridge TUSB9261 (http://www.ti.com/product/TUSB9261).
> In my experiments I plug HDD to one USB port, and USB boot flash drive to
> another USB port.
> Everything works fine when HDD is present on USB-to-SATA bridge. SeaBIOS
> displays both devices in its boot menu. But if HDD is not present and if USB
> boot flash drive is plugged to a port greater than USB-to-SATA bridge port,
> SeaBIOS doesn't see flash drive as bootable device.

Does the patch below help?

-Kevin


--- a/src/hw/usb-ehci.c
+++ b/src/hw/usb-ehci.c
@@ -467,6 +467,7 @@ ehci_realloc_pipe(struct usbdevice_s *usbdev, struct usb_pipe *upipe
         // Use previously allocated pipe.
         struct ehci_pipe *pipe = container_of(usbpipe, struct ehci_pipe, pipe);
         ehci_desc2pipe(pipe, usbdev, epdesc);
+        pipe->qh.token = 0;
         return usbpipe;
     }
 



More information about the SeaBIOS mailing list