On Tue, Jun 5, 2018 at 8:39 PM, Vasily Khoruzhick <[email protected]> wrote: > On Tue, Jun 5, 2018 at 12:04 AM, Jagan Teki <[email protected]> wrote: >> >> Let me look at it and will come back. > > I fixed it. See "usb: sunxi: sun50i: enable OHCI0 clock when OHCI1 is > in use" and "sunxi: clock: Fix EHCI and OHCI clocks on A64" on ML.
I found another issue caused by this series, u-boot crashes while shutting down USB if any low-speed or full-speed device is plugged (e.g. keyboard): U-Boot 2018.07-rc1-00014-gec0a6e2f05 (Jun 16 2018 - 10:40:32 -0700) Allwinner Technology CPU: Allwinner A64 (SUN50I) Model: SoPine with baseboard DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... Unable to use mmc 1:2... Failed (-5) In: serial Out: vidconsole Err: vidconsole Net: phy interface7 eth0: ethernet@1c30000 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5) unable to get device descriptor (error=-1) 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0 => => => => usb reset resetting USB... EHCI failed to shut down host controller. "Synchronous Abort" handler, esr 0x96000004 elr: 000000004a0317d8 lr : 000000004a0317a4 (reloc) elr: 00000000bdf7b7d8 lr : 00000000bdf7b7a4 x0 : b9f5730000104002 x1 : 00000000b9f5f040 x2 : 0000000000020000 x3 : 0000000003000000 x4 : 00000000bdfb6f80 x5 : 00000000b9f55700 x6 : 0000000000000101 x7 : 00000000b9f620f0 x8 : 00000000b9f265e0 x9 : 0000000000000008 x10: 00000000ffffffd0 x11: 0000000000000006 x12: 000000000001869f x13: 0000000000002170 x14: 00000000b9f2688c x15: 0000000000000002 x16: 0000000000001050 x17: 0000000000000000 x18: 00000000b9f29de8 x19: 0000000000000000 x20: 00000000b9f57040 x21: 00000000b9f2a7d0 x22: 0000000000000001 x23: 00000000bdfb96a8 x24: 00000000b9f2a840 x25: 0000000000000000 x26: 0000000000000000 x27: 0000000000000000 x28: 00000000b9f2d2f0 x29: 00000000b9f26650 I have no idea how to fix it and I'm not planning to work on it till end of next week. _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

