[openwrt/openwrt] bcm27xx: enable 6.6 testing kernel

LEDE Commits lede-commits at lists.infradead.org
Tue Jun 18 11:58:05 PDT 2024


noltari pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2cd6da257c4a9d0cfdf891fec96ff89240872986

commit 2cd6da257c4a9d0cfdf891fec96ff89240872986
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Fri May 10 18:49:13 2024 +0200

    bcm27xx: enable 6.6 testing kernel
    
    The bcm27xx now supports 6.6 kernel as testing.
    
    Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
 target/linux/bcm27xx/Makefile       |  1 +
 target/linux/bcm27xx/image/Makefile | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/target/linux/bcm27xx/Makefile b/target/linux/bcm27xx/Makefile
index d7b56b23bc..d0a05f6193 100644
--- a/target/linux/bcm27xx/Makefile
+++ b/target/linux/bcm27xx/Makefile
@@ -12,6 +12,7 @@ FEATURES:=audio boot-part display ext4 fpu gpio rootfs-part rtc squashfs usb usb
 SUBTARGETS:=bcm2708 bcm2709 bcm2710 bcm2711 bcm2712
 
 KERNEL_PATCHVER:=6.1
+KERNEL_TESTING_PATCHVER:=6.6
 
 define Target/Description
 	Build firmware image for Broadcom BCM27xx SoC devices.
diff --git a/target/linux/bcm27xx/image/Makefile b/target/linux/bcm27xx/image/Makefile
index 9d41e47bac..deff607070 100644
--- a/target/linux/bcm27xx/image/Makefile
+++ b/target/linux/bcm27xx/image/Makefile
@@ -72,10 +72,17 @@ endef
 
 define Device/rpi
   DEVICE_MODEL := B/B+/CM/Zero/ZeroW
+ifdef CONFIG_LINUX_6_6
+  DEVICE_DTS := \
+	broadcom/bcm2708-rpi-b broadcom/bcm2708-rpi-b-rev1 broadcom/bcm2708-rpi-b-plus \
+	broadcom/bcm2708-rpi-cm \
+	broadcom/bcm2708-rpi-zero broadcom/bcm2708-rpi-zero-w
+else
   DEVICE_DTS := \
 	bcm2708-rpi-b bcm2708-rpi-b-rev1 bcm2708-rpi-b-plus \
 	bcm2708-rpi-cm \
 	bcm2708-rpi-zero bcm2708-rpi-zero-w
+endif
   SUPPORTED_DEVICES := \
 	rpi-b rpi-b-plus rpi-cm rpi-zero rpi-zero-w \
 	raspberrypi,model-b raspberrypi,model-b-plus raspberrypi,model-b-rev2 \
@@ -99,12 +106,21 @@ define Device/rpi-2
   DEVICE_ALT1_VENDOR := Raspberry Pi
   DEVICE_ALT1_MODEL := 4B/400/CM4
   DEVICE_ALT1_VARIANT := (32bit)
+ifdef CONFIG_LINUX_6_6
+  DEVICE_DTS := \
+	broadcom/bcm2709-rpi-2-b broadcom/bcm2710-rpi-2-b \
+	broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus \
+	broadcom/bcm2711-rpi-4-b broadcom/bcm2711-rpi-400 \
+	broadcom/bcm2710-rpi-cm3 broadcom/bcm2711-rpi-cm4 \
+	broadcom/bcm2710-rpi-zero-2
+else
   DEVICE_DTS := \
 	bcm2709-rpi-2-b bcm2710-rpi-2-b \
 	bcm2710-rpi-3-b bcm2710-rpi-3-b-plus \
 	bcm2711-rpi-4-b bcm2711-rpi-400 \
 	bcm2710-rpi-cm3 bcm2711-rpi-cm4 \
 	bcm2710-rpi-zero-2
+endif
   SUPPORTED_DEVICES := \
 	rpi-2-b rpi-3-b rpi-3-b-plus rpi-cm rpi-zero-2 \
 	raspberrypi,2-model-b raspberrypi,2-model-b-rev2 \




More information about the lede-commits mailing list