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?
@@ -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;