Arch Linux USB3 Issues?
#1
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!
  Reply
#2
(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-m...l/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.
  Reply
#3
(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-m...l/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!
  Reply
#4
This indeed worked for me. I'm really shocked that it was so simple. 

Thanks again!
  Reply
#5
Someone has made a PKGBUILD to make it work.

https://archlinuxarm.org/forum/viewtopic...k64#p58896
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Information Linux Mainline ayufan 63 47,138 05-14-2021, 10:41 AM
Last Post: Wizzard
  Linux Images (ROCK64) pineadmin 164 151,289 02-12-2021, 10:14 AM
Last Post: useful64
  Linux laptop does not detect the board when plugged in via USB soupy 1 1,261 10-08-2020, 09:07 AM
Last Post: jamie22
  Arch Linux Arm --> Kernel 5.8 breaks installation as365n4 12 4,851 08-31-2020, 01:41 AM
Last Post: as365n4
  Arch Linux ARM on the Rock64 V3 justinweiss 2 1,961 08-24-2020, 05:16 PM
Last Post: justinweiss
  Arch Linux Arm - external RTC problem max 1 1,023 08-17-2020, 10:35 AM
Last Post: max
Sad Is there a none-headless Linux OS that really works now for Rock64? AkiraSensei 7 3,396 07-09-2020, 10:02 PM
Last Post: nethammer
  csdr build issues. TravisH 0 695 02-19-2020, 04:47 AM
Last Post: TravisH
  Arch-Manjaro attempting gles2 setup tomarm 2 1,168 12-28-2019, 01:33 AM
Last Post: tomarm
Question [SOLVED] Alpine Linux won't boot rock7 1 2,147 10-22-2019, 04:30 PM
Last Post: rock7

Forum Jump:


Users browsing this thread: 1 Guest(s)