PINE64
Arch Linux USB3 Issues? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: Arch Linux USB3 Issues? (/showthread.php?tid=6200)



Arch Linux USB3 Issues? - decontainerized - 06-22-2018

Hi! I flashed the SPI on my Rock64 4GB board so that I could boot from an external hard drive.

I then put ARM Arch Linux on the hard drive and it boots from the USB2 ports but the USB3 does not work at all. Regardless of what device I plug into it, even after the OS is running from the drive connected to USB2. It worked fine on Kernel 4.4 but seems to be broken in the latest.


Code:
Linux 4.17.2-1-ARCH #1 SMP Sun Jun 17 13:11:24 MDT 2018 aarch64 GNU/Linux

I see on ayu-fan's rock64 mainline kernel repo that there is a PR to fix USB3. 

Does anyone know when this fix will be applied to the mainline Linux kernel? 

Thanks!


RE: Arch Linux USB3 Issues? - CriticalJeff - 07-09-2018

(06-22-2018, 06:30 AM)decontainerized Wrote: Hi! I flashed the SPI on my Rock64 4GB board so that I could boot from an external hard drive.

I then put ARM Arch Linux on the hard drive and it boots from the USB2 ports but the USB3 does not work at all. Regardless of what device I plug into it, even after the OS is running from the drive connected to USB2. It worked fine on Kernel 4.4 but seems to be broken in the latest.


Code:
Linux 4.17.2-1-ARCH #1 SMP Sun Jun 17 13:11:24 MDT 2018 aarch64 GNU/Linux

I see on ayu-fan's rock64 mainline kernel repo that there is a PR to fix USB3. 

Does anyone know when this fix will be applied to the mainline Linux kernel? 

Thanks!

I was able to get the USB 3 port working using the default archlinuxarm kernel (4.18 rc3) by replacing the rk3328-arm64.dtb file in the /boot/dtbs folder with the one from Ayufan's mainline kernel image.  https://github.com/ayufan-rock64/linux-mainline-kernel/releases

I'm sure there is a patch that needs to be applied somewhere upstream, but I wasn't able to locate the .dts files in this image in order to generate it.  Maybe Ayufan might point us in the right direction.


RE: Arch Linux USB3 Issues? - decontainerized - 07-13-2018

(07-09-2018, 12:41 AM)CriticalJeff Wrote:
(06-22-2018, 06:30 AM)decontainerized Wrote: Hi! I flashed the SPI on my Rock64 4GB board so that I could boot from an external hard drive.

I then put ARM Arch Linux on the hard drive and it boots from the USB2 ports but the USB3 does not work at all. Regardless of what device I plug into it, even after the OS is running from the drive connected to USB2. It worked fine on Kernel 4.4 but seems to be broken in the latest.


Code:
Linux 4.17.2-1-ARCH #1 SMP Sun Jun 17 13:11:24 MDT 2018 aarch64 GNU/Linux

I see on ayu-fan's rock64 mainline kernel repo that there is a PR to fix USB3. 

Does anyone know when this fix will be applied to the mainline Linux kernel? 

Thanks!

I was able to get the USB 3 port working using the default archlinuxarm kernel (4.18 rc3) by replacing the rk3328-arm64.dtb file in the /boot/dtbs folder with the one from Ayufan's mainline kernel image.  https://github.com/ayufan-rock64/linux-mainline-kernel/releases

I'm sure there is a patch that needs to be applied somewhere upstream, but I wasn't able to locate the .dts files in this image in order to generate it.  Maybe Ayufan might point us in the right direction.

Nice! So I just replace the file and reboot? 

Thanks for the info!


RE: Arch Linux USB3 Issues? - decontainerized - 07-14-2018

This indeed worked for me. I'm really shocked that it was so simple. 

Thanks again!


RE: Arch Linux USB3 Issues? - cooker - 07-25-2018

Someone has made a PKGBUILD to make it work.

https://archlinuxarm.org/forum/viewtopic.php?f=67&t=12953&p=58896&hilit=rock64#p58896