So this is the relevant error. Nasty that Armbain’s image is so much older and their APT repo frozen, so it takes long for their users to recognise issues with recent build system and/or linux/u-boot sources … Since this kernel is used on many SBCs and solves a lot of issues, I’m not keen to downgrade for a single USB port of so far 2 SBCs. But I’ll do and upload a build to testing dir to at least assure it is really delated to some change between these kernel versions.
Okay, I want to inform you that the Type-C port is also not working. I believe that the USB 3.0 and Type-C ports on this device share the same system BUS interface for data transfer. Furthermore, I think that other ROCK company SBCs may have the same issue. That being said, I regret having to disconnect my two SSDs and plug them into the 2.0 ports, which will result in a significant loss of speed. Thank you for your time. Sincerely, Pietro
Probably it is an issue with the dwc3 driver in general, yes.
Ich uploaded a kernel update. As Armbian updated their images as well, it matches now their kernel version. Not sure whether something changed, but at least, if not, it should fail on their images the same way and hence be reported/recognised soon.
cd /tmp
curl -O 'https://dietpi.com/downloads/binaries/linux-image-current-rockchip64.deb'
curl -O 'https://dietpi.com/downloads/binaries/linux-dtb-current-rockchip64.deb'
dpkg -i linux-image-current-rockchip64.deb linux-dtb-current-rockchip64.deb
rm linux-image-current-rockchip64.deb linux-dtb-current-rockchip64.deb
I could not find out how to explicitly compile an older kernel version with their build system. A patch version is not even defined, so I think I need to hack it inside here, replacing the branch with a particular tag: https://github.com/armbian/build/blob/ece2656adaa0347cb49dfb2b72e418fb5b008c61/config/sources/families/include/rockchip64_common.inc#L135
If the result still does not work, i.e. it is not related to an upstream kernel change but the build system, I can revert the local build system branch to a commit dated where Linux 6.1.30 was released.
Hi thanks for your dedication to this problem, even after Kernel update I still have the same problem
root@DietPi:~# dmesg -l 0,1,2,3
[ 2.389221] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[ 2.478959] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with 0-001b
[ 2.626619] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with vcc3v3-sys
[ 2.852909] phy phy-ff7c0000.phy.6: phy poweron failed --> -110
[ 2.853838] dwc3 fe800000.usb: error -ETIMEDOUT: failed to initialize core
[ 2.889459] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with 0-001b
[ 10.865729] OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22
root@DietPi:~# uname -a
Linux DietPi 6.1.51-current-rockchip64 #1 SMP PREEMPT Sat Sep 2 07:16:20 UTC 2023 aarch64 GNU/Linux
root@DietPi:~#
There was another kernel update on the APT servers. Can you test:
apt update
apt upgrade
Oh Yeah, but bad news
root@DietPi:~# uname -a
Linux DietPi 6.1.50-current-rockchip64 #3 SMP PREEMPT Wed Aug 30 14:11:13 UTC 2023 aarch64 GNU/Linux
root@DietPi:~# dmesg -l 0,1,2,3
[ 2.393195] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[ 2.483353] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with 0-001b
[ 2.629400] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with vcc3v3-sys
[ 2.653189] phy phy-ff7c0000.phy.6: phy poweron failed --> -110
[ 2.653852] dwc3 fe800000.usb: error -ETIMEDOUT: failed to initialize core
[ 2.687436] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with 0-001b
[ 10.553799] 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:~#
no sdb
Hmm still same kernel. We are currently trying to test another new kernel and bootloader on Orange Pi 5 an recognised that some the the Armbian APT mirrors do not have those new versions yet. Check probably tomorrow:
apt update
apt show linux-image-current-rockchip64
One shows shows version 23.11.0 (or higher), retry apt upgrade
.
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:~#
did you tried that one as well? @pietromezza
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?
On my board "Pine64 RockPro64 v2.1 " it’s working fine HDMI
@dez any News?
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?