From 38f686f82942511aac6bef72772186ee04b9da38 Mon Sep 17 00:00:00 2001 From: Gijs Peskens Date: Mon, 23 Dec 2024 13:37:02 +0100 Subject: [PATCH 1/2] raspberrypi5.conf: Add CM5 dtb's Add new dtb's required for raspberry compute module 5 Signed-off-by: Gijs Peskens --- conf/machine/raspberrypi-armv8.conf | 4 ++++ conf/machine/raspberrypi5.conf | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/conf/machine/raspberrypi-armv8.conf b/conf/machine/raspberrypi-armv8.conf index 0128bdc7..0b423092 100644 --- a/conf/machine/raspberrypi-armv8.conf +++ b/conf/machine/raspberrypi-armv8.conf @@ -33,6 +33,10 @@ RPI_KERNEL_DEVICETREE = " \ broadcom/bcm2711-rpi-cm4.dtb \ broadcom/bcm2711-rpi-cm4s.dtb \ broadcom/bcm2712-rpi-5-b.dtb \ + broadcom/bcm2712-rpi-cm5-cm5io.dtb \ + broadcom/bcm2712-rpi-cm5-cm4io.dtb \ + broadcom/bcm2712-rpi-cm5l-cm5io.dtb \ + broadcom/bcm2712-rpi-cm5l-cm4io.dtb \ " SDIMG_KERNELIMAGE ?= "kernel8.img" diff --git a/conf/machine/raspberrypi5.conf b/conf/machine/raspberrypi5.conf index 03f15c35..636c965a 100644 --- a/conf/machine/raspberrypi5.conf +++ b/conf/machine/raspberrypi5.conf @@ -15,6 +15,10 @@ MACHINE_EXTRA_RRECOMMENDS += "\ RPI_KERNEL_DEVICETREE = " \ broadcom/bcm2712-rpi-5-b.dtb \ + broadcom/bcm2712-rpi-cm5-cm5io.dtb \ + broadcom/bcm2712-rpi-cm5-cm4io.dtb \ + broadcom/bcm2712-rpi-cm5l-cm5io.dtb \ + broadcom/bcm2712-rpi-cm5l-cm4io.dtb \ " SDIMG_KERNELIMAGE ?= "kernel_2712.img" From 7d9ae2531910e705f272a4fbee8ac28cfeb734d2 Mon Sep 17 00:00:00 2001 From: Gijs Peskens Date: Mon, 23 Dec 2024 13:30:40 +0100 Subject: [PATCH 2/2] rpi-base: Fix CM5 boot panic Compute module 5 depends on the bcm2712d0 overlay, and will panic during boot without it. Signed-off-by: Gijs Peskens --- conf/machine/include/rpi-base.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index 99231339..ab2645c9 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc @@ -80,6 +80,7 @@ RPI_KERNEL_DEVICETREE_OVERLAYS ?= " \ overlays/w1-gpio.dtbo \ overlays/w1-gpio-pullup.dtbo \ overlays/wm8960-soundcard.dtbo \ + overlays/bcm2712d0.dtbo \ " RPI_KERNEL_DEVICETREE ?= " \