From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E52DCEFC53 for ; Tue, 8 Oct 2024 19:58:24 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web10.5271.1728417495633141358 for ; Tue, 08 Oct 2024 12:58:15 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 0068B40C7B; Tue, 8 Oct 2024 19:58:15 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q9ZT2anJza7d; Tue, 8 Oct 2024 19:58:14 +0000 (UTC) Received: from mail.denix.org (pool-100-15-87-159.washdc.fios.verizon.net [100.15.87.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id BFAA740023; Tue, 8 Oct 2024 19:58:11 +0000 (UTC) Received: by mail.denix.org (Postfix, from userid 1000) id 7E3171640AC; Tue, 8 Oct 2024 15:58:11 -0400 (EDT) Date: Tue, 8 Oct 2024 15:58:11 -0400 From: Denys Dmytriyenko To: reatmon@ti.com Cc: Praneeth Bajjuri , Denys Dmytriyenko , meta-ti@lists.yoctoproject.org Subject: Re: [meta-ti][master/scarthgap][PATCH 1/4] linux-ti-staging: Add v6.12 recipe Message-ID: <20241008195811.GK14676@denix.org> References: <20241004151857.24578-1-reatmon@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241004151857.24578-1-reatmon@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 08 Oct 2024 19:58:24 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/17990 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 > --- > .../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