The July image will give you 6.6.31, but 6.6.47 has been out for about a week in the APT repositories. It's not critical to keep the images right up to the latest kernel, as long as they support the latest hardware for the initial installation and boot. You should be able to just install the 2712 kernel from APT, I think, as long as you fully dealt with the Bullseye to Bookworm transition when you upgraded. I'm assuming you are running the official Raspberry Pi OS, and not plain Debian.
I believe the Pi 5's default boot loader & firmware should automatically pick up the 2712 kernel if it's there at the default path and there's no "kernel=" override in config.txt. If not, "kernel=kernel_2712.img" should do the trick.
Be aware that the v8 kernel uses 4K pages, but the 2712 kernel uses 16K pages. This causes an issue with running 32 bit (armhf) code, and perhaps other legacy compatibility issues (I know there's a difference in page size and an armhf issue, not sure if there's anything else). You might get a small bump in performance, but it's not going to be huge; you're going from ARMv8 to ARMv8.2. In hardware terms, the BCM2711 in the Pi 4 has an ARM Cortex-A72, and the BCM2712 in the Pi 5 has an ARM Cortex-A76, which is where most of the real performance gains came from.
Code:
sudo apt install linux-headers-rpi-2712 linux-image-rpi-2712
Be aware that the v8 kernel uses 4K pages, but the 2712 kernel uses 16K pages. This causes an issue with running 32 bit (armhf) code, and perhaps other legacy compatibility issues (I know there's a difference in page size and an armhf issue, not sure if there's anything else). You might get a small bump in performance, but it's not going to be huge; you're going from ARMv8 to ARMv8.2. In hardware terms, the BCM2711 in the Pi 4 has an ARM Cortex-A72, and the BCM2712 in the Pi 5 has an ARM Cortex-A76, which is where most of the real performance gains came from.
Statistics: Posted by Murph9000 — Thu Sep 12, 2024 12:13 am