[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] ppce500 usb-ehci-pci issue on last uboot
From: |
luigi burdo |
Subject: |
[Qemu-devel] ppce500 usb-ehci-pci issue on last uboot |
Date: |
Mon, 25 Sep 2017 19:10:11 +0000 |
Hi all,
the last uboot git mainstream gave the opportunity to made usb ehci-pci work
and gave to the vm the opportunity to load from
usb pendrive files, configurations, use a use mouse and keyboard.
i build the uboot with qemu-ppce500_defconfig machine this feature was
configured without problem and uboot build without issue.
just adding to the .config
CONFIG_CMD_USB=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_PCI=y
here the new uboot console working on ppce500 -cpu e5500
U-Boot 2017.09-00322-g1f6049e (Sep 25 2017 - 20:50:48 +0200)
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
00.01.00 0x8086 0x24cd Serial bus controller 0x03
00.02.00 0x8086 0x2922 Mass storage controller 0x06
00.03.00 0x1234 0x1111 Display controller 0x00
00.06.00 0x1af4 0x1000 Network controller 0x00
when i run the command usb start inside the uboot console:
=> usb start
starting USB...
USB0: EHCI fail to reset
lowlevel init failed
USB error: all controllers failed lowlevel init
I been meet uboot developers and after one afternoon in drilling inside the
code of uboot they assume the issue was come in qemu and not in uboot.
from an uboot dev:
"actually, I tried it yesterday and it seems to be a bug in qemu in case you
reset the EHCI controller, it doesn't come out of reset for whatever reason ...
so you probably want to talk to the qemu guys, it's when U-Boot sets USBCMD
RESET bit and then does handshake, the controller is stuck with reset bit
asserted"
i ask if possible to fix it?
here some past&bin of drilling inside uboot
https://pastebin.com/93DRFGcM
https://pastebin.com/g5j2XN6R
https://pastebin.com/KDMCU7C5
https://pastebin.com/ndLtNQxS<https://pastebin.com/i3TkejfT>
Thanks
Luigi
- [Qemu-devel] ppce500 usb-ehci-pci issue on last uboot,
luigi burdo <=