Rock64 USB ports broken since linux 4.20

Discussion about U-Boot and the kernel.

Rock64 USB ports broken since linux 4.20

Postby berturion » Wed Jan 02, 2019 9:36 am

(Originally posted here: viewtopic.php?t=13318)

Hello,
Since Kernel version 4.20, I am not able to plug any USB device on my Rock64 board. If I restore a snapshot having the previous kernel version (4.19) everything works fine.
To be sure that the problem comes from the kernel, I prepared a completely fresh install of Archlinuxarm. On the latest provided image (http://os.archlinuxarm.org/os/ArchLinux ... est.tar.gz), the kernel version is 4.19 . I setup pacman to ignore linux-aarch64 package in /etc/pacman.conf and did a full update. I then rebooted. Everything worked fine (usb drives are here, and my USB DVB-T adapter also).
Then, I upgraded the kernel only to 4.20 and rebooted. And I can't see disks in /dev directory. My USB DVB-T adapter is not here either. I unplugged them and replugged, by following the output of "journalctl -f", but nothing happens. I also noticed that my 2.5" usb drive is not even powered. It is like USB ports just don't work at all.

Is it a known issue ? Is someone else experience that problem ? What can I do to diagnose this problem further ?
berturion
 
Posts: 24
Joined: Mon Jun 18, 2018 10:54 am

Re: Rock64 USB ports broken since linux 4.20

Postby parly » Sun Jan 06, 2019 3:30 pm

I experienced the same problem. My Wi-Fi USB dongle has stopped functioning after updating the kernel.

After some investigation, I found that reverting this commit seems to make my USB device function again:
https://github.com/torvalds/linux/commit/ef05bcb60c1a8841e38c91923ba998181117a87c
It might be a workaround, though.

You can use this patched device tree file until it is fixed in upstream:
https://cabinets.mystia.org/parly/2019/01/06/rk3328-rock64.zip
After updating the kernel to 4.20.0-2, simply replace /boot/dtbs/rockchip/rk3328-rock64.dtb with the extracted file and reboot.

I hope this will be helpful!
parly
 
Posts: 2
Joined: Sun Jan 06, 2019 2:13 pm

Re: Rock64 USB ports broken since linux 4.20

Postby berturion » Tue Jan 08, 2019 12:51 pm

Thank you! I was wondering if I was the only one having this issue.
Is kernel 4.20 add HDMI support for our board ?
If yes I will do the upgrade with your dtb. If not, I think I will wait for the next kernel release.
:D
berturion
 
Posts: 24
Joined: Mon Jun 18, 2018 10:54 am

Re: Rock64 USB ports broken since linux 4.20

Postby parly » Wed Jan 09, 2019 1:02 pm

Not yet, display output didn't work.

HDMI support code was partially added in 4.20, but it seems to be incomplete.
I believe that it will be completed in Linux 5.0 (4.21) release (by the commit 1c53ba8).
parly
 
Posts: 2
Joined: Sun Jan 06, 2019 2:13 pm

Re: Rock64 USB ports broken since linux 4.20

Postby berturion » Thu Jan 10, 2019 9:12 am

Ok thanks. I will wait for linux 5.0 then.
berturion
 
Posts: 24
Joined: Mon Jun 18, 2018 10:54 am

Re: Rock64 USB ports broken since linux 4.20

Postby berturion » Sat Jan 19, 2019 3:53 pm

Just a message to say that kernel version 4.20.3-1 doesn't solve this issue. Tested on a vanilla arch linux arm install.
berturion
 
Posts: 24
Joined: Mon Jun 18, 2018 10:54 am


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 3 guests

cron