diff options
| author | Ryan Eatmon <reatmon@ti.com> | 2025-12-09 12:34:26 -0600 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2025-12-19 09:57:39 -0600 |
| commit | ff8d85e8a4b5ac772571e206d8a70f2f43137b2f (patch) | |
| tree | 745c70ba81f28cca246897450493273e6da005d5 | |
| parent | 010c6a4336554f4151a0a546dc87d25102c4876c (diff) | |
| download | meta-ti-ff8d85e8a4b5ac772571e206d8a70f2f43137b2f.tar.gz | |
linux-ti-staging: Add initial 6.18 recipes for LTS development
Add all of the initial recipes/files needed for 6.18 development.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
13 files changed, 157 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-kernel/linux/files/0001-arm-Remove-build-path-from-generated-mach-types.h.patch b/meta-ti-bsp/recipes-kernel/linux/files/0001-arm-Remove-build-path-from-generated-mach-types.h.patch new file mode 100644 index 00000000..9422692f --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/files/0001-arm-Remove-build-path-from-generated-mach-types.h.patch | |||
| @@ -0,0 +1,90 @@ | |||
| 1 | From mboxrd@z Thu Jan 1 00:00:00 1970 | ||
| 2 | Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) | ||
| 3 | (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) | ||
| 4 | (No client certificate requested) | ||
| 5 | by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6C761CF7C0 | ||
| 6 | for <linux-kernel@vger.kernel.org>; Wed, 2 Oct 2024 17:51:03 +0000 (UTC) | ||
| 7 | Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 | ||
| 8 | ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; | ||
| 9 | t=1727891465; cv=none; b=CEYYtmSJFo/Sgv/xDxI47tFv5EQYgI48gCmjgNCwoCG+YAxaTGv6w5t0LvkrZFVDbtI7ZlXtzmSmrUjH/knuKDDfcyE9kRmVwFTkvZuTRbeuzgYAvzQqGZx2MUP+19HrXiJhkzdaW2gqaUHm6jzKotnMAmuIf5MdymPExP2XEOA= | ||
| 10 | ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; | ||
| 11 | s=arc-20240116; t=1727891465; c=relaxed/simple; | ||
| 12 | bh=rz8JAFjsjsVowpA2nxzzCem6/hVUcRWem+15QWeBIZ8=; | ||
| 13 | h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=U//l6phLjcdtIQoiM3NTJtyWYEckbwlaAolhWAr5vBabPsLMC8r132cMmOCq2VeaXQYpJZi1PF9o9qa7ruMa2mDuPYYQEJxfQXLUcfvfuNBNSe3/YPt0ZnczRoKOVp/ZhK9eCbAyuqdKiV88VJX4HXf29Pk4U/pJUJiuIBz6z0c= | ||
| 14 | ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=x9oOIcId; arc=none smtp.client-ip=198.47.19.141 | ||
| 15 | Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com | ||
| 16 | Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com | ||
| 17 | Authentication-Results: smtp.subspace.kernel.org; | ||
| 18 | dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="x9oOIcId" | ||
| 19 | Received: from fllv0034.itg.ti.com ([10.64.40.246]) | ||
| 20 | by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 492HonLf096412; | ||
| 21 | Wed, 2 Oct 2024 12:50:49 -0500 | ||
| 22 | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; | ||
| 23 | s=ti-com-17Q1; t=1727891449; | ||
| 24 | bh=D9PCum0HyoqSpwC0i4ipngZTLS2ludQXOcLTt/aASvw=; | ||
| 25 | h=From:To:Subject:Date; | ||
| 26 | b=x9oOIcIdQ4fKCK786eVp28izZrfEKKj+AFEJLw99X5XocNNHcf79PYgeIiaJSHqti | ||
| 27 | vyuEZgxqpc2ofiOvg8GGStvsJHvu9KDY6b/0cD4X6xgrxSob2RwVUMwwLFpqoGE7Ap | ||
| 28 | Rrv5bG+RIcs00EQ7NOloYHr81TExET3fQMA/NGQA= | ||
| 29 | Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) | ||
| 30 | by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 492HonXu062400 | ||
| 31 | (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); | ||
| 32 | Wed, 2 Oct 2024 12:50:49 -0500 | ||
| 33 | Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE105.ent.ti.com | ||
| 34 | (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, | ||
| 35 | cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 2 | ||
| 36 | Oct 2024 12:50:50 -0500 | ||
| 37 | Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE110.ent.ti.com | ||
| 38 | (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, | ||
| 39 | cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via | ||
| 40 | Frontend Transport; Wed, 2 Oct 2024 12:50:49 -0500 | ||
| 41 | Received: from uda0214219 (uda0214219.dhcp.ti.com [128.247.81.222]) | ||
| 42 | by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 492Hon1W127998; | ||
| 43 | Wed, 2 Oct 2024 12:50:49 -0500 | ||
| 44 | Received: from reatmon by uda0214219 with local (Exim 4.90_1) | ||
| 45 | (envelope-from <reatmon@ti.com>) | ||
| 46 | id 1sw3Uv-0003yB-Am; Wed, 02 Oct 2024 12:50:49 -0500 | ||
| 47 | From: Ryan Eatmon <reatmon@ti.com> | ||
| 48 | To: Russell King <linux@armlinux.org.uk>, <linux-kernel@vger.kernel.org>, | ||
| 49 | Ryan | ||
| 50 | Eatmon <reatmon@ti.com> | ||
| 51 | Subject: [PATCH] arm: Remove build path from generated mach-types.h | ||
| 52 | Date: Wed, 2 Oct 2024 12:50:49 -0500 | ||
| 53 | Message-ID: <20241002175049.15219-1-reatmon@ti.com> | ||
| 54 | X-Mailer: git-send-email 2.17.1 | ||
| 55 | Precedence: bulk | ||
| 56 | X-Mailing-List: linux-kernel@vger.kernel.org | ||
| 57 | List-Id: <linux-kernel.vger.kernel.org> | ||
| 58 | List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> | ||
| 59 | List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> | ||
| 60 | MIME-Version: 1.0 | ||
| 61 | Content-Type: text/plain | ||
| 62 | X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea | ||
| 63 | |||
| 64 | For reproducible builds, having any of the build paths in a generated | ||
| 65 | file is problematic. Simple fix is to just remove the path. This is | ||
| 66 | similar to the same code in arch/sh/tools/gen-mach-types. | ||
| 67 | |||
| 68 | Upstream-Status: Submitted [https://lore.kernel.org/linux-kernel/20241002175049.15219-1-reatmon@ti.com/] | ||
| 69 | |||
| 70 | Signed-off-by: Ryan Eatmon <reatmon@ti.com> | ||
| 71 | --- | ||
| 72 | arch/arm/tools/gen-mach-types | 3 +-- | ||
| 73 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
| 74 | |||
| 75 | diff --git a/arch/arm/tools/gen-mach-types b/arch/arm/tools/gen-mach-types | ||
| 76 | index cbe1c33bb871..9a2a5c0f1c45 100644 | ||
| 77 | --- a/arch/arm/tools/gen-mach-types | ||
| 78 | +++ b/arch/arm/tools/gen-mach-types | ||
| 79 | @@ -24,8 +24,7 @@ NF == 3 { | ||
| 80 | |||
| 81 | END { | ||
| 82 | printf("/*\n"); | ||
| 83 | - printf(" * This was automagically generated from %s!\n", FILENAME); | ||
| 84 | - printf(" * Do NOT edit\n"); | ||
| 85 | + printf(" * This was automagically generated, do NOT edit.\n"); | ||
| 86 | printf(" */\n\n"); | ||
| 87 | printf("#ifndef __ASM_ARM_MACH_TYPE_H\n"); | ||
| 88 | printf("#define __ASM_ARM_MACH_TYPE_H\n\n"); | ||
| 89 | -- | ||
| 90 | 2.17.1 | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/defconfig new file mode 100644 index 00000000..24b53cf7 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/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.18/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/k3/defconfig new file mode 100644 index 00000000..ef1d3efd --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/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.18/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/omapl138/defconfig new file mode 100644 index 00000000..099493af --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/omapl138/defconfig | |||
| @@ -0,0 +1 @@ | |||
| use-kernel-config=davinci_all_defconfig | |||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/ti33x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/ti33x/defconfig new file mode 100644 index 00000000..24b53cf7 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/ti33x/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.18/ti43x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/ti43x/defconfig new file mode 100644 index 00000000..24b53cf7 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/ti43x/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-rt-6.18/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.18/defconfig new file mode 100644 index 00000000..43089dc8 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.18/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.18/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.18/k3/defconfig new file mode 100644 index 00000000..47d78664 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.18/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.18/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.18/omapl138/defconfig new file mode 100644 index 00000000..3d890b6e --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.18/omapl138/defconfig | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | use-kernel-config=davinci_all_defconfig | ||
| 2 | config-fragment= | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.18/ti33x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.18/ti33x/defconfig new file mode 100644 index 00000000..43089dc8 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.18/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 | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.18/ti43x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.18/ti43x/defconfig new file mode 100644 index 00000000..43089dc8 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.18/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 | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.18.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.18.bb new file mode 100644 index 00000000..a979668d --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.18.bb | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | require linux-ti-staging_6.18.bb | ||
| 2 | |||
| 3 | KERNEL_LOCALVERSION:append = "-rt" | ||
| 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.18:" | ||
| 8 | |||
| 9 | 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_6.18.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb new file mode 100644 index 00000000..c2e2a3b5 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 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 | require recipes-kernel/linux/ti-kernel.inc | ||
| 7 | |||
| 8 | inherit ${KERNEL_BASE_CLASS} | ||
| 9 | |||
| 10 | require recipes-kernel/linux/setup-defconfig.inc | ||
| 11 | include ${@ 'recipes-kernel/linux/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''} | ||
| 12 | |||
| 13 | DEPENDS += "gmp-native libmpc-native" | ||
| 14 | |||
| 15 | # Look in the generic major.minor directory for files | ||
| 16 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.18:" | ||
| 17 | |||
| 18 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \ | ||
| 19 | ${EXTRA_DTC_ARGS}" | ||
| 20 | |||
| 21 | S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}" | ||
| 22 | |||
| 23 | BRANCH ?= "ti-linux-6.18.y" | ||
| 24 | |||
| 25 | SRCREV ?= "75433f843c99d1ab544808749a46a6e2f0151a56" | ||
| 26 | PV = "6.18.0+git" | ||
| 27 | |||
| 28 | KERNEL_REPRODUCIBILITY_PATCHES = " \ | ||
| 29 | file://0001-perf-python-Fix-compile-for-32bit-platforms.patch \ | ||
| 30 | file://0001-arm-Remove-build-path-from-generated-mach-types.h.patch \ | ||
| 31 | " | ||
| 32 | |||
| 33 | # Special configuration for remoteproc/rpmsg IPC modules | ||
| 34 | module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample" | ||
| 35 | module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus" | ||
| 36 | module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus" | ||
| 37 | KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc" | ||
| 38 | |||
| 39 | DEFAULT_PREFERENCE = "-1" | ||
