All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe
@ 2024-10-04 15:18 Ryan Eatmon
  2024-10-04 15:18 ` [meta-ti][master/scarthgap][PATCH 2/4] u-boot-ti-staging: Add v2024.10 recipe Ryan Eatmon
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Ryan Eatmon @ 2024-10-04 15:18 UTC (permalink / raw)
  To: Praneeth Bajjuri, Denys Dmytriyenko, meta-ti

Adding needed recipes for initial testing and development of the 6.12
kernel for the next LTS.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 .../linux/linux-ti-staging-6.12/defconfig     |  2 +
 .../linux/linux-ti-staging-6.12/k3/defconfig  |  2 +
 .../linux-ti-staging-6.12/omapl138/defconfig  |  1 +
 .../linux-ti-staging-6.12/ti33x/defconfig     |  2 +
 .../linux-ti-staging-6.12/ti43x/defconfig     |  2 +
 .../linux/linux-ti-staging-rt-6.12/defconfig  |  2 +
 .../linux-ti-staging-rt-6.12/k3/defconfig     |  2 +
 .../omapl138/defconfig                        |  2 +
 .../linux-ti-staging-rt-6.12/ti33x/defconfig  |  2 +
 .../linux-ti-staging-rt-6.12/ti43x/defconfig  |  2 +
 .../linux/linux-ti-staging-rt_6.12.bb         |  9 +++++
 .../linux-ti-staging-systest-6.12/defconfig   |  2 +
 .../k3/defconfig                              |  2 +
 .../omapl138/defconfig                        |  1 +
 .../linux/linux-ti-staging-systest_6.12.bb    |  7 ++++
 .../linux/linux-ti-staging_6.12.bb            | 40 +++++++++++++++++++
 .../recipes-kernel/linux/ti-kernel.inc        |  4 ++
 17 files changed, 84 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/k3/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/omapl138/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti33x/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti43x/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/k3/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/omapl138/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti33x/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti43x/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/k3/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/omapl138/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.12.bb
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb

diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/defconfig
new file mode 100644
index 00000000..9d579e41
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/k3/defconfig
new file mode 100644
index 00000000..fd07b34e
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/k3/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=defconfig
+config-fragment=
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/omapl138/defconfig
new file mode 100644
index 00000000..099493af
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/omapl138/defconfig
@@ -0,0 +1 @@
+use-kernel-config=davinci_all_defconfig
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti33x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti33x/defconfig
new file mode 100644
index 00000000..9d579e41
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti33x/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti43x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti43x/defconfig
new file mode 100644
index 00000000..9d579e41
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti43x/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/defconfig
new file mode 100644
index 00000000..9d579e41
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/k3/defconfig
new file mode 100644
index 00000000..fd07b34e
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/k3/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=defconfig
+config-fragment=
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/omapl138/defconfig
new file mode 100644
index 00000000..3d890b6e
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/omapl138/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=davinci_all_defconfig
+config-fragment=
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti33x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti33x/defconfig
new file mode 100644
index 00000000..9d579e41
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti33x/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti43x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti43x/defconfig
new file mode 100644
index 00000000..9d579e41
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti43x/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
new file mode 100644
index 00000000..9e5c4ee4
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
@@ -0,0 +1,9 @@
+require linux-ti-staging_6.12.bb
+
+KERNEL_LOCALVERSION:append = "-rt"
+
+# Look in the generic major.minor directory for files
+# This will have priority over generic non-rt path
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
+
+include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/defconfig
new file mode 100644
index 00000000..9d579e41
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/k3/defconfig
new file mode 100644
index 00000000..fd07b34e
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/k3/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=defconfig
+config-fragment=
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/omapl138/defconfig
new file mode 100644
index 00000000..099493af
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/omapl138/defconfig
@@ -0,0 +1 @@
+use-kernel-config=davinci_all_defconfig
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.12.bb
new file mode 100644
index 00000000..8ce23368
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.12.bb
@@ -0,0 +1,7 @@
+require linux-ti-staging_6.12.bb
+
+DEFAULT_PREFERENCE = "-1"
+
+# Look in the generic major.minor directory for files
+# This will have priority over generic non-rt path
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb
new file mode 100644
index 00000000..f6f8732b
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb
@@ -0,0 +1,40 @@
+SECTION = "kernel"
+SUMMARY = "Linux kernel for TI devices"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
+
+inherit ti-secdev
+inherit kernel
+
+DEFAULT_PREFERENCE = "-1"
+
+require recipes-kernel/linux/setup-defconfig.inc
+require recipes-kernel/linux/ti-kernel.inc
+include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
+include ${@ 'recipes-kernel/linux/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
+
+DEPENDS += "gmp-native libmpc-native"
+
+# Look in the generic major.minor directory for files
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
+
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
+		      ${EXTRA_DTC_ARGS}"
+
+S = "${WORKDIR}/git"
+
+BRANCH ?= "ti-linux-6.12.y"
+
+SRCREV ?= "9852d85ec9d492ebef56dc5f229416c925758edc"
+PV = "6.12-rc1+git"
+
+KERNEL_GIT_URI ?= "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
+KERNEL_GIT_PROTOCOL = "https"
+SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
+            file://defconfig"
+
+# Special configuration for remoteproc/rpmsg IPC modules
+module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
+module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus"
+module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
+KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
index 4bcbc27e..09cfdb12 100644
--- a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
+++ b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
@@ -20,6 +20,10 @@ KERNEL_PATCHES:bsp-mainline = " \
     file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \
 "
 
+KERNEL_PATCHES:bsp-ti-6_12 = " \
+    file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \
+"
+
 KERNEL_PATCHES:bsp-ti-6_6 = " \
     file://0001-vt-conmakehash-improve-reproducibility.patch \
 "
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [meta-ti][master/scarthgap][PATCH 2/4] u-boot-ti-staging: Add v2024.10 recipe
  2024-10-04 15:18 [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe Ryan Eatmon
@ 2024-10-04 15:18 ` Ryan Eatmon
  2024-10-08 19:59   ` Denys Dmytriyenko
  2024-10-04 15:18 ` [meta-ti][master/scarthgap][PATCH 3/4] ti-bsp: Add ti-6_12 Ryan Eatmon
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 13+ messages in thread
From: Ryan Eatmon @ 2024-10-04 15:18 UTC (permalink / raw)
  To: Praneeth Bajjuri, Denys Dmytriyenko, meta-ti

Adding needed recipe for initial testing and development of the 2024.10
version of u-boot for the next LTS.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 .../recipes-bsp/u-boot/u-boot-ti-staging_2024.10.bb   | 11 +++++++++++
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc          |  3 +++
 2 files changed, 14 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.10.bb

diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.10.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.10.bb
new file mode 100644
index 00000000..1ab94fcc
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.10.bb
@@ -0,0 +1,11 @@
+require u-boot-ti.inc
+
+DEFAULT_PREFERENCE = "-1"
+
+include ${@ 'recipes-bsp/u-boot/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
+
+PR = "r0"
+
+BRANCH = "ti-u-boot-2024.10"
+
+SRCREV = "c97ada2dc66934ee00a7a03d9ed078bdfb7b4039"
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
index e1f1972e..97237d66 100644
--- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
@@ -26,6 +26,9 @@ SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};branch=${BRANCH}"
 
 PV:append = "+git"
 
+# u-boot builds a tool mkeficapsule and it needs this
+DEPENDS += "gnutls-native"
+
 # u-boot needs devtree compiler to parse dts files
 DEPENDS += "dtc-native bc-native flex-native bison-native python3-setuptools-native"
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [meta-ti][master/scarthgap][PATCH 3/4] ti-bsp: Add ti-6_12
  2024-10-04 15:18 [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe Ryan Eatmon
  2024-10-04 15:18 ` [meta-ti][master/scarthgap][PATCH 2/4] u-boot-ti-staging: Add v2024.10 recipe Ryan Eatmon
@ 2024-10-04 15:18 ` Ryan Eatmon
  2024-10-08 19:55   ` Denys Dmytriyenko
  2024-10-04 15:18 ` [meta-ti][master/scarthgap][PATCH 4/4] debugss-module-drv: Add patch for kernel 6.11 change Ryan Eatmon
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 13+ messages in thread
From: Ryan Eatmon @ 2024-10-04 15:18 UTC (permalink / raw)
  To: Praneeth Bajjuri, Denys Dmytriyenko, meta-ti

Add new BSP for the 6.12 kernel and u-boot 2024.10 versions.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 meta-ti-bsp/conf/machine/include/ti-bsp.inc | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/meta-ti-bsp/conf/machine/include/ti-bsp.inc b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
index 33611689..9a15e164 100644
--- a/meta-ti-bsp/conf/machine/include/ti-bsp.inc
+++ b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
@@ -35,6 +35,19 @@ BSP_BOOTLOADER_VERSION:bsp-next = "%"
 # in next, usually present in TI staging or derivative like BB.org
 MACHINE_FEATURES:remove:bsp-next = "gpu"
 
+# ==========
+# ti-6_12
+# TI staging kernel 6.12, u-boot 2024.10
+# ==========
+BSP_KERNEL_PROVIDER:bsp-ti-6_12 = "linux-ti-staging"
+BSP_KERNEL_VERSION:bsp-ti-6_12 = "6.12%"
+BSP_BOOTLOADER_PROVIDER:bsp-ti-6_12 = "u-boot-ti-staging"
+BSP_BOOTLOADER_VERSION:bsp-ti-6_12 = "2024.10%"
+
+# GPU support requires out-of-tree SGX and Rogue drivers not available
+# in 6.12 yet
+MACHINE_FEATURES:remove:bsp-next = "gpu"
+
 # ==========
 # ti-6_6
 # TI staging kernel 6.6, u-boot 2024.04
@@ -42,7 +55,7 @@ MACHINE_FEATURES:remove:bsp-next = "gpu"
 BSP_KERNEL_PROVIDER:bsp-ti-6_6 = "linux-ti-staging"
 BSP_KERNEL_VERSION:bsp-ti-6_6 = "6.6%"
 BSP_BOOTLOADER_PROVIDER:bsp-ti-6_6 = "u-boot-ti-staging"
-BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024%"
+BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024.04%"
 
 # Only Rogue is enabled so far, SGX falls back to SW rendering
 BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-img-rogue-driver"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [meta-ti][master/scarthgap][PATCH 4/4] debugss-module-drv: Add patch for kernel 6.11 change
  2024-10-04 15:18 [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe Ryan Eatmon
  2024-10-04 15:18 ` [meta-ti][master/scarthgap][PATCH 2/4] u-boot-ti-staging: Add v2024.10 recipe Ryan Eatmon
  2024-10-04 15:18 ` [meta-ti][master/scarthgap][PATCH 3/4] ti-bsp: Add ti-6_12 Ryan Eatmon
@ 2024-10-04 15:18 ` Ryan Eatmon
  2024-10-08 19:58 ` [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe Denys Dmytriyenko
  2025-12-19 17:31 ` Romain Naour
  4 siblings, 0 replies; 13+ messages in thread
From: Ryan Eatmon @ 2024-10-04 15:18 UTC (permalink / raw)
  To: Praneeth Bajjuri, Denys Dmytriyenko, meta-ti

There was a change to the return value for a function pointer in the
kernel v6.11.  This patch adapts the module to the kernel change.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 .../dsptop/debugss-module-drv_git.bb          |  5 +-
 ...kernel-6.11-changed-return-value-for.patch | 58 +++++++++++++++++++
 2 files changed, 62 insertions(+), 1 deletion(-)
 create mode 100644 meta-ti-extras/recipes-bsp/dsptop/files/0002-debugss_kmodule-kernel-6.11-changed-return-value-for.patch

diff --git a/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb b/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb
index 81e544f7..74ceed9d 100644
--- a/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb
+++ b/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb
@@ -18,4 +18,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 include dsptop.inc
 
-SRC_URI += "file://0001-debugss_kmodule-Add-include-for-mod_devicetable.h.patch"
+SRC_URI += "\
+    file://0001-debugss_kmodule-Add-include-for-mod_devicetable.h.patch \
+    file://0002-debugss_kmodule-kernel-6.11-changed-return-value-for.patch \
+"
diff --git a/meta-ti-extras/recipes-bsp/dsptop/files/0002-debugss_kmodule-kernel-6.11-changed-return-value-for.patch b/meta-ti-extras/recipes-bsp/dsptop/files/0002-debugss_kmodule-kernel-6.11-changed-return-value-for.patch
new file mode 100644
index 00000000..4e9727a0
--- /dev/null
+++ b/meta-ti-extras/recipes-bsp/dsptop/files/0002-debugss_kmodule-kernel-6.11-changed-return-value-for.patch
@@ -0,0 +1,58 @@
+From aaddf1fa8b92db23ae2ebc83826c2bb5f5c87c35 Mon Sep 17 00:00:00 2001
+From: Ryan Eatmon <reatmon@ti.com>
+Date: Thu, 3 Oct 2024 14:25:18 -0500
+Subject: [PATCH] debugss_kmodule: kernel 6.11 changed return value for remove
+ slot
+
+In kernel version 6.11 the function footprint changed for the remove
+slot to return a void instead of an int. [1]
+
+Add ifdef checking code to look for kernel version and pick the correct
+return code.
+
+[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/linux/platform_device.h?id=0edb555a65d1ef047a9805051c36922b52a38a9d
+
+Upstream-Status: Inactive-Upstream [lastcommit: 2021-04-20]
+
+Signed-off-by: Ryan Eatmon <reatmon@ti.com>
+---
+ debugss_kmodule.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/debugss_kmodule.c b/debugss_kmodule.c
+index 9e084eb..4191be8 100644
+--- a/debugss_kmodule.c
++++ b/debugss_kmodule.c
+@@ -27,6 +27,7 @@
+ #include "debugss_kmodule.h"
+ 
+ #include <linux/mod_devicetable.h>
++#include <linux/version.h>
+ 
+ /* un-comment the line below to enable printing for kernel debug messages */
+ //#define DEBUGSS_DRV_DEBUG
+@@ -1132,7 +1133,11 @@ static int dra7xx_debugss_probe(struct platform_device *pdev)
+ 	return retval;
+ }
+ 
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0))
+ static int dra7xx_debugss_remove(struct platform_device *pdev)
++#else
++static void dra7xx_debugss_remove(struct platform_device *pdev)
++#endif
+ {
+ 	__D("%s:\n",__FUNCTION__);
+ 
+@@ -1145,7 +1150,9 @@ static int dra7xx_debugss_remove(struct platform_device *pdev)
+ 	/* Un-prepare debugSS clock */
+ 	clk_disable_unprepare(sys_clk_in1);
+ 
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0))
+ 	return 0;
++#endif
+ }
+ 
+ static const struct of_device_id dra7xx_debugss_of_match[] = {
+-- 
+2.17.1
+
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: [meta-ti][master/scarthgap][PATCH 3/4] ti-bsp: Add ti-6_12
  2024-10-04 15:18 ` [meta-ti][master/scarthgap][PATCH 3/4] ti-bsp: Add ti-6_12 Ryan Eatmon
@ 2024-10-08 19:55   ` Denys Dmytriyenko
  2024-10-08 19:57     ` Ryan Eatmon
  0 siblings, 1 reply; 13+ messages in thread
From: Denys Dmytriyenko @ 2024-10-08 19:55 UTC (permalink / raw)
  To: reatmon; +Cc: Praneeth Bajjuri, Denys Dmytriyenko, meta-ti

On Fri, Oct 04, 2024 at 10:18:56AM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
> Add new BSP for the 6.12 kernel and u-boot 2024.10 versions.
> 
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
>  meta-ti-bsp/conf/machine/include/ti-bsp.inc | 15 ++++++++++++++-
>  1 file changed, 14 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-ti-bsp/conf/machine/include/ti-bsp.inc b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
> index 33611689..9a15e164 100644
> --- a/meta-ti-bsp/conf/machine/include/ti-bsp.inc
> +++ b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
> @@ -35,6 +35,19 @@ BSP_BOOTLOADER_VERSION:bsp-next = "%"
>  # in next, usually present in TI staging or derivative like BB.org
>  MACHINE_FEATURES:remove:bsp-next = "gpu"
>  
> +# ==========
> +# ti-6_12
> +# TI staging kernel 6.12, u-boot 2024.10
> +# ==========
> +BSP_KERNEL_PROVIDER:bsp-ti-6_12 = "linux-ti-staging"
> +BSP_KERNEL_VERSION:bsp-ti-6_12 = "6.12%"
> +BSP_BOOTLOADER_PROVIDER:bsp-ti-6_12 = "u-boot-ti-staging"
> +BSP_BOOTLOADER_VERSION:bsp-ti-6_12 = "2024.10%"
> +
> +# GPU support requires out-of-tree SGX and Rogue drivers not available
> +# in 6.12 yet
> +MACHINE_FEATURES:remove:bsp-next = "gpu"

Copy/paste error? bsp-ti_6.12 vs. bsp-next


> +
>  # ==========
>  # ti-6_6
>  # TI staging kernel 6.6, u-boot 2024.04
> @@ -42,7 +55,7 @@ MACHINE_FEATURES:remove:bsp-next = "gpu"
>  BSP_KERNEL_PROVIDER:bsp-ti-6_6 = "linux-ti-staging"
>  BSP_KERNEL_VERSION:bsp-ti-6_6 = "6.6%"
>  BSP_BOOTLOADER_PROVIDER:bsp-ti-6_6 = "u-boot-ti-staging"
> -BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024%"
> +BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024.04%"
>  
>  # Only Rogue is enabled so far, SGX falls back to SW rendering
>  BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-img-rogue-driver"
> -- 
> 2.17.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [meta-ti][master/scarthgap][PATCH 3/4] ti-bsp: Add ti-6_12
  2024-10-08 19:55   ` Denys Dmytriyenko
@ 2024-10-08 19:57     ` Ryan Eatmon
  0 siblings, 0 replies; 13+ messages in thread
From: Ryan Eatmon @ 2024-10-08 19:57 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: Praneeth Bajjuri, Denys Dmytriyenko, meta-ti



On 10/8/2024 2:55 PM, Denys Dmytriyenko wrote:
> On Fri, Oct 04, 2024 at 10:18:56AM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
>> Add new BSP for the 6.12 kernel and u-boot 2024.10 versions.
>>
>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>> ---
>>   meta-ti-bsp/conf/machine/include/ti-bsp.inc | 15 ++++++++++++++-
>>   1 file changed, 14 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta-ti-bsp/conf/machine/include/ti-bsp.inc b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
>> index 33611689..9a15e164 100644
>> --- a/meta-ti-bsp/conf/machine/include/ti-bsp.inc
>> +++ b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
>> @@ -35,6 +35,19 @@ BSP_BOOTLOADER_VERSION:bsp-next = "%"
>>   # in next, usually present in TI staging or derivative like BB.org
>>   MACHINE_FEATURES:remove:bsp-next = "gpu"
>>   
>> +# ==========
>> +# ti-6_12
>> +# TI staging kernel 6.12, u-boot 2024.10
>> +# ==========
>> +BSP_KERNEL_PROVIDER:bsp-ti-6_12 = "linux-ti-staging"
>> +BSP_KERNEL_VERSION:bsp-ti-6_12 = "6.12%"
>> +BSP_BOOTLOADER_PROVIDER:bsp-ti-6_12 = "u-boot-ti-staging"
>> +BSP_BOOTLOADER_VERSION:bsp-ti-6_12 = "2024.10%"
>> +
>> +# GPU support requires out-of-tree SGX and Rogue drivers not available
>> +# in 6.12 yet
>> +MACHINE_FEATURES:remove:bsp-next = "gpu"
> 
> Copy/paste error? bsp-ti_6.12 vs. bsp-next

Yes.  I'll fix that.


> 
>> +
>>   # ==========
>>   # ti-6_6
>>   # TI staging kernel 6.6, u-boot 2024.04
>> @@ -42,7 +55,7 @@ MACHINE_FEATURES:remove:bsp-next = "gpu"
>>   BSP_KERNEL_PROVIDER:bsp-ti-6_6 = "linux-ti-staging"
>>   BSP_KERNEL_VERSION:bsp-ti-6_6 = "6.6%"
>>   BSP_BOOTLOADER_PROVIDER:bsp-ti-6_6 = "u-boot-ti-staging"
>> -BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024%"
>> +BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024.04%"
>>   
>>   # Only Rogue is enabled so far, SGX falls back to SW rendering
>>   BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-img-rogue-driver"
>> -- 
>> 2.17.1

-- 
Ryan Eatmon                reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe
  2024-10-04 15:18 [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe Ryan Eatmon
                   ` (2 preceding siblings ...)
  2024-10-04 15:18 ` [meta-ti][master/scarthgap][PATCH 4/4] debugss-module-drv: Add patch for kernel 6.11 change Ryan Eatmon
@ 2024-10-08 19:58 ` Denys Dmytriyenko
  2024-10-08 20:50   ` Ryan Eatmon
  2025-12-19 17:31 ` Romain Naour
  4 siblings, 1 reply; 13+ messages in thread
From: Denys Dmytriyenko @ 2024-10-08 19:58 UTC (permalink / raw)
  To: reatmon; +Cc: Praneeth Bajjuri, Denys Dmytriyenko, meta-ti

This might have been easier to review with --find-copies-harder flag...

And I was wondering if setting KERNEL_PATCHES would be cleaner in the 
corresponding recipes, instead of globally in ti-kernel.inc?


On Fri, Oct 04, 2024 at 10:18:54AM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
> Adding needed recipes for initial testing and development of the 6.12
> kernel for the next LTS.
> 
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
>  .../linux/linux-ti-staging-6.12/defconfig     |  2 +
>  .../linux/linux-ti-staging-6.12/k3/defconfig  |  2 +
>  .../linux-ti-staging-6.12/omapl138/defconfig  |  1 +
>  .../linux-ti-staging-6.12/ti33x/defconfig     |  2 +
>  .../linux-ti-staging-6.12/ti43x/defconfig     |  2 +
>  .../linux/linux-ti-staging-rt-6.12/defconfig  |  2 +
>  .../linux-ti-staging-rt-6.12/k3/defconfig     |  2 +
>  .../omapl138/defconfig                        |  2 +
>  .../linux-ti-staging-rt-6.12/ti33x/defconfig  |  2 +
>  .../linux-ti-staging-rt-6.12/ti43x/defconfig  |  2 +
>  .../linux/linux-ti-staging-rt_6.12.bb         |  9 +++++
>  .../linux-ti-staging-systest-6.12/defconfig   |  2 +
>  .../k3/defconfig                              |  2 +
>  .../omapl138/defconfig                        |  1 +
>  .../linux/linux-ti-staging-systest_6.12.bb    |  7 ++++
>  .../linux/linux-ti-staging_6.12.bb            | 40 +++++++++++++++++++
>  .../recipes-kernel/linux/ti-kernel.inc        |  4 ++
>  17 files changed, 84 insertions(+)
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/defconfig
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/k3/defconfig
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/omapl138/defconfig
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti33x/defconfig
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti43x/defconfig
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/defconfig
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/k3/defconfig
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/omapl138/defconfig
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti33x/defconfig
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti43x/defconfig
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/defconfig
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/k3/defconfig
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/omapl138/defconfig
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.12.bb
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb
> 
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/defconfig
> new file mode 100644
> index 00000000..9d579e41
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/defconfig
> @@ -0,0 +1,2 @@
> +use-kernel-config=multi_v7_defconfig
> +config-fragment=
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/k3/defconfig
> new file mode 100644
> index 00000000..fd07b34e
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/k3/defconfig
> @@ -0,0 +1,2 @@
> +use-kernel-config=defconfig
> +config-fragment=
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/omapl138/defconfig
> new file mode 100644
> index 00000000..099493af
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/omapl138/defconfig
> @@ -0,0 +1 @@
> +use-kernel-config=davinci_all_defconfig
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti33x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti33x/defconfig
> new file mode 100644
> index 00000000..9d579e41
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti33x/defconfig
> @@ -0,0 +1,2 @@
> +use-kernel-config=multi_v7_defconfig
> +config-fragment=
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti43x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti43x/defconfig
> new file mode 100644
> index 00000000..9d579e41
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti43x/defconfig
> @@ -0,0 +1,2 @@
> +use-kernel-config=multi_v7_defconfig
> +config-fragment=
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/defconfig
> new file mode 100644
> index 00000000..9d579e41
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/defconfig
> @@ -0,0 +1,2 @@
> +use-kernel-config=multi_v7_defconfig
> +config-fragment=
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/k3/defconfig
> new file mode 100644
> index 00000000..fd07b34e
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/k3/defconfig
> @@ -0,0 +1,2 @@
> +use-kernel-config=defconfig
> +config-fragment=
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/omapl138/defconfig
> new file mode 100644
> index 00000000..3d890b6e
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/omapl138/defconfig
> @@ -0,0 +1,2 @@
> +use-kernel-config=davinci_all_defconfig
> +config-fragment=
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti33x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti33x/defconfig
> new file mode 100644
> index 00000000..9d579e41
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti33x/defconfig
> @@ -0,0 +1,2 @@
> +use-kernel-config=multi_v7_defconfig
> +config-fragment=
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti43x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti43x/defconfig
> new file mode 100644
> index 00000000..9d579e41
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti43x/defconfig
> @@ -0,0 +1,2 @@
> +use-kernel-config=multi_v7_defconfig
> +config-fragment=
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
> new file mode 100644
> index 00000000..9e5c4ee4
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
> @@ -0,0 +1,9 @@
> +require linux-ti-staging_6.12.bb
> +
> +KERNEL_LOCALVERSION:append = "-rt"
> +
> +# Look in the generic major.minor directory for files
> +# This will have priority over generic non-rt path
> +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
> +
> +include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/defconfig
> new file mode 100644
> index 00000000..9d579e41
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/defconfig
> @@ -0,0 +1,2 @@
> +use-kernel-config=multi_v7_defconfig
> +config-fragment=
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/k3/defconfig
> new file mode 100644
> index 00000000..fd07b34e
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/k3/defconfig
> @@ -0,0 +1,2 @@
> +use-kernel-config=defconfig
> +config-fragment=
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/omapl138/defconfig
> new file mode 100644
> index 00000000..099493af
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/omapl138/defconfig
> @@ -0,0 +1 @@
> +use-kernel-config=davinci_all_defconfig
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.12.bb
> new file mode 100644
> index 00000000..8ce23368
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.12.bb
> @@ -0,0 +1,7 @@
> +require linux-ti-staging_6.12.bb
> +
> +DEFAULT_PREFERENCE = "-1"
> +
> +# Look in the generic major.minor directory for files
> +# This will have priority over generic non-rt path
> +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb
> new file mode 100644
> index 00000000..f6f8732b
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb
> @@ -0,0 +1,40 @@
> +SECTION = "kernel"
> +SUMMARY = "Linux kernel for TI devices"
> +LICENSE = "GPL-2.0-only"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
> +
> +inherit ti-secdev
> +inherit kernel
> +
> +DEFAULT_PREFERENCE = "-1"
> +
> +require recipes-kernel/linux/setup-defconfig.inc
> +require recipes-kernel/linux/ti-kernel.inc
> +include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
> +include ${@ 'recipes-kernel/linux/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
> +
> +DEPENDS += "gmp-native libmpc-native"
> +
> +# Look in the generic major.minor directory for files
> +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
> +
> +KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
> +		      ${EXTRA_DTC_ARGS}"
> +
> +S = "${WORKDIR}/git"
> +
> +BRANCH ?= "ti-linux-6.12.y"
> +
> +SRCREV ?= "9852d85ec9d492ebef56dc5f229416c925758edc"
> +PV = "6.12-rc1+git"
> +
> +KERNEL_GIT_URI ?= "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
> +KERNEL_GIT_PROTOCOL = "https"
> +SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
> +            file://defconfig"
> +
> +# Special configuration for remoteproc/rpmsg IPC modules
> +module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
> +module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus"
> +module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
> +KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
> diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
> index 4bcbc27e..09cfdb12 100644
> --- a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
> +++ b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
> @@ -20,6 +20,10 @@ KERNEL_PATCHES:bsp-mainline = " \
>      file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \
>  "
>  
> +KERNEL_PATCHES:bsp-ti-6_12 = " \
> +    file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \
> +"
> +
>  KERNEL_PATCHES:bsp-ti-6_6 = " \
>      file://0001-vt-conmakehash-improve-reproducibility.patch \
>  "
> -- 
> 2.17.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [meta-ti][master/scarthgap][PATCH 2/4] u-boot-ti-staging: Add v2024.10 recipe
  2024-10-04 15:18 ` [meta-ti][master/scarthgap][PATCH 2/4] u-boot-ti-staging: Add v2024.10 recipe Ryan Eatmon
@ 2024-10-08 19:59   ` Denys Dmytriyenko
  0 siblings, 0 replies; 13+ messages in thread
From: Denys Dmytriyenko @ 2024-10-08 19:59 UTC (permalink / raw)
  To: reatmon; +Cc: Praneeth Bajjuri, Denys Dmytriyenko, meta-ti

Same comment with --find-copies-harder, although the recipe itself is quite 
smalle, so the diff could even be larger...


On Fri, Oct 04, 2024 at 10:18:55AM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
> Adding needed recipe for initial testing and development of the 2024.10
> version of u-boot for the next LTS.
> 
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
>  .../recipes-bsp/u-boot/u-boot-ti-staging_2024.10.bb   | 11 +++++++++++
>  meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc          |  3 +++
>  2 files changed, 14 insertions(+)
>  create mode 100644 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.10.bb
> 
> diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.10.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.10.bb
> new file mode 100644
> index 00000000..1ab94fcc
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.10.bb
> @@ -0,0 +1,11 @@
> +require u-boot-ti.inc
> +
> +DEFAULT_PREFERENCE = "-1"
> +
> +include ${@ 'recipes-bsp/u-boot/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
> +
> +PR = "r0"
> +
> +BRANCH = "ti-u-boot-2024.10"
> +
> +SRCREV = "c97ada2dc66934ee00a7a03d9ed078bdfb7b4039"
> diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
> index e1f1972e..97237d66 100644
> --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
> +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
> @@ -26,6 +26,9 @@ SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};branch=${BRANCH}"
>  
>  PV:append = "+git"
>  
> +# u-boot builds a tool mkeficapsule and it needs this
> +DEPENDS += "gnutls-native"

Is this specific to 2024.10? Should it be added in the recipe, not .inc?


> +
>  # u-boot needs devtree compiler to parse dts files
>  DEPENDS += "dtc-native bc-native flex-native bison-native python3-setuptools-native"
>  
> -- 
> 2.17.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe
  2024-10-08 19:58 ` [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe Denys Dmytriyenko
@ 2024-10-08 20:50   ` Ryan Eatmon
  0 siblings, 0 replies; 13+ messages in thread
From: Ryan Eatmon @ 2024-10-08 20:50 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: Praneeth Bajjuri, Denys Dmytriyenko, meta-ti



On 10/8/2024 2:58 PM, Denys Dmytriyenko wrote:
> This might have been easier to review with --find-copies-harder flag...
> 
> And I was wondering if setting KERNEL_PATCHES would be cleaner in the
> corresponding recipes, instead of globally in ti-kernel.inc?

It might be.  I'll look into it and send another patch to clean it up if 
it makes sense.


> 
> On Fri, Oct 04, 2024 at 10:18:54AM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
>> Adding needed recipes for initial testing and development of the 6.12
>> kernel for the next LTS.
>>
>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>> ---
>>   .../linux/linux-ti-staging-6.12/defconfig     |  2 +
>>   .../linux/linux-ti-staging-6.12/k3/defconfig  |  2 +
>>   .../linux-ti-staging-6.12/omapl138/defconfig  |  1 +
>>   .../linux-ti-staging-6.12/ti33x/defconfig     |  2 +
>>   .../linux-ti-staging-6.12/ti43x/defconfig     |  2 +
>>   .../linux/linux-ti-staging-rt-6.12/defconfig  |  2 +
>>   .../linux-ti-staging-rt-6.12/k3/defconfig     |  2 +
>>   .../omapl138/defconfig                        |  2 +
>>   .../linux-ti-staging-rt-6.12/ti33x/defconfig  |  2 +
>>   .../linux-ti-staging-rt-6.12/ti43x/defconfig  |  2 +
>>   .../linux/linux-ti-staging-rt_6.12.bb         |  9 +++++
>>   .../linux-ti-staging-systest-6.12/defconfig   |  2 +
>>   .../k3/defconfig                              |  2 +
>>   .../omapl138/defconfig                        |  1 +
>>   .../linux/linux-ti-staging-systest_6.12.bb    |  7 ++++
>>   .../linux/linux-ti-staging_6.12.bb            | 40 +++++++++++++++++++
>>   .../recipes-kernel/linux/ti-kernel.inc        |  4 ++
>>   17 files changed, 84 insertions(+)
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/defconfig
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/k3/defconfig
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/omapl138/defconfig
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti33x/defconfig
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti43x/defconfig
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/defconfig
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/k3/defconfig
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/omapl138/defconfig
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti33x/defconfig
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti43x/defconfig
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/defconfig
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/k3/defconfig
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/omapl138/defconfig
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.12.bb
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb
>>
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/defconfig
>> new file mode 100644
>> index 00000000..9d579e41
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/defconfig
>> @@ -0,0 +1,2 @@
>> +use-kernel-config=multi_v7_defconfig
>> +config-fragment=
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/k3/defconfig
>> new file mode 100644
>> index 00000000..fd07b34e
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/k3/defconfig
>> @@ -0,0 +1,2 @@
>> +use-kernel-config=defconfig
>> +config-fragment=
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/omapl138/defconfig
>> new file mode 100644
>> index 00000000..099493af
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/omapl138/defconfig
>> @@ -0,0 +1 @@
>> +use-kernel-config=davinci_all_defconfig
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti33x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti33x/defconfig
>> new file mode 100644
>> index 00000000..9d579e41
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti33x/defconfig
>> @@ -0,0 +1,2 @@
>> +use-kernel-config=multi_v7_defconfig
>> +config-fragment=
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti43x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti43x/defconfig
>> new file mode 100644
>> index 00000000..9d579e41
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.12/ti43x/defconfig
>> @@ -0,0 +1,2 @@
>> +use-kernel-config=multi_v7_defconfig
>> +config-fragment=
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/defconfig
>> new file mode 100644
>> index 00000000..9d579e41
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/defconfig
>> @@ -0,0 +1,2 @@
>> +use-kernel-config=multi_v7_defconfig
>> +config-fragment=
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/k3/defconfig
>> new file mode 100644
>> index 00000000..fd07b34e
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/k3/defconfig
>> @@ -0,0 +1,2 @@
>> +use-kernel-config=defconfig
>> +config-fragment=
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/omapl138/defconfig
>> new file mode 100644
>> index 00000000..3d890b6e
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/omapl138/defconfig
>> @@ -0,0 +1,2 @@
>> +use-kernel-config=davinci_all_defconfig
>> +config-fragment=
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti33x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti33x/defconfig
>> new file mode 100644
>> index 00000000..9d579e41
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti33x/defconfig
>> @@ -0,0 +1,2 @@
>> +use-kernel-config=multi_v7_defconfig
>> +config-fragment=
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti43x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti43x/defconfig
>> new file mode 100644
>> index 00000000..9d579e41
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.12/ti43x/defconfig
>> @@ -0,0 +1,2 @@
>> +use-kernel-config=multi_v7_defconfig
>> +config-fragment=
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
>> new file mode 100644
>> index 00000000..9e5c4ee4
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
>> @@ -0,0 +1,9 @@
>> +require linux-ti-staging_6.12.bb
>> +
>> +KERNEL_LOCALVERSION:append = "-rt"
>> +
>> +# Look in the generic major.minor directory for files
>> +# This will have priority over generic non-rt path
>> +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
>> +
>> +include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/defconfig
>> new file mode 100644
>> index 00000000..9d579e41
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/defconfig
>> @@ -0,0 +1,2 @@
>> +use-kernel-config=multi_v7_defconfig
>> +config-fragment=
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/k3/defconfig
>> new file mode 100644
>> index 00000000..fd07b34e
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/k3/defconfig
>> @@ -0,0 +1,2 @@
>> +use-kernel-config=defconfig
>> +config-fragment=
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/omapl138/defconfig
>> new file mode 100644
>> index 00000000..099493af
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.12/omapl138/defconfig
>> @@ -0,0 +1 @@
>> +use-kernel-config=davinci_all_defconfig
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.12.bb
>> new file mode 100644
>> index 00000000..8ce23368
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.12.bb
>> @@ -0,0 +1,7 @@
>> +require linux-ti-staging_6.12.bb
>> +
>> +DEFAULT_PREFERENCE = "-1"
>> +
>> +# Look in the generic major.minor directory for files
>> +# This will have priority over generic non-rt path
>> +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb
>> new file mode 100644
>> index 00000000..f6f8732b
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb
>> @@ -0,0 +1,40 @@
>> +SECTION = "kernel"
>> +SUMMARY = "Linux kernel for TI devices"
>> +LICENSE = "GPL-2.0-only"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
>> +
>> +inherit ti-secdev
>> +inherit kernel
>> +
>> +DEFAULT_PREFERENCE = "-1"
>> +
>> +require recipes-kernel/linux/setup-defconfig.inc
>> +require recipes-kernel/linux/ti-kernel.inc
>> +include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
>> +include ${@ 'recipes-kernel/linux/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
>> +
>> +DEPENDS += "gmp-native libmpc-native"
>> +
>> +# Look in the generic major.minor directory for files
>> +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
>> +
>> +KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
>> +		      ${EXTRA_DTC_ARGS}"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +BRANCH ?= "ti-linux-6.12.y"
>> +
>> +SRCREV ?= "9852d85ec9d492ebef56dc5f229416c925758edc"
>> +PV = "6.12-rc1+git"
>> +
>> +KERNEL_GIT_URI ?= "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
>> +KERNEL_GIT_PROTOCOL = "https"
>> +SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
>> +            file://defconfig"
>> +
>> +# Special configuration for remoteproc/rpmsg IPC modules
>> +module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
>> +module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus"
>> +module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
>> +KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
>> index 4bcbc27e..09cfdb12 100644
>> --- a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
>> +++ b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
>> @@ -20,6 +20,10 @@ KERNEL_PATCHES:bsp-mainline = " \
>>       file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \
>>   "
>>   
>> +KERNEL_PATCHES:bsp-ti-6_12 = " \
>> +    file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \
>> +"
>> +
>>   KERNEL_PATCHES:bsp-ti-6_6 = " \
>>       file://0001-vt-conmakehash-improve-reproducibility.patch \
>>   "
>> -- 
>> 2.17.1

-- 
Ryan Eatmon                reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe
  2024-10-04 15:18 [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe Ryan Eatmon
                   ` (3 preceding siblings ...)
  2024-10-08 19:58 ` [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe Denys Dmytriyenko
@ 2025-12-19 17:31 ` Romain Naour
  2025-12-19 20:58   ` Bajjuri, Praneeth
  4 siblings, 1 reply; 13+ messages in thread
From: Romain Naour @ 2025-12-19 17:31 UTC (permalink / raw)
  To: reatmon, Praneeth Bajjuri, Denys Dmytriyenko, meta-ti

Hello,

Le 04/10/2024 à 17:18, Ryan Eatmon via lists.yoctoproject.org a écrit :
> Adding needed recipes for initial testing and development of the 6.12
> kernel for the next LTS.
> 
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
...
>  .../linux/linux-ti-staging-rt_6.12.bb         |  9 +++++
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
...
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
> new file mode 100644
> index 00000000..9e5c4ee4
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
> @@ -0,0 +1,9 @@
> +require linux-ti-staging_6.12.bb
> +
> +KERNEL_LOCALVERSION:append = "-rt"
> +
> +# Look in the generic major.minor directory for files
> +# This will have priority over generic non-rt path
> +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"

Previous linux-ti-staging-rt recipes [1] used a specific branch
"ti-rt-linux-6.1.y" obtained by merging the TI vendor "ti-linux-6.1.y" branch
and the preempt-rt v6.1-rt branch [2].

  BRANCH = "ti-rt-linux-6.1.y"

Since preempt-rt is now merged in the kernel 6.12, indeed we can use the same
kernel sources with a specific configuration fragment (hence there is no
ti-rt-linux-6.12.y [3]).

But the preempt-rt project still maintain a v6.12-rt branch with all remaining
patches [4]. Actually the project still recommend to apply the latest PREEMPT_RT
patches [5].

Should the linux-ti-staging-rt recipe follow the preempt-rt stable branch as before?

Porting existing project (kirkstone 6.1 -> scarthgap 6.12) using
linux-ti-staging-rt recipe, users may expect that this recipe still use the
preempt-rt stable branch.

Thoughts?

[1]
https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb?h=kirkstone#n9
[2]
https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v6.1-rt
[3] https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel
[4]
https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v6.12-rt
[5] https://realtime-linux.org/getting-started-with-preempt_rt-guide/

Best regards,
Romain


> +
> +include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe
  2025-12-19 17:31 ` Romain Naour
@ 2025-12-19 20:58   ` Bajjuri, Praneeth
  2025-12-22 11:34     ` Romain Naour
  0 siblings, 1 reply; 13+ messages in thread
From: Bajjuri, Praneeth @ 2025-12-19 20:58 UTC (permalink / raw)
  To: Romain Naour, reatmon, Denys Dmytriyenko, meta-ti, Bryan Brattlof

Hi Romain,

On 12/19/2025 11:31 AM, Romain Naour wrote:
> Hello,
> 
> Le 04/10/2024 à 17:18, Ryan Eatmon via lists.yoctoproject.org a écrit :
>> Adding needed recipes for initial testing and development of the 6.12
>> kernel for the next LTS.
>>
>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>> ---
> ...
>>   .../linux/linux-ti-staging-rt_6.12.bb         |  9 +++++
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
> ...
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
>> new file mode 100644
>> index 00000000..9e5c4ee4
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
>> @@ -0,0 +1,9 @@
>> +require linux-ti-staging_6.12.bb
>> +
>> +KERNEL_LOCALVERSION:append = "-rt"
>> +
>> +# Look in the generic major.minor directory for files
>> +# This will have priority over generic non-rt path
>> +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
> 
> Previous linux-ti-staging-rt recipes [1] used a specific branch
> "ti-rt-linux-6.1.y" obtained by merging the TI vendor "ti-linux-6.1.y" branch
> and the preempt-rt v6.1-rt branch [2].
> 
>    BRANCH = "ti-rt-linux-6.1.y"
> 
> Since preempt-rt is now merged in the kernel 6.12, indeed we can use the same
> kernel sources with a specific configuration fragment (hence there is no
> ti-rt-linux-6.12.y [3]).
> 
> But the preempt-rt project still maintain a v6.12-rt branch with all remaining
> patches [4]. Actually the project still recommend to apply the latest PREEMPT_RT
> patches [5].
> 
> Should the linux-ti-staging-rt recipe follow the preempt-rt stable branch as before?
> 
> Porting existing project (kirkstone 6.1 -> scarthgap 6.12) using
> linux-ti-staging-rt recipe, users may expect that this recipe still use the
> preempt-rt stable branch.
> 
> Thoughts?

Indeed when we started 6.12 LTS baseline migration, Since PREEMPT_RT is 
part of mainline we have started using a unified kernel branch ( With 
config fragment switch) to build RT and non RT baselines.

The preempt-rt project didnt have a 6.12 branch till august in the year at
https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/

The development and hosting of v6.12-rt including additional on the fly 
features is something new and i hope it continue with next LTS (6.18 as 
well)

As you can see with 
https://patchwork.yoctoproject.org/project/ti/list/?series=41242 , we 
are in process of switching development with master and next LTS yocto 
to 6.18 baseline and we are assessing how and if RT need to be 
maintained as linux-ti-staging-rt-6.18 recipe based on the feature 
differences in v6.18-rt vs mainline kernel.

6.12 combination with scarthgap is in maintenance mode at this moment.
The evaluation of linux-ti-staging-rt moving forward will be for master 
and wrynose in 2026.


> 
> [1]
> https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb?h=kirkstone#n9
> [2]
> https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v6.1-rt
> [3] https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel
> [4]
> https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v6.12-rt
> [5] https://realtime-linux.org/getting-started-with-preempt_rt-guide/
> 
> Best regards,
> Romain
> 
> 
>> +
>> +include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe
  2025-12-19 20:58   ` Bajjuri, Praneeth
@ 2025-12-22 11:34     ` Romain Naour
  2025-12-22 19:39       ` Bajjuri, Praneeth
  0 siblings, 1 reply; 13+ messages in thread
From: Romain Naour @ 2025-12-22 11:34 UTC (permalink / raw)
  To: Bajjuri, Praneeth, reatmon, Denys Dmytriyenko, meta-ti,
	Bryan Brattlof

Hello Bajjuri,

Le 19/12/2025 à 21:58, Bajjuri, Praneeth a écrit :
> Hi Romain,
> 
> On 12/19/2025 11:31 AM, Romain Naour wrote:
>> Hello,
>>
>> Le 04/10/2024 à 17:18, Ryan Eatmon via lists.yoctoproject.org a écrit :
>>> Adding needed recipes for initial testing and development of the 6.12
>>> kernel for the next LTS.
>>>
>>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>>> ---
>> ...
>>>   .../linux/linux-ti-staging-rt_6.12.bb         |  9 +++++
>>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-
>>> rt_6.12.bb
>> ...
>>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb b/
>>> meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
>>> new file mode 100644
>>> index 00000000..9e5c4ee4
>>> --- /dev/null
>>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
>>> @@ -0,0 +1,9 @@
>>> +require linux-ti-staging_6.12.bb
>>> +
>>> +KERNEL_LOCALVERSION:append = "-rt"
>>> +
>>> +# Look in the generic major.minor directory for files
>>> +# This will have priority over generic non-rt path
>>> +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
>>
>> Previous linux-ti-staging-rt recipes [1] used a specific branch
>> "ti-rt-linux-6.1.y" obtained by merging the TI vendor "ti-linux-6.1.y" branch
>> and the preempt-rt v6.1-rt branch [2].
>>
>>    BRANCH = "ti-rt-linux-6.1.y"
>>
>> Since preempt-rt is now merged in the kernel 6.12, indeed we can use the same
>> kernel sources with a specific configuration fragment (hence there is no
>> ti-rt-linux-6.12.y [3]).
>>
>> But the preempt-rt project still maintain a v6.12-rt branch with all remaining
>> patches [4]. Actually the project still recommend to apply the latest PREEMPT_RT
>> patches [5].
>>
>> Should the linux-ti-staging-rt recipe follow the preempt-rt stable branch as
>> before?
>>
>> Porting existing project (kirkstone 6.1 -> scarthgap 6.12) using
>> linux-ti-staging-rt recipe, users may expect that this recipe still use the
>> preempt-rt stable branch.
>>
>> Thoughts?
> 
> Indeed when we started 6.12 LTS baseline migration, Since PREEMPT_RT is part of
> mainline we have started using a unified kernel branch ( With config fragment
> switch) to build RT and non RT baselines.
> 
> The preempt-rt project didnt have a 6.12 branch till august in the year at
> https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/
> 
> The development and hosting of v6.12-rt including additional on the fly features
> is something new and i hope it continue with next LTS (6.18 as well)

Preempt-rt issues are fixed over the time, especially for the 6.12 kernel since
it's the first release with preempt-rt included. But Preempt-rt specific changes
might be too risky to backport to linux-stable branches. We can hope that
v6.18-rt will never exist but who knows...

In other hand, it's only a few dozen of commits (as of today), some of them not
related to TI SoCs.

> 
> As you can see with https://patchwork.yoctoproject.org/project/ti/list/?
> series=41242 , we are in process of switching development with master and next
> LTS yocto to 6.18 baseline and we are assessing how and if RT need to be
> maintained as linux-ti-staging-rt-6.18 recipe based on the feature differences
> in v6.18-rt vs mainline kernel.

The linux-ti-staging-6.18 is too recent, some TI specific changes (like the
DMA-BUF support in remoteproc) is not yet rebased:

https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/drivers/remoteproc/remoteproc_cdev.c?h=ti-linux-6.12.y&id=3119d723957038270225867130678d76081dee0c

> 
> 6.12 combination with scarthgap is in maintenance mode at this moment.

Ok.

> The evaluation of linux-ti-staging-rt moving forward will be for master and
> wrynose in 2026.

kernel 6.18 was released only few weeks ago (uboot 2026.01 is not released yet)

We will consider switching to Wrynose as soons as the TI-SDK will be released.

Best regards,
Romain

> 
> 
>>
>> [1]
>> https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-kernel/linux/
>> linux-ti-staging-rt_6.1.bb?h=kirkstone#n9
>> [2]
>> https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?
>> h=v6.1-rt
>> [3] https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel
>> [4]
>> https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?
>> h=v6.12-rt
>> [5] https://realtime-linux.org/getting-started-with-preempt_rt-guide/
>>
>> Best regards,
>> Romain
>>
>>
>>> +
>>> +include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS')
>>> else ''}



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe
  2025-12-22 11:34     ` Romain Naour
@ 2025-12-22 19:39       ` Bajjuri, Praneeth
  0 siblings, 0 replies; 13+ messages in thread
From: Bajjuri, Praneeth @ 2025-12-22 19:39 UTC (permalink / raw)
  To: Romain Naour, reatmon, Denys Dmytriyenko, meta-ti, Bryan Brattlof



On 12/22/2025 5:34 AM, Romain Naour wrote:
> Hello Bajjuri,
> 
> Le 19/12/2025 à 21:58, Bajjuri, Praneeth a écrit :
>> Hi Romain,
>>
>> On 12/19/2025 11:31 AM, Romain Naour wrote:
>>> Hello,
>>>
>>> Le 04/10/2024 à 17:18, Ryan Eatmon via lists.yoctoproject.org a écrit :
>>>> Adding needed recipes for initial testing and development of the 6.12
>>>> kernel for the next LTS.
>>>>
>>>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>>>> ---
>>> ...
>>>>    .../linux/linux-ti-staging-rt_6.12.bb         |  9 +++++
>>>>    create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-
>>>> rt_6.12.bb
>>> ...
>>>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb b/
>>>> meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
>>>> new file mode 100644
>>>> index 00000000..9e5c4ee4
>>>> --- /dev/null
>>>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
>>>> @@ -0,0 +1,9 @@
>>>> +require linux-ti-staging_6.12.bb
>>>> +
>>>> +KERNEL_LOCALVERSION:append = "-rt"
>>>> +
>>>> +# Look in the generic major.minor directory for files
>>>> +# This will have priority over generic non-rt path
>>>> +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
>>>
>>> Previous linux-ti-staging-rt recipes [1] used a specific branch
>>> "ti-rt-linux-6.1.y" obtained by merging the TI vendor "ti-linux-6.1.y" branch
>>> and the preempt-rt v6.1-rt branch [2].
>>>
>>>     BRANCH = "ti-rt-linux-6.1.y"
>>>
>>> Since preempt-rt is now merged in the kernel 6.12, indeed we can use the same
>>> kernel sources with a specific configuration fragment (hence there is no
>>> ti-rt-linux-6.12.y [3]).
>>>
>>> But the preempt-rt project still maintain a v6.12-rt branch with all remaining
>>> patches [4]. Actually the project still recommend to apply the latest PREEMPT_RT
>>> patches [5].
>>>
>>> Should the linux-ti-staging-rt recipe follow the preempt-rt stable branch as
>>> before?
>>>
>>> Porting existing project (kirkstone 6.1 -> scarthgap 6.12) using
>>> linux-ti-staging-rt recipe, users may expect that this recipe still use the
>>> preempt-rt stable branch.
>>>
>>> Thoughts?
>>
>> Indeed when we started 6.12 LTS baseline migration, Since PREEMPT_RT is part of
>> mainline we have started using a unified kernel branch ( With config fragment
>> switch) to build RT and non RT baselines.
>>
>> The preempt-rt project didnt have a 6.12 branch till august in the year at
>> https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/
>>
>> The development and hosting of v6.12-rt including additional on the fly features
>> is something new and i hope it continue with next LTS (6.18 as well)
> 
> Preempt-rt issues are fixed over the time, especially for the 6.12 kernel since
> it's the first release with preempt-rt included.

Yes , But the fixes should be going thru the v6.12 stable tree IMO and 
v6.18 stable as well moving forward.


  But Preempt-rt specific changes
> might be too risky to backport to linux-stable branches. We can hope that
> v6.18-rt will never exist but who knows...

I hope the same as well. The other reason we are monitoring v6.18-rt is 
for arm32 platform support to mainline
Reading FWIW : 
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1578136/am4378-support-status-of-am4378-soc 


> 
> In other hand, it's only a few dozen of commits (as of today), some of them not
> related to TI SoCs.
>

Agreed, We are evaluating these fixes and will bring up with real time 
linux and keep you posted here once analysis is completed.
FYI : TI is a member for RT Linux https://realtime-linux.org/membership/

>>
>> As you can see with https://patchwork.yoctoproject.org/project/ti/list/?
>> series=41242 , we are in process of switching development with master and next
>> LTS yocto to 6.18 baseline and we are assessing how and if RT need to be
>> maintained as linux-ti-staging-rt-6.18 recipe based on the feature differences
>> in v6.18-rt vs mainline kernel.
> 
> The linux-ti-staging-6.18 is too recent, some TI specific changes (like the
> DMA-BUF support in remoteproc) is not yet rebased:
> 
> https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/drivers/remoteproc/remoteproc_cdev.c?h=ti-linux-6.12.y&id=3119d723957038270225867130678d76081dee0c

Yes, We have just started LTS Migration process and will migrate all 
features/drivers from January to 
https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?h=ti-linux-6.18.y 
(Including the remoteproc changes you mentioned)


> 
>>
>> 6.12 combination with scarthgap is in maintenance mode at this moment.
> 
> Ok.
> 
>> The evaluation of linux-ti-staging-rt moving forward will be for master and
>> wrynose in 2026.
> 
> kernel 6.18 was released only few weeks ago (uboot 2026.01 is not released yet)

for uboot, currently pulling the latest rc tag to 
https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?h=ti-u-boot-2026.01 , 
But the plan is to pull till final 2026.01 tag is made and then port the 
delta patches from upstream backport and ti-u-boot-2025.01 branches.


> 
> We will consider switching to Wrynose as soons as the TI-SDK will be released.

Thank you that will be good. Till Wrynose is tagged, We will continue to 
use Yocto master with 6.18 and 2026.01 branches for migration effort.


> 
> Best regards,
> Romain
> 
>>
>>
>>>
>>> [1]
>>> https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-kernel/linux/
>>> linux-ti-staging-rt_6.1.bb?h=kirkstone#n9
>>> [2]
>>> https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?
>>> h=v6.1-rt
>>> [3] https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel
>>> [4]
>>> https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?
>>> h=v6.12-rt
>>> [5] https://realtime-linux.org/getting-started-with-preempt_rt-guide/
>>>
>>> Best regards,
>>> Romain
>>>
>>>
>>>> +
>>>> +include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS')
>>>> else ''}
> 


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-12-22 19:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-04 15:18 [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe Ryan Eatmon
2024-10-04 15:18 ` [meta-ti][master/scarthgap][PATCH 2/4] u-boot-ti-staging: Add v2024.10 recipe Ryan Eatmon
2024-10-08 19:59   ` Denys Dmytriyenko
2024-10-04 15:18 ` [meta-ti][master/scarthgap][PATCH 3/4] ti-bsp: Add ti-6_12 Ryan Eatmon
2024-10-08 19:55   ` Denys Dmytriyenko
2024-10-08 19:57     ` Ryan Eatmon
2024-10-04 15:18 ` [meta-ti][master/scarthgap][PATCH 4/4] debugss-module-drv: Add patch for kernel 6.11 change Ryan Eatmon
2024-10-08 19:58 ` [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe Denys Dmytriyenko
2024-10-08 20:50   ` Ryan Eatmon
2025-12-19 17:31 ` Romain Naour
2025-12-19 20:58   ` Bajjuri, Praneeth
2025-12-22 11:34     ` Romain Naour
2025-12-22 19:39       ` Bajjuri, Praneeth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.