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
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 0 55 03-24-2024, 01:07 PM
Last Post: mara
  arch rock64 does not boot nemnob 0 513 07-09-2023, 03:28 AM
Last Post: nemnob
  MIPI-CSI IMX214 on Linux NO SUCCESS zeus666 2 1,632 06-02-2023, 07:52 AM
Last Post: diederik
  USB3.0 Issues at DietPi(Armbian) #22.02.1 t4_4t 3 2,266 08-15-2022, 06:58 PM
Last Post: TRS-80
  Linux 5.15 Kernel - openSuse mark1250 0 1,244 12-02-2021, 04:36 PM
Last Post: mark1250
  Alpine Linux isndw 12 17,547 08-12-2021, 05:41 PM
Last Post: pix
Lightbulb RK3399 Linux rtl8822cu module bluetooth not working shivarj89 0 1,318 07-29-2021, 07:19 AM
Last Post: shivarj89
Information Linux Mainline ayufan 63 90,287 05-14-2021, 10:41 AM
Last Post: Wizzard
  Linux Images (ROCK64) pineadmin 164 276,712 02-12-2021, 10:14 AM
Last Post: useful64
  Arch Linux Arm --> Kernel 5.8 breaks installation as365n4 12 11,998 08-31-2020, 01:41 AM
Last Post: as365n4

Forum Jump:


Users browsing this thread: 1 Guest(s)