From: Andre Heider <a.heider@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 0/6] Allwinner H6 USB3 support
Date: Tue, 9 Feb 2021 11:46:07 +0100 [thread overview]
Message-ID: <d178536e-4b04-df21-c887-20141dde5d4d@gmail.com> (raw)
In-Reply-To: <20210208055724.58673-1-samuel@sholland.org>
Hi Samuel,
On 08/02/2021 06:57, Samuel Holland wrote:
> This series adds clock, PHY, and XHCI driver support for the USB3
> controller found in the Allwinner H6 SoC. Below is a log showing it
> functioning on the Orange Pi 3.
>
> Cheers,
> Samuel
>
> U-Boot 2021.04-rc1-00068-g6b8f4e0d060 (Jan 01 1970 - 00:00:00 +0000) Allwinner Technology
>
> CPU: Allwinner H6 (SUN50I)
> Model: OrangePi 3
> DRAM: 2 GiB
> MMC: mmc at 4020000: 0, mmc at 4021000: 2, mmc at 4022000: 1
> Loading Environment from FAT... Unable to use mmc 1:0... In: serial at 5000000
> Out: serial at 5000000
> Err: serial at 5000000
> Net: No ethernet found.
> starting USB...
> Bus usb at 5101000: USB EHCI 1.00
> Bus usb at 5101400: USB OHCI 1.0
> Bus usb at 5200000: Register 2000140 NbrPorts 2
> Starting the controller
> USB XHCI 1.00
> Bus usb at 5311000: USB EHCI 1.00
> Bus usb at 5311400: USB OHCI 1.0
> scanning bus usb at 5101000 for devices... 1 USB Device(s) found
> scanning bus usb at 5101400 for devices... 1 USB Device(s) found
> scanning bus usb at 5200000 for devices... 4 USB Device(s) found
> scanning bus usb at 5311000 for devices... 1 USB Device(s) found
> scanning bus usb at 5311400 for devices... 1 USB Device(s) found
> scanning usb for storage devices... 1 Storage Device(s) found
> Hit any key to stop autoboot: 0
on my OrangePi3 I get this upon power up (with an usb3 flash drive as
well as a SD card reader):
starting USB...
Bus usb at 5101000: USB EHCI 1.00
Bus usb at 5101400: USB OHCI 1.0
Bus usb at 5200000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
Bus usb at 5311000: USB EHCI 1.00
Bus usb at 5311400: USB OHCI 1.0
scanning bus usb at 5101000 for devices... 1 USB Device(s) found
scanning bus usb at 5101400 for devices... 1 USB Device(s) found
scanning bus usb at 5200000 for devices... cannot reset port 2!?
Device NOT ready
Request Sense returned 02 3A 00
4 USB Device(s) found
scanning bus usb at 5311000 for devices... 1 USB Device(s) found
scanning bus usb at 5311400 for devices... 1 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Hit any key to stop autoboot: 0
A second retry makes the usb at 5200000 pass though.
May be related, but sometimes it can then boot off the usb device, but
sometimes I get this:
=> setenv boot_targets usb0
=> boot
Device 0: Vendor: Generic- Rev: 1.00 Prod: USB3.0 CRW -SD
Type: Removable Hard Disk
Capacity: 1876.0 MB = 1.8 GB (3842048 x 512)
... is now current device
Scanning usb 0:1...
WARN halted endpoint, queueing URB anyway.
Unexpected XHCI event TRB, skipping... (bbf55f10 00000000 13000000 03008401)
BUG at drivers/usb/host/xhci-ring.c:500/abort_td()!
BUG!
resetting ...
And sometimes it get further but then fails shortly after:
=> setenv boot_targets usb0
=> boot
Device 0: Vendor: Generic- Rev: 1.00 Prod: USB3.0 CRW -SD
Type: Removable Hard Disk
Capacity: 1876.0 MB = 1.8 GB (3842048 x 512)
... is now current device
Scanning usb 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
206 bytes read in 4 ms (49.8 KiB/s)
1: LibreELEC
Retrieving file: /KERNEL
23058440 bytes read in 1135 ms (19.4 MiB/s)
append: boot=UUID=1111-5929
disk=UUID=bb4dea68-a794-4306-ac3e-c6d585ec2a6b console=ttyS0,115200
console=tty1 systemd.debug_shell=ttyS0 quiet
Retrieving file: /sun50i-h6-orangepi-3.dtb
WARN halted endpoint, queueing URB anyway.
Unexpected XHCI event TRB, skipping... (bbf55f10 00000000 13000000 03008400)
BUG at drivers/usb/host/xhci-ring.c:500/abort_td()!
BUG!
resetting ...
next prev parent reply other threads:[~2021-02-09 10:46 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-08 5:57 [PATCH 0/6] Allwinner H6 USB3 support Samuel Holland
2021-02-08 5:57 ` [PATCH 1/6] clk: sunxi: Add a dummy clock driver for the RTC Samuel Holland
2021-03-28 22:51 ` Andre Przywara
2021-02-08 5:57 ` [PATCH 2/6] clk: sunxi: h6: Add XHCI clocks Samuel Holland
2021-02-09 1:33 ` Andre Przywara
2021-02-08 5:57 ` [PATCH 3/6] phy: sun50i-usb3: Add a driver for the H6 USB3 PHY Samuel Holland
2021-02-09 1:33 ` Andre Przywara
2021-02-08 5:57 ` [PATCH 4/6] usb: xhci-pci: Move reset logic out of XHCI core Samuel Holland
2021-02-08 11:43 ` Marek Vasut
2021-02-09 1:42 ` Andre Przywara
2021-02-09 2:27 ` Samuel Holland
2021-02-09 2:28 ` Samuel Holland
2021-02-09 9:45 ` Marek Vasut
2021-02-08 5:57 ` [PATCH 5/6] usb: xhci-dwc3: Add support for clocks/resets Samuel Holland
2021-02-09 1:42 ` Andre Przywara
2021-02-09 3:01 ` Samuel Holland
2021-02-08 5:57 ` [PATCH 6/6] configs: Enable USB3 on Allwinner H6 boards Samuel Holland
2021-02-09 1:42 ` Andre Przywara
2021-02-09 1:42 ` [PATCH 0/6] Allwinner H6 USB3 support Andre Przywara
2021-02-09 10:46 ` Andre Heider [this message]
2021-04-17 14:17 ` Samuel Holland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d178536e-4b04-df21-c887-20141dde5d4d@gmail.com \
--to=a.heider@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox