summaryrefslogtreecommitdiff
path: root/meta-unit-kas/include/layers/meta-raspberrypi/patches/wrynose/quilt/0001-linux-raspberrypi-6.18.24.patch
blob: 2fbd6fcf07d96028066ebe34a9661ea655cb5d65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
From 02af53ec0e5973ef7fe6803d2572a21ca6144564 Mon Sep 17 00:00:00 2001
From: unitexe <unitexe70@gmail.com>
Date: Fri, 24 Apr 2026 08:30:46 -0500
Subject: [PATCH] linux-raspberrypi: 6.18.24

---
 conf/machine/include/rpi-default-versions.inc |  2 +-
 .../linux/linux-raspberrypi_6.18.bb           | 31 +++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletion(-)
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_6.18.bb

diff --git a/conf/machine/include/rpi-default-versions.inc b/conf/machine/include/rpi-default-versions.inc
index 8e3e9be..d2562a0 100644
--- a/conf/machine/include/rpi-default-versions.inc
+++ b/conf/machine/include/rpi-default-versions.inc
@@ -1,4 +1,4 @@
 # RaspberryPi BSP default versions
 
-PREFERRED_VERSION_linux-raspberrypi ??= "6.12.%"
+PREFERRED_VERSION_linux-raspberrypi ??= "6.18.%"
 PREFERRED_VERSION_linux-raspberrypi-v7 ??= "${PREFERRED_VERSION_linux-raspberrypi}"
diff --git a/recipes-kernel/linux/linux-raspberrypi_6.18.bb b/recipes-kernel/linux/linux-raspberrypi_6.18.bb
new file mode 100644
index 0000000..dbfef0f
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_6.18.bb
@@ -0,0 +1,31 @@
+LINUX_VERSION ?= "6.18.24"
+LINUX_RPI_BRANCH ?= "rpi-6.18.y"
+LINUX_RPI_KMETA_BRANCH ?= "yocto-6.18"
+
+SRCREV_machine = "f2f68e79f16fe405f43e957f5aac8ac6f400b112"
+SRCREV_meta = "f94e250f9bd55d855b1a41e3cd72beebb3849ae3"
+
+KMETA = "kernel-meta"
+
+SRC_URI = " \
+    git://github.com/raspberrypi/linux.git;name=machine;branch=${LINUX_RPI_BRANCH};protocol=https \
+    git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=${LINUX_RPI_KMETA_BRANCH};destsuffix=${KMETA} \
+    file://powersave.cfg \
+    file://android-drivers.cfg \
+    "
+
+require linux-raspberrypi.inc
+
+KERNEL_DTC_FLAGS += "-@ -H epapr"
+
+RDEPENDS:${KERNEL_PACKAGE_NAME}:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}"
+RDEPENDS:${KERNEL_PACKAGE_NAME}-base:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-base"
+RDEPENDS:${KERNEL_PACKAGE_NAME}-image:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-image"
+RDEPENDS:${KERNEL_PACKAGE_NAME}-dev:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-dev"
+RDEPENDS:${KERNEL_PACKAGE_NAME}-vmlinux:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-vmlinux"
+RDEPENDS:${KERNEL_PACKAGE_NAME}-modules:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-modules"
+RDEPENDS:${KERNEL_PACKAGE_NAME}-dbg:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-dbg"
+
+DEPLOYDEP = ""
+DEPLOYDEP:raspberrypi-armv7 = "${RASPBERRYPI_v7_KERNEL}:do_deploy"
+do_deploy[depends] += "${DEPLOYDEP}"
-- 
2.43.0