[SeaBIOS] USB timeout on ALIX.2C2 (CS5536)

Kevin O'Connor kevin at koconnor.net
Tue Jan 10 18:14:43 CET 2017

On Mon, Jan 09, 2017 at 09:31:22AM +0200, Евгени Димитров wrote:
> On Fri, Jan 6, 2017 at 4:46 PM, Kevin O'Connor <kevin at koconnor.net> wrote:
> > Are you trying to boot from the "Multimedia Card Reader" or from a
> > regular USB flash drive?  If you're not booting from the card reader,
> > does the patch below help?
> I was trying to boot from whatever USB devices I can get my hands on.
> Ultimately my goal is to boot from a regular flash drive. The patch doesn't
> help.

I'm not sure what is happening - it looks like the controller is
shutting down, but it's unclear why.  What do you get with the patch


--- a/src/hw/usb-ehci.c
+++ b/src/hw/usb-ehci.c
@@ -519,6 +519,9 @@ ehci_wait_td(struct ehci_pipe *pipe, struct ehci_qtd *td, u32 end)
             struct usb_ehci_s *cntl = container_of(
                 GET_LOWFLAT(pipe->pipe.cntl), struct usb_ehci_s, usb);
+            if (!MODESEGMENT)
+                dprintf(1, "ehci usbcmd=%08x usbsts=%08x\n"
+                        , cntl->regs->usbcmd, cntl->regs->usbsts);
             return -1;

More information about the SeaBIOS mailing list