From patchwork Wed Feb 8 13:33:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 19212 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 3D9E8C636CC for ; Wed, 8 Feb 2023 13:33:57 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.8409.1675863236524626964 for ; Wed, 08 Feb 2023 05:33:56 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6228B1042; Wed, 8 Feb 2023 05:34:38 -0800 (PST) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 881433F703; Wed, 8 Feb 2023 05:33:55 -0800 (PST) From: Ross Burton To: meta-arm@lists.yoctoproject.org Cc: nd@arm.com Subject: [PATCH 1/2] arm-bsp/linux-yocto: add 5.19 kernel recipe for N1SDP Date: Wed, 8 Feb 2023 13:33:52 +0000 Message-Id: <20230208133353.1969816-1-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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 ; Wed, 08 Feb 2023 13:33:57 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/4372 Currently the N1SDP patches haven't been ported to 6.1 and the port/testing isn't trivial. Until the relevant team has done the port to 6.1, carry a 5.19 kernel in meta-arm-bsp for N1SDP. Signed-off-by: Ross Burton --- .../recipes-kernel/linux/linux-yocto_5.19.bb | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.19.bb diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.19.bb b/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.19.bb new file mode 100644 index 00000000..3bd4c756 --- /dev/null +++ b/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.19.bb @@ -0,0 +1,28 @@ +KBRANCH ?= "v5.19/standard/base" + +require recipes-kernel/linux/linux-yocto.inc + +SRCREV_machine ?= "84f2f8e7a625aae0fa9e7027a2e774b99b646cf7" +SRCREV_meta ?= "239a6c0d3c3b046971909f1e066380465b0c331d" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.19;destsuffix=${KMETA}" + +LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" +LINUX_VERSION ?= "5.19.17" + +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" +DEPENDS += "openssl-native util-linux-native" +DEPENDS += "gmp-native libmpc-native" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "1" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" +KERNEL_FEATURES:append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES:append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "", d)}" +KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}" +KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}" From patchwork Wed Feb 8 13:33:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 19213 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 25919C636D7 for ; Wed, 8 Feb 2023 13:34:07 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.8339.1675863237032480140 for ; Wed, 08 Feb 2023 05:33:57 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0DCA61477; Wed, 8 Feb 2023 05:34:39 -0800 (PST) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 34E0F3F703; Wed, 8 Feb 2023 05:33:56 -0800 (PST) From: Ross Burton To: meta-arm@lists.yoctoproject.org Cc: nd@arm.com Subject: [PATCH 2/2] arm/linux-yocto: remove obsolete 5.19 bbappend Date: Wed, 8 Feb 2023 13:33:53 +0000 Message-Id: <20230208133353.1969816-2-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230208133353.1969816-1-ross.burton@arm.com> References: <20230208133353.1969816-1-ross.burton@arm.com> MIME-Version: 1.0 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 ; Wed, 08 Feb 2023 13:34:07 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/4373 This bbappend is only used by qemuarm*, which now use 6.1, so this can be removed. Signed-off-by: Ross Burton --- meta-arm/recipes-kernel/linux/linux-yocto_5.19%.bbappend | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 meta-arm/recipes-kernel/linux/linux-yocto_5.19%.bbappend diff --git a/meta-arm/recipes-kernel/linux/linux-yocto_5.19%.bbappend b/meta-arm/recipes-kernel/linux/linux-yocto_5.19%.bbappend deleted file mode 100644 index 7dec2f5c..00000000 --- a/meta-arm/recipes-kernel/linux/linux-yocto_5.19%.bbappend +++ /dev/null @@ -1,9 +0,0 @@ -# enable arm_ffa regardless on 5.19 -SRC_URI:append:qemuarm = " \ - file://tee.cfg \ - file://arm-ffa-transport.cfg \ -" -SRC_URI:append:qemuarm64 = " \ - file://tee.cfg \ - file://arm-ffa-transport.cfg \ -"