That is expected since we merged the linux-dtb and linux-image packages. Since the new package was downloaded already, you can install it via APT and confirm the removal/replacement of the linux-dtb package:
Good evening @MichaIng
Indeed, it’s not the drivers that are causing the problem.
It’s more the DTB file which, since version 6.18 and above,
doesn’t properly manage the expansion board.
On my other case, connected via Wi-Fi, the latest kernel works fine.
And since the expansion board, although present, isn’t being used, the system doesn’t crash.
At least from reviewing the patches, I did not find any difference in the dts. But to be sure, we’d need to compare a decompiled dtb from an actual system.
For anyone who suffers from WiFi issues, I did a new kernel build with some code modernization and hardening applied, that was previously only done on Rockchip SBCs:
G_DEV_TEST_FIRMWARE
It works on my Orange Pi Zero 3. It throws some new errors (which actually look more like informational messages) at boot. Those were commented out in the code, and the Rockchip patch uncomments them, probably for debugging. If those appear to happen later (for me not so far) and mess the console, we can comment them out again.
Armbian has a similar driver unification in the works, replacing the current SoC-specific patchsets, moving it consequently into an external repo: uwe5622: switch to unified driver in dedicated repo by EvilOlaf · Pull Request #10113 · armbian/build · GitHub
But so far it makes sense to test which individual patches really work well with Allwinner and Rockchip both, and where conditionals in the code make sense (without using two different driver sources/patchsets).
Hello @MichaIng , i try the command but i have some errors
root@DietPi:~# G_DEV_TEST_FIRMWARE
[ OK ] cd /tmp
[ OK ] Downloading packages: armbian-firmware.deb linux-dtb-current-sunxi64.deb linux-image-current-sunxi64.deb linux-u-boot-orangepizero2w-current.deb
--2026-07-27 11:04:54-- https://dietpi.com/downloads/binaries/testing/armbian-firmware.deb
Résolution de dietpi.com (dietpi.com)… 172.67.69.57, 104.26.8.98, 104.26.9.98, ...
Connexion à dietpi.com (dietpi.com)|172.67.69.57|:443… connecté.
requête HTTP transmise, en attente de la réponse… 404 Not Found
2026-07-27 11:04:55 erreur 404 : Not Found.
--2026-07-27 11:04:55-- https://dietpi.com/downloads/binaries/testing/linux-dtb-current-sunxi64.deb
Connexion à dietpi.com (dietpi.com)|172.67.69.57|:443… connecté.
requête HTTP transmise, en attente de la réponse… 404 Not Found
2026-07-27 11:04:55 erreur 404 : Not Found.
--2026-07-27 11:04:55-- https://dietpi.com/downloads/binaries/testing/linux-image-current-sunxi64.deb
Connexion à dietpi.com (dietpi.com)|172.67.69.57|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 39093320 (37M) [application/vnd.debian.binary-package]
Sauvegarde en : « linux-image-current-sunxi64.deb »
linux-image-current-sunxi64.deb 100%[===============================================================================>] 37,28M 2,01MB/s ds 19s
2026-07-27 11:05:14 (1,98 MB/s) — « linux-image-current-sunxi64.deb » sauvegardé [39093320/39093320]
--2026-07-27 11:05:14-- https://dietpi.com/downloads/binaries/testing/linux-u-boot-orangepizero2w-current.deb
Réutilisation de la connexion existante à dietpi.com:443.
requête HTTP transmise, en attente de la réponse… 404 Not Found
2026-07-27 11:05:14 erreur 404 : Not Found.
Terminé — 2026-07-27 11:05:14 —
Temps total effectif : 20s
Téléchargés : 1 fichiers, 37M en 19s (1,98 MB/s)
[ INFO ] dpkg -i linux-image-current-sunxi64.deb, please wait...
dpkg: concernant linux-image-current-sunxi64.deb contenant linux-image-current-sunxi64 :
linux-image-current-sunxi64 casse (« breaks ») linux-dtb-current-sunxi64
« linux-dtb-current-sunxi64 » (version « 26.02.0-trunk-dietpi8 ») est présent ainsi que « installé ».
dpkg: erreur de traitement de l'archive linux-image-current-sunxi64.deb (--install) :
l'installation de linux-image-current-sunxi64 casserait linux-dtb-current-sunxi64
et la déconfiguration n'est pas autorisée (--auto-deconfigure pourrait aider)
Des erreurs ont été rencontrées pendant l'exécution :
linux-image-current-sunxi64.deb
[FAILED] dpkg -i linux-image-current-sunxi64.deb
[FAILED] Unable to continue, command will now terminate.
root@DietPi:/tmp# uname -a
Linux DietPi 6.12.76-current-sunxi64 #1 SMP Thu Mar 5 15:04:32 UTC 2026 aarch64 GNU/Linux
root@DietPi:/tmp#
I thiink i need to upload to the last -1 kernel first now ?
I’m on holiday so we can test some things for this moment
i take with me my sounbox with the OPI zero 2w et his expanxion board
You need to manually apt install ./linux-image-current-sunxi64.deb once and confirm the linux-dtb-current-sunxi64 removal, as you use a kernel package version from before we merged those two packages into one.
root@DietPi:~# ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 02:a0:73:62:18:b7 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DORMANT group default qlen 1000
link/ether f4:e4:dc:4d:b4:4b brd ff:ff:ff:ff:ff:ff
root@DietPi:~# uname -a
Linux DietPi 6.18.40-current-sunxi64 #1 SMP PREEMPT Fri Jul 24 14:17:26 UTC 2026 aarch64 GNU/Linux
root@DietPi:~# dmesg -l 0,1,2,3
[ 0.815919] dw-apb-uart 5000000.serial: Error applying setting, reverse things back
[ 0.816453] sun6i-spi 5010000.spi: Error applying setting, reverse things back
[ 0.821778] dw-apb-uart 5000000.serial: Error applying setting, reverse things back
[ 0.822781] sunxi-mmc 4020000.mmc: Error applying setting, reverse things back
[ 0.822849] sunxi-mmc 4021000.mmc: Error applying setting, reverse things back
[ 1.659079] WCN_ERR: dts node for bt_wake not found
[ 9.695453] wifi ini path = /lib/firmware/wifi_2355b001_1ant.ini
root@DietPi:~#
It works with music and LMS for now, but it crashes with video in Kodi. I’m going to test it over the long term using just music
So even that it looked so suspicious, the CPUFreq interference of the driver was not the actual issue, and even without it, CPUFreq actions often trigger the crash. Switching to performance governor seems to work around it, as then CPUFreq does not touch the CPU frequency anymore. But of course this means, with max clock 24/7, the board can run unnecessarily hot.
Next thing to test is ADMA usage, which might corrupt memory due to some missing or false input validation.
I realized that I just missed to update the Git commit pulled by Armbian, so the build did not actually contain the change . Did another one, this time with the CPUFreq interference really removed.
CONFIG_WCN_BSP_DRIVER_BUILDIN=y is the culprit, so that uwe5622_bsp_sdio is always loaded, introducing the possibility to cause some memory corruption, that is randomly triggered by other kernel subsystems, like CPUFreq, filesystem drivers, the network stack, whichever touches the corrupted pointers or addresses first. I removed that flag along with a general cleanup of all config keys related to the WiFi driver across all kernel configs, so uwe5622_bsp_sdio is a module again, never loaded unless WiFi is enabled on those boards: config: fix and cleanup uwe5622 driver keys · MichaIng/build@3af15f2 · GitHub
Great. Same for anyone else here, the more tests whether WiFi (and Ethernet if you have the extension board), the better, to be sure we can close this chapter.
Either
cd /tmp
wget https://dietpi.com/downloads/binaries/testing/linux-image-current-sunxi64.deb
sudo apt -y install ./linux-image-current-sunxi64.deb