I got it to work with “normal” install. The problem seems to be that flash kernel does not find the dtb file to complete installation.
What I did was:
- download debian/pool/main/c/clockworkpi-kernel/clockworkpi-kernel_6.12.51-v8-16k+_arm64.deb
- install the package:
- sudo dpkg -i clockworkpi-kernel_6.12.51-v8-16k+_arm64.deb
- get errors from flash kernel regarding dtbs missing
- sudo dpkg -i clockworkpi-kernel_6.12.51-v8-16k+_arm64.deb
- copy dtb file manually:
- sudo cp /boot/dtbs/6.12.51-v8-16k+/bcm2712-rpi-cm5l-cm5io.dtb /etc/flash-kernel/dtbs/
- invoke flash-kernel manually:
- sudo flash-kernel
- getting no errors
- sudo flash-kernel
- update initramfs:
- sudo update-initramfs -u
- update initramfs in /boot/firmware for LUKS
- sudo mkinitramfs -o /boot/firmware/initramfs8 6.12.51-v8-16k+
- should be not necessary, if you are not using full disk (SD card) encryption
- sudo mkinitramfs -o /boot/firmware/initramfs8 6.12.51-v8-16k+
- reboot
- sudo reboot
It is now running the newest kernel fine and dpkg/apt is aware of the installed package, which is nice.
I think the automated install can succeed, if the dtb files where reachable for flash kernel, which it currently is not.
Edit: I also could unmark flash-kernel (sudo apt-mark unhold flash-kernel) and update it to the latest version, without getting errors. I assume, now that the dtb is reachable and I know what to do when it is not, that automatic kernel updates are now possible. I will check/experience that with your next kernel release
The kernel itself is also “unholded” due to the dpkg install.