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
  Linux laptop does not detect the board when plugged in via USB soupy 2 2,151 04-22-2022, 03:15 AM
Last Post: Brant454
  USB3.0 Issues at DietPi(Armbian) #22.02.1 t4_4t 1 194 04-05-2022, 08:18 PM
Last Post: helpmerock
  MIPI-CSI IMX214 on Linux NO SUCCESS zeus666 0 289 02-04-2022, 02:11 AM
Last Post: zeus666
  Linux 5.15 Kernel - openSuse mark1250 0 468 12-02-2021, 04:36 PM
Last Post: mark1250
  Alpine Linux isndw 12 11,678 08-12-2021, 05:41 PM
Last Post: pix
Lightbulb RK3399 Linux rtl8822cu module bluetooth not working shivarj89 0 600 07-29-2021, 07:19 AM
Last Post: shivarj89
Information Linux Mainline ayufan 63 62,585 05-14-2021, 10:41 AM
Last Post: Wizzard
  Linux Images (ROCK64) pineadmin 164 202,894 02-12-2021, 10:14 AM
Last Post: useful64
  Arch Linux Arm --> Kernel 5.8 breaks installation as365n4 12 7,255 08-31-2020, 01:41 AM
Last Post: as365n4
  Arch Linux ARM on the Rock64 V3 justinweiss 2 3,130 08-24-2020, 05:16 PM
Last Post: justinweiss

Forum Jump:


Users browsing this thread: 1 Guest(s)