Bug 250189

Summary: upper USB port not working on pine64 with 12.2
Product: Base System Reporter: Vieno Hakkerinen <freebsd>
Component: armAssignee: freebsd-arm (Nobody) <freebsd-arm>
Status: Open ---    
Severity: Affects Only Me CC: 0mp
Priority: --- Keywords: needs-qa
Version: 12.2-RELEASE   
Hardware: arm64   
OS: Any   

Description Vieno Hakkerinen 2020-10-07 20:13:41 UTC
I wrote https://download.freebsd.org/ftp/releases/arm64/aarch64/ISO-IMAGES/12.2/FreeBSD-12.2-RC1-arm64-aarch64-PINE64.img.xz on a μSD card today and booted my pine64. I attached USB mass storages to both USB port. Sadly the USB dongle on the upper port was not recognized.

To verify that it is not a hardware problem I wrote armbian (based on Debian buster) to the same μSD card, booted and attached the same USB sticks. It worked.

I have not yet tried FreeBSD 13.
Comment 1 Vieno Hakkerinen 2020-10-11 12:22:40 UTC
I tried https://download.freebsd.org/ftp/releases/arm64/aarch64/ISO-IMAGES/12.2/FreeBSD-12.2-RC2-arm64-aarch64-PINE64.img.xz and it also does not recognize the USB mass storage in the upper USB port. Not even the LED on the USB stick is flashing.
Comment 2 Vieno Hakkerinen 2020-10-11 13:08:27 UTC
I am unable to test with https://download.freebsd.org/ftp/snapshots/arm64/aarch64/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-arm64-aarch64-PINE64-20201001-e18fc94e525.img.xz as it ran in a kernel panic during boot.
Comment 5 Vieno Hakkerinen 2020-12-25 19:45:10 UTC
https://download.freebsd.org/ftp/snapshots/arm64/aarch64/ISO-IMAGES/12.2/FreeBSD-12.2-STABLE-arm64-aarch64-PINE64-20201224-r368787.img.xz recognised the USB mass storage and assigned da0 to it.
Attached two USB mass storage devices and got da0 and da1.
Problem seems to be solved somewhere between 12.2-RELEASE and 12.2-STABLE (20201224).
I am interested how/when this was fixed but have no idea how to find the patch/diff.