From patchwork Fri Feb 25 05:07:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 4238 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 202AFC433F5 for ; Fri, 25 Feb 2022 05:08:06 +0000 (UTC) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) by mx.groups.io with SMTP id smtpd.web08.3519.1645765684951431894 for ; Thu, 24 Feb 2022 21:08:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=c2/z+Xjf; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.222.182, mailfrom: jdmason@kudzu.us) Received: by mail-qk1-f182.google.com with SMTP id c7so3678269qka.7 for ; Thu, 24 Feb 2022 21:08:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rkD5gmrjxElfg8pMBhDOP5SyMqgIdBxfWe5MGwwHbSk=; b=c2/z+XjfguS7flp76a4seXwl8OwV5wNOo9VtyfLttuV/ZXGa8JJl6lPS3b6IKDMdki IvB5O8DBhmX8uyUnMRDzFBrwOhgaK4/CEJJoaWVyt92myUAEY+53SkR9aprtF0fGGnwm e6kzzyi9ZIQpMaVBYf0UYubJ75R8SoVWLEb/V2MvSkv74NI/iKf0GwlYbj4ynpDIGvuf 1qUFIJInd8+lSEciBMkxJ4KokTrX1ijztOnE1rxZZI0ePHVbPcdEzLkai6+r5nYvIdc1 QN1IQh0jU0Wxi1MrKIguTOwe4RkGO1NLJjCpj/9A/OhVpbOW127xJTH0Udgh+iEW7p1t 4SAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rkD5gmrjxElfg8pMBhDOP5SyMqgIdBxfWe5MGwwHbSk=; b=oE0i5/Yul3fZ9v1t61pWx9//T48ZJQTmYoFDHMPO3+Asnb7w0JLeGwV6DX7Daw0DLh QqpH9Fd1sqfx062F5TSDPRQZS9wTt4aDtu3nbMXXObY2wxASy8WwR8NaNnAG6cPSua1c ZWLisfNXx/5ihh6VJBAQZXqVk2AjMFgJWQX2eGw8wm2mcmoPudORW+kePd0lrFB1Njl/ OVaDpvoGMZtmAH1JnXVlOK6KtaBroKBV+KWTWlzQrqJTMzPk1XRGbPiKyDtAfO7eoOOF iSj7T7iF2qxzsmicAhRMJ1OJ7CWd5l0LnTVDYHQCNFpuCfT3XR+TkUnAIJSmIY93T58U 0vJA== X-Gm-Message-State: AOAM5309wzIqLXFnXOfNPu0Dgdm5pF/7CGKmLpbmUN+BBAFxIwp8oJ4t mZ36XGDWvjKWHoVs5KttsXfcQK4qyrm85Q== X-Google-Smtp-Source: ABdhPJzAU/ynuGqoXADwEDbHRcN5y0GiIf0twcyVPWnyl3enRaC3tqNg8q9CU0NJlocvQXuW2BOB8Q== X-Received: by 2002:a37:6591:0:b0:60d:d457:3a79 with SMTP id z139-20020a376591000000b0060dd4573a79mr3777971qkb.639.1645765683989; Thu, 24 Feb 2022 21:08:03 -0800 (PST) Received: from localhost ([2605:a601:a665:9200:97ee:8b84:aa35:fed0]) by smtp.gmail.com with ESMTPSA id w1-20020a05620a094100b00648e56836ffsm749675qkw.82.2022.02.24.21.08.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 21:08:03 -0800 (PST) From: Jon Mason X-Google-Original-From: Jon Mason To: meta-arm@lists.yoctoproject.org Cc: Ross Burton Subject: [PATCH 1/8] arm-toolchain/external-arm-toolchain: fix missing license updates Date: Fri, 25 Feb 2022 00:07:56 -0500 Message-Id: <20220225050803.2517279-1-jon.mason@arm.com> X-Mailer: git-send-email 2.30.2 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 ; Fri, 25 Feb 2022 05:08:06 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/3058 From: Ross Burton Commit 53a40b1 updates the license names to use the SPDX terms, but as intermediate variables are used in this recipe a few instances were missed. Signed-off-by: Ross Burton --- .../recipes-devtools/external-arm-toolchain/license.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc index 10f2542292b4..4260dc710d7d 100644 --- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc +++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc @@ -1,9 +1,9 @@ LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only & GPL-2.0-only & LGPL-3.0-only & LGPL-2.1-only & LGPL-2.0-only" -EAT_BFD_LICENSE = "GPL-3.0" -EAT_GCC_LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" -EAT_GDB_LICENSE = "GPL-3.0" -EAT_LIBC_LICENSE = "GPLv2 & LGPLv2.1" +EAT_BFD_LICENSE = "GPL-3.0-only" +EAT_GCC_LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" +EAT_GDB_LICENSE = "GPL-3.0-only" +EAT_LIBC_LICENSE = "GPL-2.0-only & LGPL-2.1-only" EAT_RLE_LICENSE = "GPL-3.0-with-GCC-exception" LICENSE:${PN} = "${EAT_LIBC_LICENSE}" From patchwork Fri Feb 25 05:07:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 4240 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 0ABB9C433FE for ; Fri, 25 Feb 2022 05:08:07 +0000 (UTC) Received: from mail-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.179]) by mx.groups.io with SMTP id smtpd.web10.3608.1645765685568669512 for ; Thu, 24 Feb 2022 21:08:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=5Fmucu67; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.222.179, mailfrom: jdmason@kudzu.us) Received: by mail-qk1-f179.google.com with SMTP id j78so3699532qke.2 for ; Thu, 24 Feb 2022 21:08:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=++3bpLT7mPOoprQQ8girzHVGMwGExQA8e1A31XkYyvQ=; b=5Fmucu67qFSG+YWYFZEI8fteWBgVdZpEkNGbTqqUe1cGBciiJOruNDQoRtelq2U0Z9 HMcUMeLTIcSoSTKhoaKylW1u9kV6ky2Nwi+pdz9l0H4xo2r8cYqMF6LdEOr/TPXyHJnU Z4y4CJL5Ysc9w5kphyNnEWMzVHsQuCKce53RXyoCvZwoIuPnTb85C9yQi8a5YEgfs2Sx 41Bt43x6J8puykLjgq8betrz7AZdnQspNXKMtF4DIBqxwd1nyFyJcIZMsd941VNyVJrg mVqxoUxVIQphO4/qMZ9K2njfpQJXFOszRl0fzm5CVG/t8jWY1rwDp+rG33hDH2dr/lnc Ty+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=++3bpLT7mPOoprQQ8girzHVGMwGExQA8e1A31XkYyvQ=; b=b68iVouo/tDQMlpE0cAhpvigUzOI2HtMp24GbJ3ZSl67Eu/2ff7iDzdPclG0B7+6/a 0qHv1vY7jCcwggPko7YZ+ZRSVIp5ve4TujkIkzyIrX1Sn+UNg/NK/e8sFcUPV7/LXNci vrmxddADvcpu7ATs2ZeKMSIBBerMZD3EG8Zb+rPDfmcA+gIrmWs4dcsVHcvckes2vHfC RIzFEBXyOvqZIFEwIYjU6beRgW3u47l4PTnkP+BzFW0++e2DJLxcKgb5RAy8dSs/IOi1 iP6DZLs0tMFyuqC+gNdMqIV5g4UwbJ5NLF5se/fw6nE+pOAB8AiSfE2S7naTwZphV57m Pq+g== X-Gm-Message-State: AOAM532roZAZDeGY3yJeqS5b2WRMWReFbvwG+69oHDkY8HsjdO4j/t9f 1FLEf32tn8SNqwbvFlVNQW8WYSO4DNNc6w== X-Google-Smtp-Source: ABdhPJx82qBYOFcmBKHNRZD++0kgRgwAJdow+gO9PLtoFKKB5Q29tFor8nVHjtPZ7sKLL6N0xrs9xw== X-Received: by 2002:a37:c84:0:b0:47e:17f0:4ea with SMTP id 126-20020a370c84000000b0047e17f004eamr3811232qkm.477.1645765684621; Thu, 24 Feb 2022 21:08:04 -0800 (PST) Received: from localhost ([2605:a601:a665:9200:97ee:8b84:aa35:fed0]) by smtp.gmail.com with ESMTPSA id 20-20020ac84e94000000b002de8f564305sm997905qtp.1.2022.02.24.21.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 21:08:04 -0800 (PST) From: Jon Mason X-Google-Original-From: Jon Mason To: meta-arm@lists.yoctoproject.org Cc: Ross Burton Subject: [PATCH 2/8] arm/edk2-firmware: expand comment Date: Fri, 25 Feb 2022 00:07:57 -0500 Message-Id: <20220225050803.2517279-2-jon.mason@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220225050803.2517279-1-jon.mason@arm.com> References: <20220225050803.2517279-1-jon.mason@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 ; Fri, 25 Feb 2022 05:08:07 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/3059 From: Ross Burton We currently disable release builds with Clang, but it appears the underlying issue has been fixed upstream so make a note that we should be able to turn release builds back on with EDK2 202202. Signed-off-by: Ross Burton --- meta-arm/recipes-bsp/uefi/edk2-firmware.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-arm/recipes-bsp/uefi/edk2-firmware.inc b/meta-arm/recipes-bsp/uefi/edk2-firmware.inc index 8057e8870212..b1595e858b25 100644 --- a/meta-arm/recipes-bsp/uefi/edk2-firmware.inc +++ b/meta-arm/recipes-bsp/uefi/edk2-firmware.inc @@ -27,7 +27,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" EDK2_BUILD_RELEASE = "1" # Release builds don't work with clang yet: -# https://bugzilla.tianocore.org/show_bug.cgi?id=3758 +# https://bugzilla.tianocore.org/show_bug.cgi?id=3758. +# Can be removed in 202202 (c9b7c6e) EDK2_BUILD_RELEASE:toolchain-clang = "0" EDK2_PLATFORM = "unset" From patchwork Fri Feb 25 05:07:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 4239 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 ED44CC433EF for ; Fri, 25 Feb 2022 05:08:06 +0000 (UTC) Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) by mx.groups.io with SMTP id smtpd.web08.3520.1645765686363145863 for ; Thu, 24 Feb 2022 21:08:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=tTC5KCsC; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.160.173, mailfrom: jdmason@kudzu.us) Received: by mail-qt1-f173.google.com with SMTP id f18so1530780qtb.3 for ; Thu, 24 Feb 2022 21:08:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1AtxgvcYCt3AD0Wmeq6fhlbrS3zr9Jo2T7aopTysbqo=; b=tTC5KCsCEWGsDqcqydbIsQsh9Cprnfe7X1p+BZ1fFvH0sPnaxbhCI7h59i6Y3U/Hvu mZhq0GUuqIzU0h+rOM6sfKU1IaMJfUIB9pe6obM+5GtPWwf9IQN6AKCaVTfCKNoS+Wac BxF80Pyx/RY19tOt7F218g2RKqI+bVUM/dj/68GbgkUgjuT12LJcKLOxU8iaVshH5VEu GI4H6l/6J9xMqH4DwQcn8PBTP6roe6b+fFSpfp/wmnZcNDzc7iUhLgEWAoOOQGb9ylNF kZDZvb6HXU7Subyb7fYyW5j5RMqum+te5E2Vy6ybEwIb4gHaPlFbsGUN9ZeYOz0oTwyZ wj6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1AtxgvcYCt3AD0Wmeq6fhlbrS3zr9Jo2T7aopTysbqo=; b=B+8sYhktwT4UIrniY0RoLa8rSZ6AIw6LcxVMlmj2S72zZLQd/so9nT3Ax1S35J3hTb mxaxwSlTI5C++yHngZ0tOLO+wN8yh876In+xxKJDSkWR+iT3CXlG5c6Gi5N+OzNIR7/R yi6VmQDpOxsbiVZg9rCGZ70nKxMt1M0/TJKCcSpiYJQUK0cVKZxvcE4ZrtFayCSF8XjE kUIbO9/tR0tgD2CY7/yfuYlKtrkXg++vBR16ahF5dV+qn1C4Phmy4sXolOfturX6G9D3 cvhR2TbyCnNKFHzOj6WKwQbZ6Us4fsmHZh4X0RrTrxqzG3gPyoZ+RwwOEAHitPZJnYzu tUFA== X-Gm-Message-State: AOAM5309JfgHbaiv69K0gfr4HKrmvLrnWOiqLVGn2/2aRF3fHIa1KnWY ALOKkXvca5Bf2KQiFi6b9cFttxyXeYhixw== X-Google-Smtp-Source: ABdhPJxgIl7Rz+EI9AasO/D1AC8UHsYbj/VXUyXwbzjOunZi1mTg2tsUuNg4ZCyMJysAdQ/PoF0agg== X-Received: by 2002:ac8:7e85:0:b0:2dd:fe84:6bac with SMTP id w5-20020ac87e85000000b002ddfe846bacmr5546153qtj.128.1645765685349; Thu, 24 Feb 2022 21:08:05 -0800 (PST) Received: from localhost ([2605:a601:a665:9200:97ee:8b84:aa35:fed0]) by smtp.gmail.com with ESMTPSA id h188-20020a376cc5000000b0064957b23a9csm778431qkc.118.2022.02.24.21.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 21:08:05 -0800 (PST) From: Jon Mason X-Google-Original-From: Jon Mason To: meta-arm@lists.yoctoproject.org Cc: Ross Burton Subject: [PATCH 3/8] arm/edk2-firmware: unbreak builds with latest Clang Date: Fri, 25 Feb 2022 00:07:58 -0500 Message-Id: <20220225050803.2517279-3-jon.mason@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220225050803.2517279-1-jon.mason@arm.com> References: <20220225050803.2517279-1-jon.mason@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 ; Fri, 25 Feb 2022 05:08:06 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/3060 From: Ross Burton The latest Clang produced unaligned access warnings, which EDK2 promotes to errors with -Werror. edk2/MdeModulePkg/Include/Guid/ExtendedFirmwarePerformance.h:78:47: error: field Guid within 'FPDT_GUID_EVENT_RECORD' is less aligned than 'EFI_GUID' and is usually due to 'FPDT_GUID_EVENT_RECORD' being packed, which can lead to unaligned accesses [-Werror,-Wunaligned-access] This has been reported upstream so for now ignore this warning. Signed-off-by: Ross Burton --- meta-arm/recipes-bsp/uefi/edk2-firmware.inc | 1 + .../recipes-bsp/uefi/files/unaligned.patch | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 meta-arm/recipes-bsp/uefi/files/unaligned.patch diff --git a/meta-arm/recipes-bsp/uefi/edk2-firmware.inc b/meta-arm/recipes-bsp/uefi/edk2-firmware.inc index b1595e858b25..dc561eeff971 100644 --- a/meta-arm/recipes-bsp/uefi/edk2-firmware.inc +++ b/meta-arm/recipes-bsp/uefi/edk2-firmware.inc @@ -17,6 +17,7 @@ SRC_URI = "\ ${EDK2_SRC_URI};name=edk2;destsuffix=edk2;nobranch=1 \ ${EDK2_PLATFORMS_SRC_URI};name=edk2-platforms;destsuffix=edk2/edk2-platforms;nobranch=1 \ file://0001-Fix-VLA-parameter-warning.patch \ + file://unaligned.patch \ " SRCREV_FORMAT = "edk2_edk2-platforms" diff --git a/meta-arm/recipes-bsp/uefi/files/unaligned.patch b/meta-arm/recipes-bsp/uefi/files/unaligned.patch new file mode 100644 index 000000000000..1930f4c741f9 --- /dev/null +++ b/meta-arm/recipes-bsp/uefi/files/unaligned.patch @@ -0,0 +1,27 @@ +Latest clang is causing build failures because -Werror is used: + + edk2/MdeModulePkg/Include/Guid/ExtendedFirmwarePerformance.h:78:47: + error: field Guid within 'FPDT_GUID_EVENT_RECORD' is less aligned than 'EFI_GUID' + and is usually due to 'FPDT_GUID_EVENT_RECORD' being packed, which can lead to + unaligned accesses [-Werror,-Wunaligned-access] + +This has been reported upstream[1] so until this is resolved, ignore the warnings. + +[1] https://edk2.groups.io/g/devel/message/86838 + +Upstream-Status: Pending +Signed-off-by: Ross Burton + +diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template +index 2e6b382ab6..75bfbc5ae6 100755 +--- a/BaseTools/Conf/tools_def.template ++++ b/BaseTools/Conf/tools_def.template +@@ -2566,7 +2566,7 @@ DEFINE CLANG38_X64_PREFIX = ENV(CLANG38_BIN) + DEFINE CLANG38_IA32_TARGET = -target i686-pc-linux-gnu + DEFINE CLANG38_X64_TARGET = -target x86_64-pc-linux-gnu + +-DEFINE CLANG38_WARNING_OVERRIDES = -Wno-parentheses-equality -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare -Wno-empty-body -Wno-unused-const-variable -Wno-varargs -Wno-unknown-warning-option ++DEFINE CLANG38_WARNING_OVERRIDES = -Wno-parentheses-equality -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare -Wno-empty-body -Wno-unused-const-variable -Wno-varargs -Wno-unknown-warning-option -Wno-error=unaligned-access + DEFINE CLANG38_ALL_CC_FLAGS = DEF(GCC48_ALL_CC_FLAGS) DEF(CLANG38_WARNING_OVERRIDES) -fno-stack-protector -mms-bitfields -Wno-address -Wno-shift-negative-value -Wno-unknown-pragmas -Wno-incompatible-library-redeclaration -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -msoft-float -mno-implicit-float -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -funsigned-char -fno-ms-extensions -Wno-null-dereference + + ########################### From patchwork Fri Feb 25 05:07:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 4241 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 0992AC4332F for ; Fri, 25 Feb 2022 05:08:08 +0000 (UTC) Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) by mx.groups.io with SMTP id smtpd.web12.3605.1645765686942416791 for ; Thu, 24 Feb 2022 21:08:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=oBdO9Z0T; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.160.178, mailfrom: jdmason@kudzu.us) Received: by mail-qt1-f178.google.com with SMTP id q10so1529651qtw.4 for ; Thu, 24 Feb 2022 21:08:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=N3kschuUkEDKC2l3vPOjHJtAssXOoz6HmgdX8y7hWMo=; b=oBdO9Z0TrSYEHSEFn3INHMpTHL84/2uEELJe66qVei4OHtf95VD80M/aGzXgdlsOLH 6luPkWMEvSiGSNCAGeKc3sqViLGhTIdID945pRGGppx1RYuEDZaDm2lFQBz6hQq4C+no /pDLRk92jkauarfo6qogQpd/i5o4iPXUWnCg7TVXnSisoOgg6Go1UpZVLfvDSARMhZNf FNfLwmH+jc6y5NM5k8i9RQvXYawkG0vYO1Q6opGG+iLrcnXbr5W0sw9ePs5A4tPMhNzM T21WiGmjxq8+mRd0U/ZnQKk4hQba+awN9yKZ56ThaZic+4+Zx92/pqxLidwZ9N7LUDVE HGYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=N3kschuUkEDKC2l3vPOjHJtAssXOoz6HmgdX8y7hWMo=; b=7Xg5SSvUwJMJNkV8vU40gGF0aN+3K+pCiER3nwdfg0QK6kI0ZfdkLCjShFzP+ngpAj InHppWKNySaJ4jqs6Hpu5Qf0/t0jx7V9WlsIl5zlzbymMcLTjZ5b497x8MqgX5lyUcgE 6uzQUf3SrXIvQM4U7GgEXtuwI5nK2pLBrSG/bjdAq65rUOnOQYVhpbZLxlUhL4Uhbb5v wOLktSvnLiWcCSdsJ9CS40lw8CrSBu7754XYMP2mnYPfXFAR92xns+HdGIHjB/P8CE4d R3v1WFVM03Br9R+409Yqvl5JdFwKZGAaTP6+B2mN+jALC4ay5iy4wTNoGC6sSjMY3ZvJ UWfA== X-Gm-Message-State: AOAM532WBtkruaHly1Zaxbe0odLhB6TlaPga1Oxly3LvS20Xy2Ol+TyC ssJtD3gbgjJTjzKK1T1YX7iPq5FHdCjYWA== X-Google-Smtp-Source: ABdhPJw1bWU+MHEzFLDdZSzusB0wxzVeA7HOybMfn9FVptRTD0JQAJysy/jJNRFpExv5euQVw2NK1Q== X-Received: by 2002:ac8:5bd0:0:b0:2de:ac9f:9986 with SMTP id b16-20020ac85bd0000000b002deac9f9986mr3858447qtb.18.1645765686002; Thu, 24 Feb 2022 21:08:06 -0800 (PST) Received: from localhost ([2605:a601:a665:9200:97ee:8b84:aa35:fed0]) by smtp.gmail.com with ESMTPSA id bp30-20020a05622a1b9e00b002de4d3b119bsm906444qtb.74.2022.02.24.21.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 21:08:05 -0800 (PST) From: Jon Mason X-Google-Original-From: Jon Mason To: meta-arm@lists.yoctoproject.org Cc: Ross Burton Subject: [PATCH 4/8] CI: apply a patch so that meta-zephyr is compatible with kirkstone Date: Fri, 25 Feb 2022 00:07:59 -0500 Message-Id: <20220225050803.2517279-4-jon.mason@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220225050803.2517279-1-jon.mason@arm.com> References: <20220225050803.2517279-1-jon.mason@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 ; Fri, 25 Feb 2022 05:08:08 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/3061 From: Ross Burton Signed-off-by: Ross Burton --- ...-kirkstone-to-layer-compatible-lists.patch | 49 +++++++++++++++++++ ci/meta-zephyr.yml | 4 ++ 2 files changed, 53 insertions(+) create mode 100644 0001-layer.conf-add-kirkstone-to-layer-compatible-lists.patch diff --git a/0001-layer.conf-add-kirkstone-to-layer-compatible-lists.patch b/0001-layer.conf-add-kirkstone-to-layer-compatible-lists.patch new file mode 100644 index 000000000000..8476e0ac37bb --- /dev/null +++ b/0001-layer.conf-add-kirkstone-to-layer-compatible-lists.patch @@ -0,0 +1,49 @@ +From b49ad47797c6364b351ffdac6ff8c627368962c3 Mon Sep 17 00:00:00 2001 +From: Ross Burton +Date: Wed, 23 Feb 2022 13:39:39 +0000 +Subject: [meta-zephyr][PATCH] layer.conf: add kirkstone to layer compatible + lists + +Add Kirkstone to the layer compatbility list now that oe-core master +only support kirkstone. + +Many variables were renamed in oe-core, but as none of them are used in +meta-zephyr this layer can remain compatible with older layers too. + +Signed-off-by: Ross Burton +--- + meta-zephyr-bsp/conf/layer.conf | 4 ++-- + meta-zephyr-core/conf/layer.conf | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/meta-zephyr-bsp/conf/layer.conf b/meta-zephyr-bsp/conf/layer.conf +index d5d478c..507374f 100644 +--- a/meta-zephyr-bsp/conf/layer.conf ++++ b/meta-zephyr-bsp/conf/layer.conf +@@ -15,6 +15,6 @@ LAYERVERSION_zephyrbsp = "1" + + LAYERDEPENDS_zephyrbsp = "zephyrcore core meta-python" + +-LAYERSERIES_COMPAT_zephyrbsp = "dunfell gatesgarth hardknott honister" ++LAYERSERIES_COMPAT_zephyrbsp = "dunfell gatesgarth hardknott honister kirkstone" + +-X86_TUNE_DIR = "${@bb.utils.contains('LAYERSERIES_CORENAMES', 'honister', 'include/x86', 'include', d)}" ++X86_TUNE_DIR = "${@bb.utils.contains_any('LAYERSERIES_CORENAMES', 'honister kirkstone', 'include/x86', 'include', d)}" +diff --git a/meta-zephyr-core/conf/layer.conf b/meta-zephyr-core/conf/layer.conf +index d3ac10e..20c8fdf 100644 +--- a/meta-zephyr-core/conf/layer.conf ++++ b/meta-zephyr-core/conf/layer.conf +@@ -15,8 +15,8 @@ LAYERVERSION_zephyrcore = "1" + + LAYERDEPENDS_zephyrcore = "core meta-python" + +-LAYERSERIES_COMPAT_zephyrcore = "dunfell gatesgarth hardknott honister" ++LAYERSERIES_COMPAT_zephyrcore = "dunfell gatesgarth hardknott honister kirkstone" + +-X86_TUNE_DIR = "${@bb.utils.contains('LAYERSERIES_CORENAMES', 'honister', 'include/x86', 'include', d)}" ++X86_TUNE_DIR = "${@bb.utils.contains_any('LAYERSERIES_CORENAMES', 'honister kirkstone', 'include/x86', 'include', d)}" + + PYTHON3_NATIVE_SITEPACKAGES_DIR = "${libdir_native}/${PYTHON3_DIR}/site-packages" +-- +2.25.1 + diff --git a/ci/meta-zephyr.yml b/ci/meta-zephyr.yml index bdd0e2bbb9c6..5675cc0eb4f9 100644 --- a/ci/meta-zephyr.yml +++ b/ci/meta-zephyr.yml @@ -8,6 +8,10 @@ repos: url: https://git.yoctoproject.org/git/meta-zephyr layers: meta-zephyr-core: + patches: + kirkstone: + repo: meta-arm + path: 0001-layer.conf-add-kirkstone-to-layer-compatible-lists.patch target: - zephyr-kernel-test-all From patchwork Fri Feb 25 05:08:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 4242 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 03EFBC43217 for ; Fri, 25 Feb 2022 05:08:09 +0000 (UTC) Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) by mx.groups.io with SMTP id smtpd.web12.3606.1645765687760949075 for ; Thu, 24 Feb 2022 21:08:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=FMrFGZoA; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.160.176, mailfrom: jdmason@kudzu.us) Received: by mail-qt1-f176.google.com with SMTP id w1so1533433qtj.2 for ; Thu, 24 Feb 2022 21:08:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jCnfu0V2go1sedmW72VDobcl9iGsgqKLjBdLXahfwTE=; b=FMrFGZoAA9bR1g20RReV+eZrGWuSoFrcMloCMYzkJa7uO7SNJIrZTyXTV3czUZNeZ4 Sze99dGHjijsCBxZMUpZYXbN3loMPKAIIUwMQbKJ9vVcWiyjgPOFyiN9cajbZQnJLVA8 z2QokGr+xy/vCP3evxjeu331KEXZ3+Dz3G+FO4hDb7KDr1YJvULhYg/2qqc7aZh7VvGl FLdSRL1ShTLkBPWGqJwVA7OvCK/TBAA+g7zvKGf59yMrlno7KlTDOpV3VjVU//Z30bMK Pj37srjSa2KbNYa1JleQiWougt2RDTKwkttdC5sKflRV37a8Gyd1uUhYBmUX7ZEjIYsl /o9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jCnfu0V2go1sedmW72VDobcl9iGsgqKLjBdLXahfwTE=; b=K4WLgFYY5ZnjYxBgYXYhvBxvMjlq4pWF4Do+PkdI1uz43l7smwcEs2LzN06aHaqZfF SKxV30zVGDXqwzOFPYIO1UFtmE7mvSG/F6sfsyQmfWaXCvsECsRx0JnjeU8T7LfASIa1 vfsKBfvskyMT58vwpTQQiY0WE9xNSnODrT57kbpD4njTHYt2goxcmhyODRykBzjpL9wj cmMxLZhz9ooTF7LvQKDF4/zSk9TlvC2BEXU3nMSRAHLFAH9kzFKBsGWovhE4f8avbr2G lOSRs5LpNxPHY1rf1hpOCzufMrgh8LAYIhyq1SZ5zGnAsUXT5UaiIggcYYvNAgEHdA7S 79xA== X-Gm-Message-State: AOAM533xJWT3VO/1kb3iETpjkzlvye7TySnEmWNeYEMZTPKzBtgyvHgd K+rGqNlmn9j/caEkqGPvoNtCpSsI0mO9Ew== X-Google-Smtp-Source: ABdhPJwhODMpNFOiveqGOwAM8xkgZH0DdsSoc8YKMgj7vlUPzCkKLIbhcGzcEosid66cv7/YIsn01g== X-Received: by 2002:ac8:5710:0:b0:2de:9197:1cf1 with SMTP id 16-20020ac85710000000b002de91971cf1mr5532813qtw.569.1645765686746; Thu, 24 Feb 2022 21:08:06 -0800 (PST) Received: from localhost ([2605:a601:a665:9200:97ee:8b84:aa35:fed0]) by smtp.gmail.com with ESMTPSA id v26-20020a05622a189a00b002ddd1f76c2fsm904004qtc.17.2022.02.24.21.08.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 21:08:06 -0800 (PST) From: Jon Mason X-Google-Original-From: Jon Mason To: meta-arm@lists.yoctoproject.org Cc: Ross Burton Subject: [PATCH 5/8] arm/scp-firmware: disable clang builds Date: Fri, 25 Feb 2022 00:08:00 -0500 Message-Id: <20220225050803.2517279-5-jon.mason@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220225050803.2517279-1-jon.mason@arm.com> References: <20220225050803.2517279-1-jon.mason@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 ; Fri, 25 Feb 2022 05:08:09 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/3062 From: Ross Burton We only build with our binary GCC right now, so disable clang from trying to get involved. This solves the missing strip problem where do_populate_sysroot wants to use llvm-strip but it hasn't been added to the sysroot. Signed-off-by: Ross Burton --- meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.9.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.9.0.bb b/meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.9.0.bb index 89d4a34f1c16..f95d968f668c 100644 --- a/meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.9.0.bb +++ b/meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.9.0.bb @@ -19,6 +19,8 @@ SCP_LOG_LEVEL ?= "WARN" INHIBIT_DEFAULT_DEPS = "1" DEPENDS = "virtual/arm-none-eabi-gcc-native" +# For now we only build with GCC, so stop meta-clang trying to get involved +TOOLCHAIN = "gcc" SCP_BUILD_STR = "${@bb.utils.contains('SCP_BUILD_RELEASE', '1', 'release', 'debug', d)}" From patchwork Fri Feb 25 05:08:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 4243 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 F1812C433F5 for ; Fri, 25 Feb 2022 05:08:08 +0000 (UTC) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) by mx.groups.io with SMTP id smtpd.web08.3521.1645765688381250047 for ; Thu, 24 Feb 2022 21:08:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=w04viuC4; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.222.182, mailfrom: jdmason@kudzu.us) Received: by mail-qk1-f182.google.com with SMTP id g24so3700770qkl.3 for ; Thu, 24 Feb 2022 21:08:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qqegDuohM8t+ilrccWRktY0gnTD1VCiCFraxhbQNgfo=; b=w04viuC4e4GB+HAaD9ZunjeXvkgbbFww42SxkkeGhRnr9JyhK2SD/OjI3oY4mSi6hK oEggtoCNgvOYsML1z4QQDynLwweIbK+0JsF3JNvnohknJpvsEMZkmC97CaczCKkQG60V P/MjaLU3qug1DcSfjr1v5N+0bPLM8xAvApKNnWdkigc9BwNqadhaLF/HM9uu73PNsmgo J4JBmJP9TAtgQRlyVYGuOhBqN8rMaHezQaPwZ07S5zB4Qtr4c77NsRFPxaeItVGQ9OGC wxsY0cZL8Y8AK1jJ0ucZUdSY4YTCZNZA0I5BFNFjqH9y3UU2oW3UC/CjQZysqikruQzo zStQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qqegDuohM8t+ilrccWRktY0gnTD1VCiCFraxhbQNgfo=; b=F5vPyNTSCaBP0C5SAre5/Y3p1/dXlWzicO2w5JaJumVUhlQxDJTTg17bEPTyejdp0E qA1CcMX+7Hc/MF7VFc+d6AYg5/8PlHoTxQKapCnTbdW3vumB/8kCmBk0nLtcXmi5YBRg K1YCFWmCk4yDJ4HyD8SN0t1rniwaeTJP12JKstW8gw0cRMOMB1n8TcXskfoo59go8fY4 WBXLpwanpl54f2IrtF0Hew4qsV69l3MyoUOthio+phFGpnADk+qVGvHEOa4OEM7kl8NU H2qKt1X/mnGqxN/EtrKVVZiksvDphgoSnUHkxOz/Igx1xeqU8IFyukg8lVH8fn8D6ZV0 ACfg== X-Gm-Message-State: AOAM533fkoHLZwueQhhJ0lWYBkJ9tZ0gLrlHqVAwmkcYTjyBcCMnYs45 kcKMKXcHm7HSKzgNwKhEhPZ+4mnc9dovkQ== X-Google-Smtp-Source: ABdhPJyquQX4KtBVuaZo9HaQcDBinamQkkGbbFLALhIGwt2WOx1EZDjRvdkFgVnbiaz9elwTm1BGYA== X-Received: by 2002:a05:620a:1e4:b0:648:acba:3a24 with SMTP id x4-20020a05620a01e400b00648acba3a24mr3843286qkn.431.1645765687451; Thu, 24 Feb 2022 21:08:07 -0800 (PST) Received: from localhost ([2605:a601:a665:9200:97ee:8b84:aa35:fed0]) by smtp.gmail.com with ESMTPSA id 20-20020ac84e94000000b002de8f564305sm997957qtp.1.2022.02.24.21.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 21:08:07 -0800 (PST) From: Jon Mason X-Google-Original-From: Jon Mason To: meta-arm@lists.yoctoproject.org Cc: Ross Burton Subject: [PATCH 6/8] CI: use kas:latest, needed for the latest bitbake Date: Fri, 25 Feb 2022 00:08:01 -0500 Message-Id: <20220225050803.2517279-6-jon.mason@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220225050803.2517279-1-jon.mason@arm.com> References: <20220225050803.2517279-1-jon.mason@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 ; Fri, 25 Feb 2022 05:08:08 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/3063 From: Ross Burton As BitBake has renamed BB_ENV_EXTRAWHITE to BB_ENV_PASSTHROUGH_ADDITIONS the SSTATE_DIR and DL_DIR variables don't get passed from the environment to bitake anymore. This is fixed in Kas's git repo, so use :latest until a release is made. Signed-off-by: Ross Burton --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bd495cf9cfc9..66d213f575ab 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: ghcr.io/siemens/kas/kas:latest-release +image: ghcr.io/siemens/kas/kas:latest stages: - prep From patchwork Fri Feb 25 05:08:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 4244 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 EECF4C433EF for ; Fri, 25 Feb 2022 05:08:09 +0000 (UTC) Received: from mail-qv1-f48.google.com (mail-qv1-f48.google.com [209.85.219.48]) by mx.groups.io with SMTP id smtpd.web08.3522.1645765689262066218 for ; Thu, 24 Feb 2022 21:08:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=iQZs1tO9; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.219.48, mailfrom: jdmason@kudzu.us) Received: by mail-qv1-f48.google.com with SMTP id w7so5948055qvr.3 for ; Thu, 24 Feb 2022 21:08:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jI69rkV1ppSnYgLq2INCBk5yRRxVCyMDMZ4733yNUZo=; b=iQZs1tO9kEqCjjIr+L7Fjixc1RAL/iqUcMowt/N8Y9mLnXurmpQ6yTLf/VZR3Ief7q EVxhqdWvWvXFr7wWVdhkMYZxI5ZmUsT+z5xAW9OZ0qvAPKm03ezeYC6d8QN0WC8Zik6+ I7Kpgb69JD7W+xhnvIMBEMgSXrBK4a8byUeBiDwc6l1AJ0+yWSXQ+zR1NxBAiIURMvTO XHSLno1r2f1w1T7b34yfVtDpcZfaGKnz0Ddm+eqPXZMhu5/jplxdH4y+bjdil8ww5IDo bKblc5yctcRjYLjT4iMCIApkzgUCAU8SJsTsBTywlv89fvRXJgRYFWbd9ShAQvMJZT8G Tm/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jI69rkV1ppSnYgLq2INCBk5yRRxVCyMDMZ4733yNUZo=; b=eC/xusGhD4UvcjVSxO7hKMnsb43WfInqo0w8elvPE/fMP6pOwcHl4Gw4XsmijEk4UP UhcApfSv1xh9DqVJnmRbGBGbMR9OL3FubNSd6WZRvHi2y3eXxRYmH5Cta3DTMLtwWSsv 8HhcJ0/7dPRzUSxpqfAuM+hgbOZJ+bkuaRUAq5LfsI1FNEEqSnxP+1M9hBZOYmaPbrVu P2bCIqRZKrnuNdkRH8Zf0dIW6dP0V1MFdXLJdjnilneqYGbrJsyrDowCtAsbqHmohg6B tmQnZZT5JC1bcRusqpKpRnudvIFePLmJwp5IDntPFNplesVRnvQ8jxDp/o0jIM5LzsqU w9RQ== X-Gm-Message-State: AOAM533ExqzZ1pMzdGB8DtQRzvRcslJv7zF+yZSTmQE9W2rYVP28Diwn eOzkFn9HcWke8EtZ25o2pZ3A5Bl3mrIKfQ== X-Google-Smtp-Source: ABdhPJwIst4c3A1cY333RPlTqrjh9Yv5LqXCbQ1fzWQzfMMNk4BspA+Md0pGZHKqm0KgIrcMZR0ZuA== X-Received: by 2002:a0c:f443:0:b0:432:75f1:163 with SMTP id h3-20020a0cf443000000b0043275f10163mr4726963qvm.120.1645765688255; Thu, 24 Feb 2022 21:08:08 -0800 (PST) Received: from localhost ([2605:a601:a665:9200:97ee:8b84:aa35:fed0]) by smtp.gmail.com with ESMTPSA id q12-20020a05622a04cc00b002de06a6604asm905096qtx.16.2022.02.24.21.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 21:08:08 -0800 (PST) From: Jon Mason X-Google-Original-From: Jon Mason To: meta-arm@lists.yoctoproject.org Cc: Ross Burton Subject: [PATCH 7/8] CI: run utility jobs last Date: Fri, 25 Feb 2022 00:08:02 -0500 Message-Id: <20220225050803.2517279-7-jon.mason@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220225050803.2517279-1-jon.mason@arm.com> References: <20220225050803.2517279-1-jon.mason@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 ; Fri, 25 Feb 2022 05:08:09 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/3064 From: Ross Burton Run check-layer and coverage jobs after the building tasks, as we want to start compiling sooner and not wait for check-layer to finish before compiling. Signed-off-by: Ross Burton --- .gitlab-ci.yml | 83 +++++++++++++++++++++++++------------------------- 1 file changed, 41 insertions(+), 42 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 66d213f575ab..2a450ea3b4f7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,15 +56,6 @@ update-repos: script: - flock --verbose --timeout 60 $KAS_REPO_REF_DIR ./ci/update-repos - -# What percentage of machines in the layer do we build -machine-coverage: - stage: build - interruptible: true - script: - - ./ci/check-machine-coverage - coverage: '/Coverage: \d+/' - # # Build stage, the actual build jobs # @@ -74,39 +65,6 @@ machine-coverage: # VIRT: [none, xen] # TESTING: testimage -# Validate layers are Yocto Project Compatible -check-layers: - extends: .setup - script: - - kas shell --update --force-checkout ci/base.yml:ci/meta-openembedded.yml --command \ - "yocto-check-layer-wrapper $CI_PROJECT_DIR/$LAYER --dependency $CI_PROJECT_DIR/meta-* $KAS_WORK_DIR/meta-openembedded/meta-oe --no-auto-dependency" - parallel: - matrix: - - LAYER: [meta-arm, meta-arm-bsp, meta-arm-toolchain, meta-gem5] - -pending-updates: - extends: .setup - artifacts: - paths: - - update-report - script: - - rm -fr update-report - # This configuration has all of the layers we need enabled - - kas shell ci/gem5-arm64.yml --command \ - "$CI_PROJECT_DIR/scripts/machine-summary.py -t report -o $CI_PROJECT_DIR/update-report $($CI_PROJECT_DIR/ci/listmachines.py meta-arm meta-arm-bsp meta-gem5)" - # Do this on x86 whilst the compilers are x86-only - tags: - - x86_64 - -metrics: - extends: .setup - artifacts: - reports: - metrics: metrics.txt - script: - - kas shell --update --force-checkout ci/base.yml --command \ - "$CI_PROJECT_DIR/ci/patchreview $CI_PROJECT_DIR/meta-* --verbose --metrics $CI_PROJECT_DIR/metrics.txt" - corstone500: extends: .build @@ -234,3 +192,44 @@ tc1: toolchains: extends: .build + +# Validate layers are Yocto Project Compatible +check-layers: + extends: .setup + script: + - kas shell --update --force-checkout ci/base.yml:ci/meta-openembedded.yml --command \ + "yocto-check-layer-wrapper $CI_PROJECT_DIR/$LAYER --dependency $CI_PROJECT_DIR/meta-* $KAS_WORK_DIR/meta-openembedded/meta-oe --no-auto-dependency" + parallel: + matrix: + - LAYER: [meta-arm, meta-arm-bsp, meta-arm-toolchain, meta-gem5] + +pending-updates: + extends: .setup + artifacts: + paths: + - update-report + script: + - rm -fr update-report + # This configuration has all of the layers we need enabled + - kas shell ci/gem5-arm64.yml --command \ + "$CI_PROJECT_DIR/scripts/machine-summary.py -t report -o $CI_PROJECT_DIR/update-report $($CI_PROJECT_DIR/ci/listmachines.py meta-arm meta-arm-bsp meta-gem5)" + # Do this on x86 whilst the compilers are x86-only + tags: + - x86_64 + +# What percentage of machines in the layer do we build +machine-coverage: + stage: build + interruptible: true + script: + - ./ci/check-machine-coverage + coverage: '/Coverage: \d+/' + +metrics: + extends: .setup + artifacts: + reports: + metrics: metrics.txt + script: + - kas shell --update --force-checkout ci/base.yml --command \ + "$CI_PROJECT_DIR/ci/patchreview $CI_PROJECT_DIR/meta-* --verbose --metrics $CI_PROJECT_DIR/metrics.txt" From patchwork Fri Feb 25 05:08:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 4245 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 E1B09C433F5 for ; Fri, 25 Feb 2022 05:08:10 +0000 (UTC) Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) by mx.groups.io with SMTP id smtpd.web10.3609.1645765689896816276 for ; Thu, 24 Feb 2022 21:08:10 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=vY2QPwyd; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.160.174, mailfrom: jdmason@kudzu.us) Received: by mail-qt1-f174.google.com with SMTP id z15so1532764qtx.13 for ; Thu, 24 Feb 2022 21:08:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rr9oBdYtR70FC31dFsvIR0gHwBJSclYTHy2UGwg6dQw=; b=vY2QPwyddgScKY64Ed8lyzw1pXfQMTZL2o5ZATwEkslpiQNuBRxY54sCEnVHKCpXwe izTPh/H8GzVMKkeV+ccDxIpHSPkxzpP7MUXujaHnkD1OWl7SHeKrx3asg31e6G8xmNDr tz7KHlGB6ybI9ug2jJ5iU00rECtBspVXm120KR7QZs65i9PHIx8eFMo+vZjaACfDeYbO 5dO2YDyyG8H7/pnYxi5hSUq4DfdZhY0NF+ms/YYtgBKBbg1nlZgeYWbFaBIT2wAbD2U0 WPxaMsd7kTE2p34g040RYcKNMDci04Z/3GRiRBB+NdZqU8gItS/CueN119NPBdma1+pC 2lJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rr9oBdYtR70FC31dFsvIR0gHwBJSclYTHy2UGwg6dQw=; b=CbucbOpmKpy6JhKTFfw5xjJ+h84va+mE30WSqOBHw22Rr7dKkiarQl3/vlL1O0nRSm qJnJ3gQw5YaHAZWmstn0jBnj6IdWcz2ERkdsQ/Z67BU6R6DJqC0mFeL5JBc6gIukMfv9 iCS7xVwEL2SVk6KBZHNe7cgkGMj+CZI+jyvN8Ae6Ap5/HCXEyg39cRdTymjTPHgrXxrm +lQC5VifBi4IZBEp77H8ZXdb4taF7H+DlR8nLFnxtDo5DyC7mrckdRDpEIAal4dukMpS 7Qps/8T6TH8UHhsHBRh2PMoZB8+VPo5LFGNPAetloz4lzFOz5scQfEgPpWT4jKfporQg 73tQ== X-Gm-Message-State: AOAM531Ql2cNUV+r8OD1dSrYapjwQVIKe3oCRZM3A7slcHvLje1ImZZ+ 2FpIBBQJ3GOPKNbpmA/JHOEGPFaXQ+JIiA== X-Google-Smtp-Source: ABdhPJyvv19IGSZHbUrfr+SAUBBMb9ytxbh1QRs7UpUUAfeiroPAx1nnj9wJ/c4HBuxUusp/0JqkXQ== X-Received: by 2002:a05:622a:1394:b0:2de:6af2:406e with SMTP id o20-20020a05622a139400b002de6af2406emr5531312qtk.527.1645765688922; Thu, 24 Feb 2022 21:08:08 -0800 (PST) Received: from localhost ([2605:a601:a665:9200:97ee:8b84:aa35:fed0]) by smtp.gmail.com with ESMTPSA id h24-20020a05620a10b800b00475cbe16a36sm747647qkk.133.2022.02.24.21.08.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 21:08:08 -0800 (PST) From: Jon Mason X-Google-Original-From: Jon Mason To: meta-arm@lists.yoctoproject.org Cc: Ross Burton Subject: [PATCH 8/8] CI: temporarily pin meta-oe to pre-python-wheel removal until oe-core catches up Date: Fri, 25 Feb 2022 00:08:03 -0500 Message-Id: <20220225050803.2517279-8-jon.mason@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220225050803.2517279-1-jon.mason@arm.com> References: <20220225050803.2517279-1-jon.mason@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 ; Fri, 25 Feb 2022 05:08:10 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/3065 From: Ross Burton Signed-off-by: Ross Burton --- ci/meta-openembedded.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/meta-openembedded.yml b/ci/meta-openembedded.yml index bed338dae05c..91343f0f5af2 100644 --- a/ci/meta-openembedded.yml +++ b/ci/meta-openembedded.yml @@ -4,6 +4,7 @@ header: repos: meta-openembedded: url: https://git.openembedded.org/meta-openembedded + refspec: 44a810f34e20c7985b0bcbdf71943799b278ecc7 layers: meta-filesystems: meta-networking: