Installation of Kernel 6.1 on my Rock4C+ failed and doesn’t boot
Had to change to l1 in /boot/extlinux/extlinux.conf = last 5.1 kernel
I lost the apt-terminal log but think was some
make -J6 … of kernel / overlay module … ERROR 2 at the beginning
and to look at some …/log/… dkms or so was mentioned
and then some relating errors later
Rock 4C+ Kernel 6.1 install failed
cat /var/lib/dkms/r8125/9.013.02-1/build/make.log
DKMS make.log for r8125-9.013.02-1 for kernel 6.1.115-1-rk2501 (aarch64)
Tue 15. Jul 17:40:19 CEST 2025
make: Enter „/usr/src/linux-headers-6.1.115-1-rk2501“
warning: the compiler differs from the one used to build the kernel
The kernel was built by: aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0
You are using: gcc (Debian 10.2.1-6) 10.2.1 20210110
CC [M] /var/lib/dkms/r8125/9.013.02-1/build/r8125_n.o
CC [M] /var/lib/dkms/r8125/9.013.02-1/build/rtl_eeprom.o
CC [M] /var/lib/dkms/r8125/9.013.02-1/build/rtltool.o
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
make[1]: *** [scripts/Makefile.build:250: /var/lib/dkms/r8125/9.013.02-1/build/r8125_n.o] Error 1
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
make[1]: *** [scripts/Makefile.build:250: /var/lib/dkms/r8125/9.013.02-1/build/rtl_eeprom.o] Error 1
make[1]: *** [scripts/Makefile.build:250: /var/lib/dkms/r8125/9.013.02-1/build/rtltool.o] Error 1
make: *** [Makefile:2009: /var/lib/dkms/r8125/9.013.02-1/build] Error 2
make: Leave „/usr/src/linux-headers-6.1.115-1-rk2501“
I’ve tried to solve this problem with KI, which also helped me finding that log, and suggested installing gcc-12 which seems to not even to find in backports repo for the factory debian image.
Other suggestion is to remove -ftrivial-auto-var-init=zero from the make-files.
I think this update must fail and brig every system-image and wonder nobody else writes something.
6.1 for ROCK 4B+ is ready to come out, 6.1 for ROCK 4C+ is probably coming soon too, you can wait for the official system!
or you can tell me how did you get the 6.1 deb package, by radxa bsp tool ?
apt-get update …
OK:7 https://radxa-repo.github.io/bullseye rockchip-bullseye InRelease
OK:8 https://radxa-repo.github.io/bullseye bullseye InRelease
Probably from there, that’s just the factory image
I’ve just noticed the installation is retried on every apt upgrade (do update before), so I can offer some log of also, I think was slightly different first time, but shouldn’t matter to much:…
radxa-overlays-dkms (0.1.27)…several lines of 5.10 stuff runs fine…
Building initial module for 6.1.115-1-rk2501
Error! Bad return status for module build on kernel: 6.1.115-1-rk2501 (aarch64)
Consult /var/lib/dkms/radxa-overlays/0.1.27/build/make.log for more information.
…linux-image-rock-4c-plus depends on radxa-overlays-dkms which isn’t configured…
cat /var/lib/dkms/radxa-overlays/0.1.27/build/make.log
DKMS make.log for radxa-overlays-0.1.27 for kernel 6.1.115-1-rk2501 (aarch64)
Fr 18. Jul 18:43:42 CEST 2025
make: Enter „/usr/src/linux-headers-6.1.115-1-rk2501“
warning: the compiler differs from the one used to build the kernel
The kernel was built by: aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0
You are using: gcc (Debian 10.2.1-6) 10.2.1 20210110
CC [M] /var/lib/dkms/radxa-overlays/0.1.27/build/radxa-overlays.o
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’ …
DTC /var/lib/dkms/radxa-overlays/0.1.27/build/arch/arm64/boot/dts/rockchip/overlays/rk3328-pwm2.dtbo …
./scripts/dtc/dtc: /lib/aarch64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by ./scripts/dtc/dtc) ./scripts/dtc/dtc: /lib/aarch64-linux-gnu/libc.so.6: version
GLIBC_2.34’ not found (required by ./scripts/dtc/dtc)
May be somehow new kernel stuff got into public repo without dependencies rolled out first.
I still wondering am I the only one using the factory image?
For few months ? now I’m quite disappointed again anyway, because sound lags video now, which I can’t fix like the other way round before.
please use Radxa system tool rsetup to upgrade the system, not use “sudo apt upgrade”
rsetup seems to call apt-get update / upgrade also
Everything looks the same, including the error, except all in English, just tried.
So users of should have the same problem.
this repo refers to https://github.com/radxa/kernel/tree/linux-6.1-stan-rkr5.1/, and 4C+ has not yet been adapted on this branch,It is not recommended to install it now.
I told several times I’m just using the factory image.
And rsetup also just using apt update / upgrade
which seems not to be known and I quoted you the repos used above:
OK:7 https://radxa-repo.github.io/bullseye rockchip-bullseye InRelease
OK:8 https://radxa-repo.github.io/bullseye bullseye InRelease
Ign:1 http://deb.debian.org/debian bullseye-backports InRelease
Err:2 http://deb.debian.org/debian bullseye-backports Release
404 Not Found [IP: 199.232.190.132 80]
Get:3 https://deb.debian.org/debian bullseye InRelease [116 kB]
Get:4 https://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:5 https://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:6 https://radxa-repo.github.io/bullseye rockchip-bullseye InRelease [14.8 kB]
Get:7 https://radxa-repo.github.io/bullseye bullseye InRelease [14.8 kB]
Get:8 https://radxa-repo.github.io/bullseye bullseye/main all Packages [33.3 kB]
Get:9 https://radxa-repo.github.io/bullseye bullseye/main arm64 Packages [46.3 kB]
Reading package lists...
E: The repository 'http://deb.debian.org/debian bullseye-backports Release' no longer has a Release file.
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
linux-headers-5.10.110-38-rockchip linux-image-5.10.110-38-rockchip
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
linux-headers-6.1.115-3-rk2501 linux-image-6.1.115-3-rk2501
The following packages will be upgraded:
linux-headers-rock-4c-plus linux-image-rock-4c-plus linux-libc-dev
radxa-firmware radxa-overlays-dkms radxa-system-config-bullseye
radxa-system-config-common radxa-system-config-kernel-cmdline-ttyfiq0
radxa-system-config-r8125-dkms radxa-system-config-rk3399
radxa-system-config-rockchip radxa-system-config-rockchip-glamor
The following packages will be DOWNGRADED:
libdvbv5-0 libv4l2rds0 libv4lconvert0
12 upgraded, 2 newly installed, 3 downgraded, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 40.4 MB/40.8 MB of archives.
After this operation, 160 MB of additional disk space will be used.
Do you want to continue? [Y/n] Get:1 https://radxa-repo.github.io/bullseye bullseye/main arm64 radxa-overlays-dkms all 0.1.28 [78.5 kB]
Get:2 https://radxa-repo.github.io/bullseye bullseye/main arm64 linux-image-6.1.115-3-rk2501 arm64 6.1.115-3 [27.9 MB]
Get:3 https://radxa-repo.github.io/bullseye bullseye/main arm64 linux-image-rock-4c-plus all 6.1.115-3 [2,052 B]
Get:4 https://radxa-repo.github.io/bullseye bullseye/main arm64 linux-headers-6.1.115-3-rk2501 arm64 6.1.115-3 [8,553 kB]
Get:5 https://radxa-repo.github.io/bullseye bullseye/main arm64 linux-headers-rock-4c-plus all 6.1.115-3 [2,036 B]
Get:6 https://radxa-repo.github.io/bullseye bullseye/main arm64 linux-libc-dev arm64 6.1.115-3 [1,340 kB]
Get:7 https://radxa-repo.github.io/bullseye bullseye/main arm64 radxa-firmware all 0.2.23 [2,499 kB]
Get:8 https://radxa-repo.github.io/bullseye bullseye/main arm64 radxa-system-config-common all 0.6.17 [10.3 kB]
Get:9 https://radxa-repo.github.io/bullseye bullseye/main arm64 radxa-system-config-bullseye all 0.6.17 [6,816 B]
Get:10 https://radxa-repo.github.io/bullseye bullseye/main arm64 radxa-system-config-kernel-cmdline-ttyfiq0 all 0.6.17 [6,824 B]
Get:11 https://radxa-repo.github.io/bullseye bullseye/main arm64 radxa-system-config-r8125-dkms all 0.6.17 [6,820 B]
Get:12 https://radxa-repo.github.io/bullseye bullseye/main arm64 radxa-system-config-rockchip all 0.6.17 [8,956 B]
Get:13 https://radxa-repo.github.io/bullseye bullseye/main arm64 radxa-system-config-rk3399 all 0.6.17 [6,796 B]
Get:14 https://radxa-repo.github.io/bullseye bullseye/main arm64 radxa-system-config-rockchip-glamor all 0.6.17 [7,032 B]
Fetched 40.4 MB in 9s (4,365 kB/s)
(Reading database ... 115685 files and directories currently installed.)
Preparing to unpack .../00-radxa-overlays-dkms_0.1.28_all.deb ...
-------- Uninstall Beginning --------
Module: radxa-overlays
Version: 0.1.27
Kernel: 5.10.110-39-rockchip (aarch64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
radxa-overlays.ko.xz:
- Uninstallation
- Deleting from: /lib/modules/5.10.110-39-rockchip/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
Running the post_remove script:
Removing '/var/lib/dkms/radxa-overlays/0.1.27/5.10.110-39-rockchip/aarch64/module/arch'...
depmod.....
DKMS: uninstall completed.
------------------------------
Deleting module version: 0.1.27
completely from the DKMS tree.
------------------------------
Done.
Unpacking radxa-overlays-dkms (0.1.28) over (0.1.27) ...
Selecting previously unselected package linux-image-6.1.115-3-rk2501.
Preparing to unpack .../01-linux-image-6.1.115-3-rk2501_6.1.115-3_arm64.deb ...
Unpacking linux-image-6.1.115-3-rk2501 (6.1.115-3) ...
Preparing to unpack .../02-linux-image-rock-4c-plus_6.1.115-3_all.deb ...
Unpacking linux-image-rock-4c-plus (6.1.115-3) over (6.1.115-1) ...
Preparing to unpack .../03-libdvbv5-0_1.20.0-2_arm64.deb ...
Unpacking libdvbv5-0:arm64 (1.20.0-2) over (1.20.0-2) ...
Preparing to unpack .../04-libv4l2rds0_1.20.0-2_arm64.deb ...
Unpacking libv4l2rds0:arm64 (1.20.0-2) over (1.20.0-2) ...
Preparing to unpack .../05-libv4lconvert0_1.20.0-2_arm64.deb ...
Unpacking libv4lconvert0:arm64 (1.20.0-2) over (1.20.0-2) ...
Selecting previously unselected package linux-headers-6.1.115-3-rk2501.
Preparing to unpack .../06-linux-headers-6.1.115-3-rk2501_6.1.115-3_arm64.deb ...
Unpacking linux-headers-6.1.115-3-rk2501 (6.1.115-3) ...
Preparing to unpack .../07-linux-headers-rock-4c-plus_6.1.115-3_all.deb ...
Unpacking linux-headers-rock-4c-plus (6.1.115-3) over (6.1.115-1) ...
Preparing to unpack .../08-linux-libc-dev_6.1.115-3_arm64.deb ...
Unpacking linux-libc-dev:arm64 (6.1.115-3) over (6.1.115-1) ...
Preparing to unpack .../09-radxa-firmware_0.2.23_all.deb ...
Redirect '/lib/firmware/cypress/cyfmac43455-sdio.bin' to '/lib/firmware/cypress/cyfmac43455-sdio.bin.bak' by radxa-firmware is preserved
Redirect '/lib/firmware/cypress/cyfmac43455-sdio.clm_blob' to '/lib/firmware/cypress/cyfmac43455-sdio.clm_blob.bak' by radxa-firmware is preserved
Redirect '/lib/firmware/rtw89/rtw8852b_fw.bin' to '/lib/firmware/rtw89/rtw8852b_fw.bin.bak' by radxa-firmware is preserved
Redirect '/lib/firmware/r8a779x_usb3_v1.dlmem' to '/lib/firmware/r8a779x_usb3_v1.dlmem.bak' by radxa-firmware is preserved
Redirect '/lib/firmware/r8a779x_usb3_v2.dlmem' to '/lib/firmware/r8a779x_usb3_v2.dlmem.bak' by radxa-firmware is preserved
Redirect '/lib/firmware/r8a779x_usb3_v3.dlmem' to '/lib/firmware/r8a779x_usb3_v3.dlmem.bak' by radxa-firmware is preserved
Unpacking radxa-firmware (0.2.23) over (0.2.22) ...
Preparing to unpack .../10-radxa-system-config-common_0.6.17_all.deb ...
Unpacking radxa-system-config-common (0.6.17) over (0.6.16) ...
Preparing to unpack .../11-radxa-system-config-bullseye_0.6.17_all.deb ...
Unpacking radxa-system-config-bullseye (0.6.17) over (0.6.16) ...
Preparing to unpack .../12-radxa-system-config-kernel-cmdline-ttyfiq0_0.6.17_all.deb ...
Unpacking radxa-system-config-kernel-cmdline-ttyfiq0 (0.6.17) over (0.6.16) ...
Preparing to unpack .../13-radxa-system-config-r8125-dkms_0.6.17_all.deb ...
Unpacking radxa-system-config-r8125-dkms (0.6.17) over (0.6.16) ...
Preparing to unpack .../14-radxa-system-config-rockchip_0.6.17_all.deb ...
Redirect '/usr/share/applications/mimeapps.list' to '/usr/share/applications/mimeapps.list.bak' by radxa-system-config-rockchip is preserved
Redirect '/usr/lib/modprobe.d/panfrost.conf' to '/usr/lib/modprobe.d/panfrost.conf.bak' by radxa-system-config-rockchip is preserved
Redirect '/usr/share/gdm/gdm.schemas' to '/usr/share/gdm/gdm.schemas.bak' by radxa-system-config-rockchip is preserved
Unpacking radxa-system-config-rockchip (0.6.17) over (0.6.16) ...
Preparing to unpack .../15-radxa-system-config-rk3399_0.6.17_all.deb ...
Unpacking radxa-system-config-rk3399 (0.6.17) over (0.6.16) ...
Preparing to unpack .../16-radxa-system-config-rockchip-glamor_0.6.17_all.deb ...
Unpacking radxa-system-config-rockchip-glamor (0.6.17) over (0.6.16) ...
Setting up radxa-firmware (0.2.23) ...
Setting up radxa-system-config-common (0.6.17) ...
Setting up linux-image-6.1.115-3-rk2501 (6.1.115-3) ...
dkms: running auto installation service for kernel 6.1.115-3-rk2501:
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j6 KERNELRELEASE=6.1.115-3-rk2501 -C /lib/modules/6.1.115-3-rk2501/build M=/var/lib/dkms/r8125/9.013.02-1/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.115-3-rk2501 (aarch64)
Consult /var/lib/dkms/r8125/9.013.02-1/build/make.log for more information.
.
update-initramfs: Generating /boot/initrd.img-6.1.115-3-rk2501
Decompressing /boot/vmlinuz-6.1.115-3-rk2501 ...
Rebuilding overlay data folder for '6.1.115-3-rk2501'...
Removing managed overlays...
Building list of compatible overlays...
Installing compatible overlays...
Reenable previously enabled overlays...
Committing changes...
Overlay data folder has been successfully rebuilt.
P: Checking for EXTLINUX directory... found.
P: Writing config for vmlinuz-6.1.115-3-rk2501...
P: Writing config for vmlinuz-6.1.115-1-rk2501...
P: Writing config for vmlinuz-5.10.110-39-rockchip...
P: Writing config for vmlinuz-5.10.110-38-rockchip...
P: Updating /boot/extlinux/extlinux.conf...
Setting up linux-libc-dev:arm64 (6.1.115-3) ...
Setting up libdvbv5-0:arm64 (1.20.0-2) ...
Setting up linux-headers-6.1.115-3-rk2501 (6.1.115-3) ...
Setting up radxa-overlays-dkms (0.1.28) ...
Loading new radxa-overlays-0.1.28 DKMS files...
Building for 5.10.110-39-rockchip 6.1.115-3-rk2501
Building initial module for 5.10.110-39-rockchip
Done.
radxa-overlays.ko.xz:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.10.110-39-rockchip/updates/dkms/
Running the post_install script:
Kernel '5.10.110-39-rockchip' does not support 'allwinner'. Skip.
Kernel '5.10.110-39-rockchip' does not support 'amlogic'. Skip.
Kernel '5.10.110-39-rockchip' is bundled with overlays. Skip.
Rebuilding overlay data folder for '5.10.110-39-rockchip'...
Removing managed overlays...
Building list of compatible overlays...
Installing compatible overlays...
Reenable previously enabled overlays...
Committing changes...
Overlay data folder has been successfully rebuilt.
depmod....
DKMS: install completed.
Building initial module for 6.1.115-3-rk2501
Error! Bad return status for module build on kernel: 6.1.115-3-rk2501 (aarch64)
Consult /var/lib/dkms/radxa-overlays/0.1.28/build/make.log for more information.
dpkg: error processing package radxa-overlays-dkms (--configure):
installed radxa-overlays-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of linux-image-rock-4c-plus:
linux-image-rock-4c-plus depends on radxa-overlays-dkms; however:
Package radxa-overlays-dkms is not configured yet.
dpkg: error processing package linux-image-rock-4c-plus (--configure):
dependency problems - leaving unconfigured
Setting up radxa-system-config-r8125-dkms (0.6.17) ...
Setting up linux-headers-rock-4c-plus (6.1.115-3) ...
Setting up libv4lconvert0:arm64 (1.20.0-2) ...
Setting up libv4l2rds0:arm64 (1.20.0-2) ...
Setting up radxa-system-config-kernel-cmdline-ttyfiq0 (0.6.17) ...
P: Checking for EXTLINUX directory... found.
P: Writing config for vmlinuz-6.1.115-3-rk2501...
P: Writing config for vmlinuz-6.1.115-1-rk2501...
P: Writing config for vmlinuz-5.10.110-39-rockchip...
P: Writing config for vmlinuz-5.10.110-38-rockchip...
Processing triggers for u-boot-menu (4.2.2) ...
P: Checking for EXTLINUX directory... found.
P: Writing config for vmlinuz-6.1.115-3-rk2501...
P: Writing config for vmlinuz-6.1.115-1-rk2501...
P: Writing config for vmlinuz-5.10.110-39-rockchip...
P: Writing config for vmlinuz-5.10.110-38-rockchip...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for libc-bin (2.31-13+deb11u13) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-6.1.115-3-rk2501
Setting up radxa-system-config-bullseye (0.6.17) ...
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-6.1.115-3-rk2501
Setting up radxa-system-config-rockchip (0.6.17) ...
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-6.1.115-3-rk2501
Setting up radxa-system-config-rk3399 (0.6.17) ...
Setting up radxa-system-config-rockchip-glamor (0.6.17) ...
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-6.1.115-3-rk2501
Errors were encountered while processing:
radxa-overlays-dkms
linux-image-rock-4c-plus
E: Sub-process /usr/bin/dpkg returned an error code (1)
cat /var/lib/dkms/r8125/9.013.02-1/build/make.log
DKMS make.log for r8125-9.013.02-1 for kernel 6.1.115-3-rk2501 (aarch64)
Fr 25. Jul 21:18:38 CEST 2025
make: Enter „/usr/src/linux-headers-6.1.115-3-rk2501“
warning: the compiler differs from the one used to build the kernel
The kernel was built by: aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0
You are using: gcc (Debian 10.2.1-6) 10.2.1 20210110
CC [M] /var/lib/dkms/r8125/9.013.02-1/build/r8125_n.o
CC [M] /var/lib/dkms/r8125/9.013.02-1/build/rtl_eeprom.o
CC [M] /var/lib/dkms/r8125/9.013.02-1/build/rtltool.o
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
make[1]: *** [scripts/Makefile.build:250: /var/lib/dkms/r8125/9.013.02-1/build/rtl_eeprom.o] Error 1
make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet....
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
make[1]: *** [scripts/Makefile.build:250: /var/lib/dkms/r8125/9.013.02-1/build/r8125_n.o] Error 1
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
make[1]: *** [scripts/Makefile.build:250: /var/lib/dkms/r8125/9.013.02-1/build/rtltool.o] Error 1
make: *** [Makefile:2009: /var/lib/dkms/r8125/9.013.02-1/build] Error 2
make: Leave „/usr/src/linux-headers-6.1.115-3-rk2501“
cat /var/lib/dkms/radxa-overlays/0.1.28/build/make.log
DKMS make.log for radxa-overlays-0.1.28 for kernel 6.1.115-3-rk2501 (aarch64)
Fr 25. Jul 21:20:08 CEST 2025
make: Enter „/usr/src/linux-headers-6.1.115-3-rk2501“
warning: the compiler differs from the one used to build the kernel
The kernel was built by: aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0
You are using: gcc (Debian 10.2.1-6) 10.2.1 20210110
CC [M] /var/lib/dkms/radxa-overlays/0.1.28/build/radxa-overlays.o
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
make[1]: *** [scripts/Makefile.build:250: /var/lib/dkms/radxa-overlays/0.1.28/build/radxa-overlays.o] Error 1
make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet....
DTC /var/lib/dkms/radxa-overlays/0.1.28/build/arch/arm64/boot/dts/rockchip/overlays/rk3328-pwm2.dtbo
DTC /var/lib/dkms/radxa-overlays/0.1.28/build/arch/arm64/boot/dts/rockchip/overlays/rk3328-uart1.dtbo
DTC /var/lib/dkms/radxa-overlays/0.1.28/build/arch/arm64/boot/dts/rockchip/overlays/rk3328-uart2-m1.dtbo
DTC /var/lib/dkms/radxa-overlays/0.1.28/build/arch/arm64/boot/dts/rockchip/overlays/rk3328-spi0-spidev.dtbo
DTC /var/lib/dkms/radxa-overlays/0.1.28/build/arch/arm64/boot/dts/rockchip/overlays/rk3399-disable-fiq-debugger.dtbo
DTC /var/lib/dkms/radxa-overlays/0.1.28/build/arch/arm64/boot/dts/rockchip/overlays/rk3399-dwc3-0-host.dtbo
./scripts/dtc/dtc: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./scripts/dtc/dtc)
./scripts/dtc/dtc: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./scripts/dtc/dtc)
make[2]: *** [scripts/Makefile.lib:426: /var/lib/dkms/radxa-overlays/0.1.28/build/arch/arm64/boot/dts/rockchip/overlays/rk3328-uart2-m1.dtbo] Error 1
make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet....
./scripts/dtc/dtc: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./scripts/dtc/dtc)
./scripts/dtc/dtc: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./scripts/dtc/dtc)
make[2]: *** [scripts/Makefile.lib:426: /var/lib/dkms/radxa-overlays/0.1.28/build/arch/arm64/boot/dts/rockchip/overlays/rk3328-spi0-spidev.dtbo] Error 1
./scripts/dtc/dtc: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./scripts/dtc/dtc)
./scripts/dtc/dtc: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./scripts/dtc/dtc)
./scripts/dtc/dtc: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./scripts/dtc/dtc)
./scripts/dtc/dtc: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./scripts/dtc/dtc)
make[2]: *** [scripts/Makefile.lib:426: /var/lib/dkms/radxa-overlays/0.1.28/build/arch/arm64/boot/dts/rockchip/overlays/rk3328-pwm2.dtbo] Error 1
make[2]: *** [scripts/Makefile.lib:426: /var/lib/dkms/radxa-overlays/0.1.28/build/arch/arm64/boot/dts/rockchip/overlays/rk3399-disable-fiq-debugger.dtbo] Error 1
./scripts/dtc/dtc: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./scripts/dtc/dtc)
./scripts/dtc/dtc: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./scripts/dtc/dtc)
make[2]: *** [scripts/Makefile.lib:426: /var/lib/dkms/radxa-overlays/0.1.28/build/arch/arm64/boot/dts/rockchip/overlays/rk3328-uart1.dtbo] Error 1
./scripts/dtc/dtc: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./scripts/dtc/dtc)
./scripts/dtc/dtc: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./scripts/dtc/dtc)
make[2]: *** [scripts/Makefile.lib:426: /var/lib/dkms/radxa-overlays/0.1.28/build/arch/arm64/boot/dts/rockchip/overlays/rk3399-dwc3-0-host.dtbo] Error 1
make[1]: *** [scripts/Makefile.build:503: /var/lib/dkms/radxa-overlays/0.1.28/build/arch/arm64/boot/dts/rockchip/overlays] Error 2
make: *** [Makefile:2009: /var/lib/dkms/radxa-overlays/0.1.28/build] Error 2
make: Leave „/usr/src/linux-headers-6.1.115-3-rk2501“
I came across several times that radxa official stuff gets randomly broken from time to time. Installed official image and it got broken after the first apt update/upgrade, not possible to install using official tools etc. After reporting, I got only “not supported yet, being prepared” response and repository kept in non-working state for months.
Good software support is key and even better hardware is nothing without.
Here I fell in the same problem, using Rock-4SE board instead of the Rock4C+ (that are very close in specs, indeed). Me too had the same trouble using the official distro from radxa and 10 days ago the kernel was updated from 5.10.110-39-rockchip to 6.1.115-3-rk2501 by using (as recommended) rsetup instead of apt. The result was that the kernel is bootable but the overlays are not recompiled because of gcc and glibc differences in the development environment of bullseye instead of bookworm (where it seems that the new kernel was compiled). The logs of rsetup are the same as yours and the dkms overlay package remains uninstalled unconfigured