On Tue, Jan 10, 2017 at 7:14 PM, Kevin O'Connor kevin@koconnor.net wrote:
On Mon, Jan 09, 2017 at 09:31:22AM +0200, Евгени Димитров wrote:
On Fri, Jan 6, 2017 at 4:46 PM, Kevin O'Connor kevin@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 below?
-Kevin
--- 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) ehci_reset_pipe(pipe); 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); ehci_waittick(cntl); return -1; }