DietPi_SOQuartz Bullseye kernel downgrade

Hi,

Current image version use

 5.19.0-rc1 #1 SMP PREEMPT Fri Jul 15 09:39:18 UTC 2022 aarch64 GNU/Linux

kernel which missing “br_netfilter”

ls /lib/modules/5.19.0-rc1/kernel/net/bridge/
bridge.ko

I try to downgrade to 5.18

 ls /lib/modules/5.18.0-0.deb11.4-arm64/kernel/net/bridge/
br_netfilter.ko  bridge.ko  netfilter

**which include “br_netfilter” however I have 0 ideas how to switch boot kernel ?! **
Any ideas ?!

G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=8
G_DIETPI_VERSION_RC=1
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
G_HW_MODEL=49
G_HW_MODEL_NAME='Quartz64 (aarch64)'
G_HW_ARCH=3
G_HW_ARCH_NAME='aarch64'
G_HW_CPUID=9
G_HW_CPU_CORES=4
G_DISTRO=6
G_DISTRO_NAME='bullseye'
G_ROOTFS_DEV='/dev/mmcblk0p1'
G_HW_UUID='701335c2-7d9c-4136-8734-c1a7c1c0a3f7'
cat extlinux/extlinux.conf 
default l0
menu title Quartz64 boot menu
prompt 0
timeout 10

label l0
menu label Boot primary OS
linux /boot/vmlinuz
fdt /boot/rk3566-soquartz-cm4.dtb
append earlycon=uart8250,mmio32,0xfe660000 console=ttyS2,1500000n8 console=tty1 root=PARTUUID=baeec15b-01 rootfstype=ext4 rootwait fsck.repair=yes net.ifnames=0

The new vmlinuz is

 ls -lah /boot/vmlinuz*
-rw-r--r-- 1 root root 36M Jul 28 19:33 /boot/vmlinuz
-rw-r--r-- 1 root root 28M Aug 13 00:28 /boot/vmlinuz-5.18.0-0.deb11.4-arm64

ls -lah /vmlinuz*
lrwxrwxrwx 1 root root 35 Sep 13 15:51 /vmlinuz -> boot/vmlinuz-5.18.0-0.deb11.4-arm64
lrwxrwxrwx 1 root root 35 Sep 13 15:51 /vmlinuz.old -> boot/vmlinuz-5.18.0-0.deb11.4-arm64

I’m no sue if I replace it in extlinux/extlinux.conf will work with fdt /boot/rk3566-soquartz-cm4.dtb

Not sure whether the generic Debian kernel is working at on this SBC with the device tree (from a specifically patched Quartz64 kernel), but worth giving a try.

Ah I see the Bookworm Linux 5.19 kernel has device trees for all three Quartz64 variants, so that one should work. Sadly it has not yet been merged into Bullseye backports, so a little nasty to apply in a way that upgrades work.