diff options
author | Ryan Eatmon <reatmon@ti.com> | 2023-12-11 13:24:29 -0600 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2023-12-11 13:28:42 -0600 |
commit | e4d10138db9e41037038029aced0cf7f9bc45238 (patch) | |
tree | d0ea3ad2748689b5327a948dae314530b7911fec /meta-ti-bsp | |
parent | 5fb05dcb31b87b39f793e193f18e095d5fb01184 (diff) | |
download | meta-ti-e4d10138db9e41037038029aced0cf7f9bc45238.tar.gz |
linux-ti-staging: Add 6.6 kernel in prep for LTS migration
We are preparing to migrate our kernel version to 6.6. As we are still
working on the migration, mark the default preference low for this
version. We will enable building with this kernel in a meta-arago brand
in the near future. Once the migration is complete, we will remove the
6.1 kernel and make this the default.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp')
16 files changed, 91 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/defconfig new file mode 100644 index 00000000..24b53cf7 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/defconfig | |||
@@ -0,0 +1,2 @@ | |||
1 | use-kernel-config=multi_v7_defconfig | ||
2 | config-fragment=kernel/configs/ti_multi_v7_prune.config | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/k3/defconfig new file mode 100644 index 00000000..ef1d3efd --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/k3/defconfig | |||
@@ -0,0 +1,2 @@ | |||
1 | use-kernel-config=defconfig | ||
2 | config-fragment=kernel/configs/ti_arm64_prune.config | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/omapl138/defconfig new file mode 100644 index 00000000..099493af --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/omapl138/defconfig | |||
@@ -0,0 +1 @@ | |||
use-kernel-config=davinci_all_defconfig | |||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/ti33x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/ti33x/defconfig new file mode 100644 index 00000000..e6a967e1 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/ti33x/defconfig | |||
@@ -0,0 +1,2 @@ | |||
1 | use-kernel-config=multi_v7_defconfig | ||
2 | config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/no_smp.config | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/ti43x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/ti43x/defconfig new file mode 100644 index 00000000..e6a967e1 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/ti43x/defconfig | |||
@@ -0,0 +1,2 @@ | |||
1 | use-kernel-config=multi_v7_defconfig | ||
2 | config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/no_smp.config | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/defconfig new file mode 100644 index 00000000..43089dc8 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/defconfig | |||
@@ -0,0 +1,2 @@ | |||
1 | use-kernel-config=multi_v7_defconfig | ||
2 | config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/ti_rt.config | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/k3/defconfig new file mode 100644 index 00000000..47d78664 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/k3/defconfig | |||
@@ -0,0 +1,2 @@ | |||
1 | use-kernel-config=defconfig | ||
2 | config-fragment=kernel/configs/ti_arm64_prune.config kernel/configs/ti_rt.config | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/omapl138/defconfig new file mode 100644 index 00000000..2c829c0b --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/omapl138/defconfig | |||
@@ -0,0 +1,2 @@ | |||
1 | use-kernel-config=davinci_all_defconfig | ||
2 | config-fragment=kernel/configs/ti_rt.config | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/ti33x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/ti33x/defconfig new file mode 100644 index 00000000..5de2b229 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/ti33x/defconfig | |||
@@ -0,0 +1,2 @@ | |||
1 | use-kernel-config=multi_v7_defconfig | ||
2 | config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/ti_rt.config kernel/configs/no_smp.config | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/ti43x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/ti43x/defconfig new file mode 100644 index 00000000..5de2b229 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/ti43x/defconfig | |||
@@ -0,0 +1,2 @@ | |||
1 | use-kernel-config=multi_v7_defconfig | ||
2 | config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/ti_rt.config kernel/configs/no_smp.config | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.6.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.6.bb new file mode 100644 index 00000000..4928aa88 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.6.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | require linux-ti-staging_6.6.bb | ||
2 | |||
3 | DEFAULT_PREFERENCE = "-1" | ||
4 | |||
5 | # Look in the generic major.minor directory for files | ||
6 | # This will have priority over generic non-rt path | ||
7 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:" | ||
8 | |||
9 | #BRANCH = "ti-rt-linux-6.6.y" | ||
10 | BRANCH = "ti-linux-6.6.y" | ||
11 | |||
12 | SRCREV = "ffc253263a1375a65fa6c9f62a893e9767fbebfa" | ||
13 | |||
14 | include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''} | ||
15 | |||
16 | PV = "6.6.0+git${SRCPV}" | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/defconfig new file mode 100644 index 00000000..24b53cf7 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/defconfig | |||
@@ -0,0 +1,2 @@ | |||
1 | use-kernel-config=multi_v7_defconfig | ||
2 | config-fragment=kernel/configs/ti_multi_v7_prune.config | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/k3/defconfig new file mode 100644 index 00000000..ef1d3efd --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/k3/defconfig | |||
@@ -0,0 +1,2 @@ | |||
1 | use-kernel-config=defconfig | ||
2 | config-fragment=kernel/configs/ti_arm64_prune.config | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/omapl138/defconfig new file mode 100644 index 00000000..099493af --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/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.6.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.6.bb new file mode 100644 index 00000000..21090904 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.6.bb | |||
@@ -0,0 +1,7 @@ | |||
1 | require linux-ti-staging_6.6.bb | ||
2 | |||
3 | DEFAULT_PREFERENCE = "-1" | ||
4 | |||
5 | # Look in the generic major.minor directory for files | ||
6 | # This will have priority over generic non-rt path | ||
7 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:" | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb new file mode 100644 index 00000000..adc10a01 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb | |||
@@ -0,0 +1,44 @@ | |||
1 | SECTION = "kernel" | ||
2 | SUMMARY = "Linux kernel for TI devices" | ||
3 | LICENSE = "GPL-2.0-only" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
5 | |||
6 | inherit ti-secdev | ||
7 | inherit kernel | ||
8 | |||
9 | DEFAULT_PREFERENCE = "-1" | ||
10 | |||
11 | require recipes-kernel/linux/setup-defconfig.inc | ||
12 | require recipes-kernel/linux/ti-kernel.inc | ||
13 | include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''} | ||
14 | include ${@ 'recipes-kernel/linux/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''} | ||
15 | |||
16 | DEPENDS += "gmp-native libmpc-native" | ||
17 | |||
18 | # Look in the generic major.minor directory for files | ||
19 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:" | ||
20 | |||
21 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \ | ||
22 | ${EXTRA_DTC_ARGS}" | ||
23 | |||
24 | S = "${WORKDIR}/git" | ||
25 | |||
26 | BRANCH ?= "ti-linux-6.6.y" | ||
27 | |||
28 | SRCREV ?= "ffc253263a1375a65fa6c9f62a893e9767fbebfa" | ||
29 | PV = "6.6.0+git${SRCPV}" | ||
30 | |||
31 | # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild | ||
32 | MACHINE_KERNEL_PR:append = "b" | ||
33 | PR = "${MACHINE_KERNEL_PR}" | ||
34 | |||
35 | KERNEL_GIT_URI ?= "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git" | ||
36 | KERNEL_GIT_PROTOCOL = "https" | ||
37 | SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \ | ||
38 | file://defconfig" | ||
39 | |||
40 | # Special configuration for remoteproc/rpmsg IPC modules | ||
41 | module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample" | ||
42 | module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus" | ||
43 | module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus" | ||
44 | KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc" | ||