USB3 on NanoPi NEO3 - RK3328

"Felipe Bugno" <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <43-66e74800-3-171d26a0@183340864>
Hi everybody,
 
I have a NanoPi NEO3, a hardware very similar to the supported NanoPi R2S, and I'm adapting the devicetree for it on a NetBSD 10 latest, build from CVS sources. But I ran on a issue that I'm not entirely sure if its related to device tree or is a know issue with usb on rockchip rk3328 with netbsd.
 
When plugging a old usb 2.0 drive on it, it works fine, and its possible to unplug it and plug again, and it is reliably detected. With a newer USB 3.0 and also with a USB 3.0 case, not so much, the system get stuck, and after removing the drive, it won't detect again.

From dmesg it goes as following and then, the usb port becomes unresponsive for anything usb 3.0:
[  97.7317141] umass0: Kingston (0x0951) DataTraveler 3.0 (0x1666), rev 3.20/1.10, addr 1
[  97.7317141] scsibus0 at umass0: 2 targets, 1 lun per target
[  97.7317141] sd0 at scsibus0 target 0 lun 0: <Kingston, DataTraveler 3.0, PMAP> disk removable
[  97.7317141] sd0: fabricating a geometry
[  97.7317141] sd0: 115 GB, 118260 cyl, 64 head, 32 sec, 512 bytes/sect x 242196480 sectors
[  97.7317141] sd0: fabricating a geometry
[  97.8817390] dk2 at sd0: "5cf67877-dd09-4b47-8dfb-952526b0548b", 242192384 blocks at 2048, type: ntfs

When removing, it doesn't show the expected as show below (example given from a usb2 drive on the same port):
[ 177.9824949] sd1: detached
[ 177.9824949] scsibus1: detached
[ 177.9824949] umass1: detached
[ 177.9824949] umass1: at uhub1 port 1 (addr 2) disconnected

Do anybody has a hint of what could be going on? Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.