[RPi5] Raspbi vs generic-64k ARM64 kernels
Manuel Diewald
manuel.diewald at canonical.com
Mon Feb 24 09:32:18 UTC 2025
On Sun, Feb 23, 2025 at 11:53:41AM +0800, Daniel J Blueman wrote:
> I find Ubuntu 24.04.2 LTS works amazingly on the Raspberry Pi 5 16GB
> using the default linux-image-raspi metapackage; great work!
>
> Is anyone aware of reasons the 64KB-pagesize ARM64 kernel
> (linux-image-generic-64k metapackage) shouldn't work [1]? If none,
> I'll log it and start investigating.
>
> Thanks,
> Dan
>
> -- [1]
>
> # apt install linux-image-generic-64k
> Processing triggers for linux-image-6.8.0-53-generic-64k (6.8.0-53.55) ...
> /etc/kernel/postinst.d/initramfs-tools:
> update-initramfs: Generating /boot/initrd.img-6.8.0-53-generic-64k
> Using DTB: bcm2712-rpi-5-b.dtb
> Couldn't find DTB bcm2712-rpi-5-b.dtb on the following paths:
> /etc/flash-kernel/dtbs /usr/lib/linux-image-6.8.0-53-generic-64k
> /lib/firmware/6.8.0-53-generic-64k/device-tree/
> Installing into /boot/dtbs/6.8.0-53-generic-64k/./bcm2712-rpi-5-b.dtb
> cp: cannot stat '': No such file or directory
> run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
> run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
> dpkg: error processing package linux-image-6.8.0-53-generic-64k (--configure):
> installed linux-image-6.8.0-53-generic-64k package post-installation
> script subprocess returned error exit status 1
> Errors were encountered while processing:
> linux-image-6.8.0-53-generic-64k
> needrestart is being skipped since dpkg has failed
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> --
> Daniel J Blueman
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
The generic arm64 kernel is not targeting Raspberry Pi devices and as
such is not carrying many Raspberry Pi specific downstream patches, for
instance the required dtbs as you noticed when trying to install it on
your device. Trying to install it is not expected to work, only the
raspi kernel flavor is supported on the Pi.
--
Manuel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250224/50bfe694/attachment-0001.sig>
More information about the kernel-team
mailing list