mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 01:20:20 +00:00
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>
This commit is contained in:
@@ -0,0 +1,90 @@
|
||||
From mboxrd@z Thu Jan 1 00:00:00 1970
|
||||
Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141])
|
||||
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
|
||||
(No client certificate requested)
|
||||
by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6C761CF7C0
|
||||
for <linux-kernel@vger.kernel.org>; Wed, 2 Oct 2024 17:51:03 +0000 (UTC)
|
||||
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141
|
||||
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
|
||||
t=1727891465; cv=none; b=CEYYtmSJFo/Sgv/xDxI47tFv5EQYgI48gCmjgNCwoCG+YAxaTGv6w5t0LvkrZFVDbtI7ZlXtzmSmrUjH/knuKDDfcyE9kRmVwFTkvZuTRbeuzgYAvzQqGZx2MUP+19HrXiJhkzdaW2gqaUHm6jzKotnMAmuIf5MdymPExP2XEOA=
|
||||
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
|
||||
s=arc-20240116; t=1727891465; c=relaxed/simple;
|
||||
bh=rz8JAFjsjsVowpA2nxzzCem6/hVUcRWem+15QWeBIZ8=;
|
||||
h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=U//l6phLjcdtIQoiM3NTJtyWYEckbwlaAolhWAr5vBabPsLMC8r132cMmOCq2VeaXQYpJZi1PF9o9qa7ruMa2mDuPYYQEJxfQXLUcfvfuNBNSe3/YPt0ZnczRoKOVp/ZhK9eCbAyuqdKiV88VJX4HXf29Pk4U/pJUJiuIBz6z0c=
|
||||
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
|
||||
Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com
|
||||
Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com
|
||||
Authentication-Results: smtp.subspace.kernel.org;
|
||||
dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="x9oOIcId"
|
||||
Received: from fllv0034.itg.ti.com ([10.64.40.246])
|
||||
by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 492HonLf096412;
|
||||
Wed, 2 Oct 2024 12:50:49 -0500
|
||||
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com;
|
||||
s=ti-com-17Q1; t=1727891449;
|
||||
bh=D9PCum0HyoqSpwC0i4ipngZTLS2ludQXOcLTt/aASvw=;
|
||||
h=From:To:Subject:Date;
|
||||
b=x9oOIcIdQ4fKCK786eVp28izZrfEKKj+AFEJLw99X5XocNNHcf79PYgeIiaJSHqti
|
||||
vyuEZgxqpc2ofiOvg8GGStvsJHvu9KDY6b/0cD4X6xgrxSob2RwVUMwwLFpqoGE7Ap
|
||||
Rrv5bG+RIcs00EQ7NOloYHr81TExET3fQMA/NGQA=
|
||||
Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26])
|
||||
by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 492HonXu062400
|
||||
(version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL);
|
||||
Wed, 2 Oct 2024 12:50:49 -0500
|
||||
Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE105.ent.ti.com
|
||||
(10.64.6.26) with Microsoft SMTP Server (version=TLS1_2,
|
||||
cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 2
|
||||
Oct 2024 12:50:50 -0500
|
||||
Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE110.ent.ti.com
|
||||
(10.64.6.31) with Microsoft SMTP Server (version=TLS1_2,
|
||||
cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via
|
||||
Frontend Transport; Wed, 2 Oct 2024 12:50:49 -0500
|
||||
Received: from uda0214219 (uda0214219.dhcp.ti.com [128.247.81.222])
|
||||
by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 492Hon1W127998;
|
||||
Wed, 2 Oct 2024 12:50:49 -0500
|
||||
Received: from reatmon by uda0214219 with local (Exim 4.90_1)
|
||||
(envelope-from <reatmon@ti.com>)
|
||||
id 1sw3Uv-0003yB-Am; Wed, 02 Oct 2024 12:50:49 -0500
|
||||
From: Ryan Eatmon <reatmon@ti.com>
|
||||
To: Russell King <linux@armlinux.org.uk>, <linux-kernel@vger.kernel.org>,
|
||||
Ryan
|
||||
Eatmon <reatmon@ti.com>
|
||||
Subject: [PATCH] arm: Remove build path from generated mach-types.h
|
||||
Date: Wed, 2 Oct 2024 12:50:49 -0500
|
||||
Message-ID: <20241002175049.15219-1-reatmon@ti.com>
|
||||
X-Mailer: git-send-email 2.17.1
|
||||
Precedence: bulk
|
||||
X-Mailing-List: linux-kernel@vger.kernel.org
|
||||
List-Id: <linux-kernel.vger.kernel.org>
|
||||
List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org>
|
||||
List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org>
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain
|
||||
X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea
|
||||
|
||||
For reproducible builds, having any of the build paths in a generated
|
||||
file is problematic. Simple fix is to just remove the path. This is
|
||||
similar to the same code in arch/sh/tools/gen-mach-types.
|
||||
|
||||
Upstream-Status: Submitted [https://lore.kernel.org/linux-kernel/20241002175049.15219-1-reatmon@ti.com/]
|
||||
|
||||
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
|
||||
---
|
||||
arch/arm/tools/gen-mach-types | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/tools/gen-mach-types b/arch/arm/tools/gen-mach-types
|
||||
index cbe1c33bb871..9a2a5c0f1c45 100644
|
||||
--- a/arch/arm/tools/gen-mach-types
|
||||
+++ b/arch/arm/tools/gen-mach-types
|
||||
@@ -24,8 +24,7 @@ NF == 3 {
|
||||
|
||||
END {
|
||||
printf("/*\n");
|
||||
- printf(" * This was automagically generated from %s!\n", FILENAME);
|
||||
- printf(" * Do NOT edit\n");
|
||||
+ printf(" * This was automagically generated, do NOT edit.\n");
|
||||
printf(" */\n\n");
|
||||
printf("#ifndef __ASM_ARM_MACH_TYPE_H\n");
|
||||
printf("#define __ASM_ARM_MACH_TYPE_H\n\n");
|
||||
--
|
||||
2.17.1
|
||||
@@ -0,0 +1,2 @@
|
||||
use-kernel-config=multi_v7_defconfig
|
||||
config-fragment=kernel/configs/ti_multi_v7_prune.config
|
||||
@@ -0,0 +1,2 @@
|
||||
use-kernel-config=defconfig
|
||||
config-fragment=kernel/configs/ti_arm64_prune.config
|
||||
@@ -0,0 +1 @@
|
||||
use-kernel-config=davinci_all_defconfig
|
||||
@@ -0,0 +1,2 @@
|
||||
use-kernel-config=multi_v7_defconfig
|
||||
config-fragment=kernel/configs/ti_multi_v7_prune.config
|
||||
@@ -0,0 +1,2 @@
|
||||
use-kernel-config=multi_v7_defconfig
|
||||
config-fragment=kernel/configs/ti_multi_v7_prune.config
|
||||
@@ -0,0 +1,2 @@
|
||||
use-kernel-config=multi_v7_defconfig
|
||||
config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/ti_rt.config
|
||||
@@ -0,0 +1,2 @@
|
||||
use-kernel-config=defconfig
|
||||
config-fragment=kernel/configs/ti_arm64_prune.config kernel/configs/ti_rt.config
|
||||
@@ -0,0 +1,2 @@
|
||||
use-kernel-config=davinci_all_defconfig
|
||||
config-fragment=
|
||||
@@ -0,0 +1,2 @@
|
||||
use-kernel-config=multi_v7_defconfig
|
||||
config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/ti_rt.config
|
||||
@@ -0,0 +1,2 @@
|
||||
use-kernel-config=multi_v7_defconfig
|
||||
config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/ti_rt.config
|
||||
@@ -0,0 +1,9 @@
|
||||
require linux-ti-staging_6.18.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.18:"
|
||||
|
||||
include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}
|
||||
39
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
Normal file
39
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
Normal file
@@ -0,0 +1,39 @@
|
||||
SECTION = "kernel"
|
||||
SUMMARY = "Linux kernel for TI devices"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
||||
|
||||
require recipes-kernel/linux/ti-kernel.inc
|
||||
|
||||
inherit ${KERNEL_BASE_CLASS}
|
||||
|
||||
require recipes-kernel/linux/setup-defconfig.inc
|
||||
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.18:"
|
||||
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
|
||||
${EXTRA_DTC_ARGS}"
|
||||
|
||||
S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
|
||||
|
||||
BRANCH ?= "ti-linux-6.18.y"
|
||||
|
||||
SRCREV ?= "75433f843c99d1ab544808749a46a6e2f0151a56"
|
||||
PV = "6.18.0+git"
|
||||
|
||||
KERNEL_REPRODUCIBILITY_PATCHES = " \
|
||||
file://0001-perf-python-Fix-compile-for-32bit-platforms.patch \
|
||||
file://0001-arm-Remove-build-path-from-generated-mach-types.h.patch \
|
||||
"
|
||||
|
||||
# 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"
|
||||
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
Reference in New Issue
Block a user