root@DietPi:~# uname -a
Linux DietPi 6.1.53-current-rockchip64 #1 SMP PREEMPT Wed Sep 13 07:43:05 UTC 2023 aarch64 GNU/Linux
root@DietPi:~# dmesg -l 0,1,2,3
[ 2.406627] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[ 2.495723] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with 0-001b
[ 2.640880] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with vcc3v3-sys
[ 2.671631] phy phy-ff7c0000.phy.6: phy poweron failed --> -110
[ 2.672356] dwc3 fe800000.usb: error -ETIMEDOUT: failed to initialize core
[ 2.715150] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with 0-001b
[ 10.547231] OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22
root@DietPi:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 447.1G 0 disk
└─md0 9:0 0 447G 0 raid1
└─md0p1 259:0 0 447G 0 part /mnt/dc400094-efcc-4107-966e-ec5cb642faf7
mtdblock0 31:0 0 16M 0 disk
mmcblk1 179:0 0 28.8G 0 disk
└─mmcblk1p1 179:1 0 28.8G 0 part /
root@DietPi:~# apt show linux-image-current-rockchip64
Package: linux-image-current-rockchip64
Version: 23.11.0-trunk.86
Priority: optional
Section: kernel
Source: linux-6.1.53
Maintainer: Armbian Linux <info@armbian.com>
Installed-Size: 219 MB
Provides: linux-image, linux-image-armbian, armbian-current
Armbian-Kernel-Version: 6.1.53
Armbian-Kernel-Version-Family: 6.1.53-current-rockchip64
Armbian-Original-Hash: 6.1.53-S0904-D6ad0-P0483-Ca63dHfe66-HK01ba-Vc222-Bc698-R448a
Download-Size: 41.7 MB
APT-Manual-Installed: yes
APT-Sources: https://stpete-mirror.armbian.com/apt bullseye/main arm64 Packages
Description: Armbian Linux current kernel image 6.1.53-current-rockchip64
This package contains the Linux kernel, modules and corresponding other files.
version "6.1.53" git revision "09045dae0d902f9f78901a26c7ff1714976a38f9" codename "Curry Ramen" drivers hash "6ad0bdb8556e2caf" patches hash "0483600805648ef6" .config hash "a63dfd4faffcc759" .config hook hash "fe661159ee64825e" variables hash "c22207b66dc5dd57157df2cd7b9c20559b2ed8ac44b9c3c3b9704002c06b8921" framework bash hash "c698747a3bfc6ef0"
root@DietPi:~#
root@DietPi:~# apt update
Hit:1 http://giteduberger.fr rpimonitor/ InRelease
Hit:2 https://deb.debian.org/debian bullseye InRelease
Get:3 https://download.docker.com/linux/debian bullseye InRelease [43.3 kB]
Get:4 https://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Hit:5 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:6 https://repo.protonvpn.com/debian stable InRelease
Get:7 https://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Get:8 https://stpete-mirror.armbian.com/apt bullseye InRelease [53.3 kB]
Get:9 https://stpete-mirror.armbian.com/apt bullseye/main arm64 Packages [833 kB]
Hit:10 https://downloads.plex.tv/repo/deb public InRelease
Hit:11 https://pkg.ltec.ch/public bullseye InRelease
Get:12 https://stpete-mirror.armbian.com/apt bullseye/main all Packages [80.0 kB]
Hit:14 https://repo.jellyfin.org/debian bullseye InRelease
Hit:13 https://packagecloud.io/crowdsec/crowdsec/debian bullseye InRelease
Fetched 1103 kB in 11s (98.4 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@DietPi:~# apt show linux-image-current-rockchip64
Package: linux-image-current-rockchip64
Version: 23.11.0-trunk.86
Status: install ok installed
Priority: optional
Section: kernel
Source: linux-6.1.53
Maintainer: Armbian Linux <info@armbian.com>
Installed-Size: 219 MB
Provides: linux-image, linux-image-armbian, armbian-current
Armbian-Kernel-Version: 6.1.53
Armbian-Kernel-Version-Family: 6.1.53-current-rockchip64
Armbian-Original-Hash: 6.1.53-S0904-D6ad0-P0483-Ca63dHfe66-HK01ba-Vc222-Bc698-R448a
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: Armbian Linux current kernel image 6.1.53-current-rockchip64
This package contains the Linux kernel, modules and corresponding other files.
version "6.1.53" git revision "09045dae0d902f9f78901a26c7ff1714976a38f9" codename "Curry Ramen" drivers hash "6ad0bdb8556e2caf" patches hash "0483600805648ef6" .config hash "a63dfd4faffcc759" .config hook hash "fe661159ee64825e" variables hash "c22207b66dc5dd57157df2cd7b9c20559b2ed8ac44b9c3c3b9704002c06b8921" framework bash hash "c698747a3bfc6ef0"
N: There are 20 additional records. Please use the '-a' switch to see them.
root@DietPi:~#
it should be apt upgrade
sry my mistake but i have already done
root@DietPi:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@DietPi:~#
I think I’m facing the same issue on NanoPC T4 with based on CPU Rockchip RK3399
See Failed upgrade to 8.21 on NanoPC T4 - #8 by ivenhov
Ah okay, so sadly Linux 6.1.53 does not solve it either. Is HDMI actually broken as well on ROCK 4B?
Rock Pi 4B: HDMI works fine, but USB still not functional even after latest kernel update (6.1.50-current-rockchip64)
So only Radxa and FriendlyELEC boards seem to be affected. @dez the new Armbian images have the same issue, right?
https://mirrors.dotsrc.org/armbian-dl/rockpi-4b/archive/
I’m confused that there is not a single report about failing USB 3.0 on either their forum or GitHub, now that the new kernel is shipped with their APT repo and images have been updated. And the RK3399 is one of the most used SoC among all SBCs they support.
For now, the kernel could be downgraded by installing the image
and dtb
packages from here: mirrors.dotsrc.org
Download and install via dpkg -i
, then set the packages on hold so that apt upgrade
won’t upgrade them again:
apt-mark hold linux-{image,dtb}-current-rockchip64
Didn’t try Armbian images. I have installation from this image https://dietpi.com/downloads/images/DietPi_ROCKPi4-ARMv8-Bookworm.7z
I have NanoPC-T4 and also fighting with those problems
It seems new rolling build of Armbian 6.1.54 has been published.
Anyone knows how to check the changes of that?
Also is there a corresponding thread on Armbian forum?
Hi all
I’ve tested with Armbian with older kernel
Welcome to Armbian 22.11.1 Jammy with Linux 5.19.17-media
Downloaded from here https://armbian.hosthatch.com/archive/nanopct4/archive/Armbian_22.11.1_Nanopct4_jammy_current_5.19.17_cinnamon_desktop.img.xz
Both HDMI and USB3.0 are working
uname -a
Linux nanopct4 5.19.17-media #22.11.1 SMP PREEMPT Wed Nov 30 11:08:24 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
I have the same issue on RockPro64 with current DietPi 8.21.1
Linux gateway 6.1.50-current-rockchip64 #3 SMP PREEMPT Wed Aug 30 14:11:13 UTC 2023 aarch64 GNU/Linux
and it is definitely a kernel problem. Because I was doing some kernel hacking on 5.15 and 5.19 I had those installed previously and no issues at all… I will try the overlay you mentioned @MichaIng and will report back…
PS: It “sometimes” works. So usually if I reboot it, it works - it seems to be an issue with the NAS I have connected coming up while the USB3.0 is initialized, and then it fails, but if the NAS is already up, then it works… still it got introduced with the move to the 6.x something kernel and was not there with 5.x at all…
PPS: Kernel Overlay did not solve the problem…
PPPS: Finally I indeed downloaded the kernels from DotSrc and installed them, hold them with
apt-mark hold linux-{image,dtb}-current-rockchip64
and it works again - thx @MichaIng
According to my tests, These two commits are suspicious.
kernel/git/stable/linux.git - Linux kernel stable tree
kernel/git/stable/linux.git - Linux kernel stable tree
Same issue here with Rock Pi 4B with the top USB 3.0 port no matter what I select with the switch. Doesn’t even work in 2.0 mode.
Can’t try HDMI.
Everything upgraded.
any news?
kernel/git/stable/linux.git - Linux kernel stable tree
This patch may fix the issue, but I haven’t tested yet.
Hi, just to continue updating the thread and not let it die even with the latest release 8.23.3 it doesn’t work, greetings
I hope @MichaIng can help us
root@DietPi:~# dmesg -l 0,1,2,3
[ 2.414659] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[ 2.503272] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with 0-001b
[ 2.649609] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with vcc3v3-sys
[ 2.681086] phy phy-ff7c0000.phy.6: phy poweron failed --> -110
[ 2.681808] dwc3 fe800000.usb: error -ETIMEDOUT: failed to initialize core
[ 2.724924] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with 0-001b
[ 10.564388] OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22
root@DietPi:~#
We have reports on the Armbian forum as well in the meantime (strangely not many, and so late): usb port not working since last kernel update - ROCK Pi 4 series - Armbian Community Forums
Kernel and device tree development is sadly outside of my abilities. All I could do when I find time is building an unmodified mainline kernel to see whether it works there, and hence whether one of Armbian’s patches is the culprit.