USB3.0 not working on Pine Rock64

This is for ARMv8 based devices

Re: USB3.0 not working on Pine Rock64

Postby ShapeShifter499 » Mon Jul 30, 2018 6:42 am

I switched back to using the USB 2.0 ports and I noticed some errors about my luks encrypted USB hard drives being misaligned has gone away. There seems to be some issues with the USB 3.0 driver in use here.
ShapeShifter499
 
Posts: 34
Joined: Mon Nov 25, 2013 12:24 pm

Re: USB3.0 not working on Pine Rock64

Postby ShapeShifter499 » Mon Jul 30, 2018 6:50 am

I've reported the issue on USB 3.0 to ayufan https://github.com/ayufan-rock64/linux- ... -408763545 It seems a handful of people are experiencing this issue. Happens on high I/O
ShapeShifter499
 
Posts: 34
Joined: Mon Nov 25, 2013 12:24 pm

Re: USB3.0 not working on Pine Rock64

Postby ShapeShifter499 » Tue Aug 07, 2018 5:23 am

$this->bbcode_second_pass_quote('kmihelich', 'I')'ve added Heiko's patches for this from last December, which seem to have fallen off the radar. They've been added to the RC kernel.


I don't see USB 3.0 crashes after I switched USB Hubs and tested with the debian 0.7.9 build from ayufan. With Arch Linux ARM it crashes right at boot, no matter what USB Hub I use. Can you please take a look to see if there are any changes he made to his kernel source that might help?

Linux builds and where I got the image for the Debian build: https://github.com/ayufan-rock64/linux-build/releases

Linux Kernel source that as far as I know is used in the Debian builds: https://github.com/ayufan-rock64/linux-kernel

He also maintains some fixes for the mainline which he claims works fine for USB 3.0: https://github.com/ayufan-rock64/linux-mainline-kernel
ShapeShifter499
 
Posts: 34
Joined: Mon Nov 25, 2013 12:24 pm

Re: USB3.0 not working on Pine Rock64

Postby ShapeShifter499 » Tue Aug 14, 2018 3:21 pm

For anyone following I have created a AUR package that fetches a Debian built kernel from Ayufan who seems to be the maintainer for Rock64 kernels, the link is below. Ayufan makes some Rock64 specific edits to the https://github.com/rockchip-linux/kernel source which don't seem to be in mainline rockchip-linux also contains some specific fixes for USB 3.0 that are not in mainline either. Your millage may vary using a Debian kernel on a Arch Linux rootfs but so far it's working for me. I do plan on switching back to Arch Linux ARM maintained kernels once mainline gets all the fixes this board needs.

https://aur.archlinux.org/pkgbase/linux ... ock64-bin/
ShapeShifter499
 
Posts: 34
Joined: Mon Nov 25, 2013 12:24 pm

Re: USB3.0 not working on Pine Rock64

Postby rontant » Sat Sep 01, 2018 5:33 am

Finally, USB3.0 support is enabled now.

Just do 'pacman -Syu' and voila....

$this->bbcode_second_pass_code('', '[root@rock64 boot]# uname -a
Linux rock64 4.18.5-1-ARCH #1 SMP Fri Aug 24 18:33:45 MDT 2018 aarch64 GNU/Linux
[root@rock64 boot]# lsusb
Bus 005 Device 004: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
Bus 005 Device 003: ID 1058:0827 Western Digital Technologies, Inc.
Bus 005 Device 002: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 002: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
')
Rock 64, Odroid XU4, Raspberry Pi 3, Pogo 4, Pogo Pink E02, Goflex
rontant
 
Posts: 25
Joined: Sat May 27, 2017 1:10 am
Location: Singapore

Previous

Return to ARMv8 Devices

Who is online

Users browsing this forum: No registered users and 5 guests