I have a 5B that I bought from AllNet during the pre-order phase. I was originally running Ubuntu 20.04 LTS on emmc but I ‘upgraded’ to the latest Radxa Debian Bullseye image on NVMe using the provided modified uboot. A system update to uboot (inside Debian) asked if I wanted to replace the config file with the latest one and, after checking the diff I allowed it. The device would no longer boot from NVMe, so I assumed I messed up and should have denied the new config.
I rebooted to the original emmc running Ubuntu 20.04 LTS and ran a system update and upgrade (because it hadn’t been booted for months). Again, the update errors out saying it was an unsupported platform. OK, maybe 20.04 is just too old now? So I re-flashed the uboot to SPI and wiped the NVMe, this time flashing it with the latest Ubuntu 22.04 LTS provided directly by Radxa (rather than Debian) to see if that helped. Still, I get the unsupported platform error.
I can install software, and sudo apt update
says the system is up to date, however issuing sudo apt upgrade
shows the unsupported platform errors and unfinished initramfs-tools and flash-kernel config, still:
$ sudo 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.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up flash-kernel (3.104ubuntu17) ...
flash-kernel: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-5.10.110-28-rockchip
Unsupported platform 'Radxa ROCK 5B'.
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
At this stage I have tried Debian Bullseye, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS (all from Radxa) and all are showing this issue. Have I missed something?
I wondered if it was due to extra characters in /proc/device-tree/model
(which shows Radxa ROCK 5B^@
). I checked to amend the entry in /usr/share/flash-kernel/db/all.db
but the ROCK5B isn’t listed at all, just a few Rock 4 and related entries, and a development board.
Output of uname -a
:
Linux rock-5b 5.10.110-28-rockchip #055badb10 SMP Thu Jan 4 08:10:49 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
Output of cat /etc/os-release
:
Linux rock-5b 5.10.110-28-rockchip #055badb10 SMP Thu Jan 4 08:10:49 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
Can anyone help fix this please? The system does boot and function normally otherwise, but it’s annoying.