From patchwork Tue Aug 12 17:41:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Gundlupet Raju X-Patchwork-Id: 68408 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 7B3A8C87FCB for ; Tue, 12 Aug 2025 17:42:05 +0000 (UTC) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.50]) by mx.groups.io with SMTP id smtpd.web11.80876.1755020516330497537 for ; Tue, 12 Aug 2025 10:41:56 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=XZ3rfRVG; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.243.50, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=a5hOKMXN3b07KZKn/4qGlskvXUCsWfm27WmGtKFCPMFTDyRtHozigATx4jSxbpcyoOj0Iv4psWxk95GTEYzZQPAfns+bscr/ZYQUAx267c1iowyNkh5YAbDb1/GPmB4gFdPllPb0oyOcF7+MzBncmsXfp6uS3086AXQf3Vvw7HPuJqgENaPsGnwY/hbMh29IeSog8bV7HKQGYFrS8CL2aXqa1c9xbQxBvxW3sRL2mScY1bk0y947lL/uErs2AoIwOT3lQ8BvgW2YHzB0VSQ4TB6QtQB5Q98kBL3KO3P0BB1Yiz52pjqoYsTzTzUiYBtJoB9qFAFumKhfNmeBLyoH0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lCJRxRRj9LPhEtniwOncZ/BlcT/pBhuu4y4kkbtB6l0=; b=IFlrvMvpjm8whPrSBAPovbqgsU+n6siIZlJLDJ04IcKgiCiQKWodjKs1zVsk9zXyqRHKc4Ps3+c+lffdIPc0QIYDS+5D+APJyLIAa7pbDLZ+6XDAbsuMpwXsEsugea81H8hX4MMxrbQO3tWYwMhNHOIszFcjixpDFUwF7xss6A4igLzpo915djg7lgrzgqQoKyC05OMs2ABzAiuULE/4qxmBN6Noz1wYyU5Imp6U7EplX/CAZin6BPAa7O0uBoc1MjAiihQNQizlcKszfF3kLYwJ8G/6f8JIuJjgsMR0s4Amnjxv2h48OAdOdjYsrTNtYObNUsyW9msIQe5wfZJ4Yw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lCJRxRRj9LPhEtniwOncZ/BlcT/pBhuu4y4kkbtB6l0=; b=XZ3rfRVGOsKLju+BThN2m+notwRj30PmRZQAzwqg5/a8eTd4/wy7mxf9X44W6fdEUtzAsX433pF8T+mbggwCTeZXxZKUu8GqTZbzf/PwlctXPpw+85vP9OW4VALMpyAP7IPIf41rOPfHPunwfIUdNRSuqtcpDzY/rMFhxQJWt6s= Received: from SA9PR13CA0100.namprd13.prod.outlook.com (2603:10b6:806:24::15) by DM4PR12MB5793.namprd12.prod.outlook.com (2603:10b6:8:60::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.15; Tue, 12 Aug 2025 17:41:54 +0000 Received: from SN1PEPF0002529D.namprd05.prod.outlook.com (2603:10b6:806:24:cafe::5f) by SA9PR13CA0100.outlook.office365.com (2603:10b6:806:24::15) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.14 via Frontend Transport; Tue, 12 Aug 2025 17:41:54 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by SN1PEPF0002529D.mail.protection.outlook.com (10.167.242.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Tue, 12 Aug 2025 17:41:53 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:53 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:53 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Tue, 12 Aug 2025 12:41:52 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v5 1/12] qemu-cortex-a9: Fix runqemu errors Date: Tue, 12 Aug 2025 11:41:36 -0600 Message-ID: <20250812174147.130972-2-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> References: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF0002529D:EE_|DM4PR12MB5793:EE_ X-MS-Office365-Filtering-Correlation-Id: 6af5dce6-d0fc-472e-621f-08ddd9c786a9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|1800799024|376014; X-Microsoft-Antispam-Message-Info: GLMky2T3B7ub1XceWc9JZmhX3pDF1K04To9+wheGtFNx2KgPo1jziKXvLieBb0lx+gT9IVafAT19uw0I8L5YN9CBKbULf995VEum58U0Sq8Hs/LG3SUXbHXX765xEdEooincuNwqGucSqAxY6N4ZKKp7GJ8iyUMySJ5Fm6512KjTGfqOgJR1KZtyZluWOtDM5heaSIcu3X+zP/Sacwq0qbKBijMh3nVNhYfZmis29kn9/LjAbE5elGDeeoqZS7aEZ7uEKMYunuDu/peItYl724YZCkCKj6gZxKcu+fc/bh00l+N7h15knf02otMIFMpRGl59ZoBF3OeZ2zFGl/ukbgNQXVWCIrS45fvGh1yZlukjXL2M3EEhgHhvsX5cRjcU6A5g4Mk8trqxXor1d8VDwFflTMKv1Em5eIOPUkbwju8BA+JdAsQ7rze+fm7KrtQn/LGYPk0VM3Fku0cYaTtZ7zMmDDvA7sZvWzr5znWsJ6PoxCVgeAHZGT7cA/6KD0p28/JKkKzoya+1yvaZXd0KrUKWiRObU8OeWizMMNPavKmnORPS93f+MOtN3tmCucSPIspsQ9nzygrL3RJksLgycuZLva2IbAznWivQAGWjcrPISwFrsU673J1jzX6C3oDEPbSNKbdPw5VofRWrB3HpNqOkxAG3+f9KdkCbliqUrq+IkBvFT+UA5gkp+lJ42oDl8hn/mC0CZqDwjSLFmfkQBYOlNFWgUWdLZrnhWB0ZuVHZ6tIvs0WdW9uGmrJu/axUDK70WJbPxY7r1OBF3SRtOr22Puut2sMnCGhkfy88LLeWmu6SrOa79qX37yfGZsvyjUEEOqg2eIxrhfQgW4RIebnwpvIcp5VXfi7CBOkoTMCVt3Ki9Oo/Vy9DjtRnVMrjpAhYYFBJYWlIfNoKz7gfnFyBWKQpiNpcjqZpLHn0VShvcmtmKwZ8QQpxIeaDKVlkf+GOZLIG7ylVqpiHVzywmgksJ0OFf4cgIuo01QbfRasCFQJzX7ws7DEnP13P46Zr58P9Y81zCHd20AMIVf9mYnSt9RGba5K2+jDXIHuK6GcOqEc6uZ6O+4tWBIX2z/yG/uY6rp6c2E8TC5b2okD+FCRJv1x6sZeqoGdbi4zZjCapoRJCZR58f7fOorQsWTaAWoh7K3Itn5wwX8FoeAzbKIu0W39HOStsiGXLtsVhZKeRE0ulO/Ah7UN/KxdR2jbamytWGbQgDfPBaQTYsQGajVbTrAuOEPdyj5uVYtSPRiqQwDToxrr5d16XJULYF1Um9u20GBBtR3Dm7eW4kTj6HAIqLFfUjhVB3+ItTe7Tw8UKInJeX26auvjHkN6oRcosrwRj51pz13b0aL5XBQB2I+qSCz+XzVD8EkTQqKCVXsfMz2bZ8LT5sPl4cgB1pagi/9Rt/2wHThrwNRYzgCUlchPdaB/xDjfSPR0tzk76lLIL43I7CHiczgBHsro3/ssXGNLPDfkdbFmlrpZaTOWmTLyxrXyD03g4qLa5srQdWdl+JgdP1f81f2muTojtaw1W X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(36860700013)(1800799024)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2025 17:41:53.6788 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6af5dce6-d0fc-472e-621f-08ddd9c786a9 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF0002529D.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5793 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, 12 Aug 2025 17:42:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1961 Fix below runqemu errors for qemu-cortex-a9 machine. runqemu - ERROR - Failed to run qemu: qemu-system-arm: -device virtio-rng-pci,rng=rng0: No 'PCI' bus found for device 'virtio-rng-pci' Signed-off-by: Sandeep Gundlupet Raju --- meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf b/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf index 9dfee42..e1b026f 100644 --- a/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf +++ b/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf @@ -14,6 +14,7 @@ QB_MACHINE = "-machine xilinx-zynq-a9" QB_CPU = "-cpu cortex-a9" QB_GRAPHICS = "-nographic -vga none" QB_OPT_APPEND = "-icount shift=3,align=off,sleep=off -rtc clock=vm" +QB_RNG = "" # Zephyr RTOS settings ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot" From patchwork Tue Aug 12 17:41:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Gundlupet Raju X-Patchwork-Id: 68409 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 771CDCA0EC4 for ; Tue, 12 Aug 2025 17:42:05 +0000 (UTC) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.107.223.53]) by mx.groups.io with SMTP id smtpd.web11.80877.1755020516412969832 for ; Tue, 12 Aug 2025 10:41:56 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=jVdd+YSN; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.223.53, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=VoXEYbIGX4Bxx6AZQzvGGfwRqB+Yao+JErUwRgnesMHFa4UWsWmJ49Cl6SmUaPEhu97tGPf2m1STcnE7A3sTSqQDYxpHi3/JiEJX3DB1JZ1Kr0uEoSFk9wGDlNo6lOA/Tp+joiAoECXeUaiDFraGpRjvjPKbGEo4P2y2BOf6PO5SmBAuyfHYD7dkZHyDYG2E5QpnsFQ4OFUmq+6mX2ZZDAFMYnOkBasaRcJ31Pqzrzdv0WuVi2lL5MrNJ4dzhaeesGhzQ6qhiWivynGcysJ1qAWCPirkAv7dMQUSPChCq+Ioinih3FrZZtXzz6ABCRaWO7SlBovnoLEwU6WTxRwgVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Oaw6CdFD5cVJRWO5o57yStVa5vvl2soKkyXSLYpSZD0=; b=cmDPYKqMeubGCdSf6S06c3YrtABey6qJuPHyxfdMXWk8H/g3CZMq89MjYuZYKJT0jc4zQTLclw38PSSwV0YbJ+2PDmTdB4ujdfajRZ+YG3SahvFemOIgRshh1wl4dXawzOmH69EstCAIdCyfo0gdQqlyD+DDXVjr5sXCYSjFHflaXVn/ngZCCmi/pYolG4rIL12loyfJYamvZwjpvdUOZJ8aKdWG4r8p1F0hnQPDQmnev6eZvHx+rK12+Ol6DHc5AW+rb7H/hUB4YEQLLDgQ9yTnlemKQ1vRDakYBJ+N3PV3/YDmNyNwLmdwwzGasPSP2ZgtUtyuc5sNfU4UlR54fw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Oaw6CdFD5cVJRWO5o57yStVa5vvl2soKkyXSLYpSZD0=; b=jVdd+YSN7Ra3ilsHYcRtCMCzGhJk94i7/pjQMHe+hJj71oEZftqry5tfIdV7bn73rt2kwsjye6WAjfRU2xiLH1FIAxMkqbhNpxh/2t1wuO8w3vibjMoiT1xTeGcnIM9wcfhy+ablit4IJR/B5Su4jirPe6XiM/ekV0QK7UvSu38= Received: from CH0PR04CA0104.namprd04.prod.outlook.com (2603:10b6:610:75::19) by LV9PR12MB9760.namprd12.prod.outlook.com (2603:10b6:408:2f0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Tue, 12 Aug 2025 17:41:54 +0000 Received: from CH1PEPF0000AD74.namprd04.prod.outlook.com (2603:10b6:610:75:cafe::51) by CH0PR04CA0104.outlook.office365.com (2603:10b6:610:75::19) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.14 via Frontend Transport; Tue, 12 Aug 2025 17:41:54 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CH1PEPF0000AD74.mail.protection.outlook.com (10.167.244.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Tue, 12 Aug 2025 17:41:54 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:53 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Tue, 12 Aug 2025 12:41:53 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v5 2/12] zephyr-sdk: Add new inc file and update to 0.16.9 version Date: Tue, 12 Aug 2025 11:41:37 -0600 Message-ID: <20250812174147.130972-3-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> References: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 Received-SPF: None (SATLEXMB04.amd.com: sandeep.gundlupet-raju@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH1PEPF0000AD74:EE_|LV9PR12MB9760:EE_ X-MS-Office365-Filtering-Correlation-Id: da5a7c39-9256-4ec2-e30e-08ddd9c7871a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|376014|36860700013; X-Microsoft-Antispam-Message-Info: gXv3WaLvq+8SnrYWVRo3z5H5liSwC16CdqJIvE1IdNh9aYd8FOGlCfqOVQpLT7Ide9ejvH2VGZ3RU9k8XvGxwCX6Beo7CavqbKUtW+PmmFzY7EKvlFMsDzVEL9zyHyFSAH3wIgUUj50e2vd4IKWhuGu+jEDRBRYgBMHMCIqBfJra7k3BN4LhicWSrgXnDmbdVRZJiogeEulEsa5oqqaSn8k/fieoYxn4VPRo2AYxNxP/Qv1qw7lSfRt7ArjE+6fPUZ4GV6LIK78J1Zc7JYASQkLvgSMqqM7BWPou1MXPFS7F3YjPhjYPtK/tqLGsNilDP1WRdMOeROJrYXIjNo2EgzlEmfkLBMlzcvDan0k8IHRrVBX6vqptw43BEyfWJmbBtHlXaI4Hogn0AsqrDHtHqd01daPHCOwSnUEBsCsIDYPma783Ghh6KTNBGB/sW+j+TqNRw7OjJ9LtQW0lsPMDTirLYVyv9Odmy5geGWMtMxu1IZ3EdenIE3wxDL24s28CDZmRDPS9Bwp1q92ptRaarU4P2QyYuhVuUPitt6d6Wilk52uNOfBWK+rycUcpu+Y/0Dl1IeOjSC9tB4Sa1zM972I00bAIyZDFkqeyqoO7g4DmnQI7wYoiof6ya6W0+Pr089vxrhsSU6gYDpxM5DgDSA5hUsZXVkyJSBeMI93hPDekkpkOf7TPHX3kjtzhZ7fCNHqu1kbuRmaRAva9zJy0LY5eCgeI59Z95arcV5tyXMgm7y4WR7dpPl1S38jFOmikZQjMtfuGrOrcOrecPcJBN98+0zrrvMzQqN6XtixoBIIW9gm58es2Oxp9MXatOD7BZ1BtqkOoGhHSuoGc9esSXHldNDhP+9yf6ivEe/YqHHF7guYGgqNuIKeasB0YO2G0m39TjKYtU5p+CgLDBpI3pJaPf9owDdeIuKDm5Wlk1Kl3VF+BViWBJcGzsMIbUPZmTmu0FKnT4gb5hONDrkpOZaITXSkH6ASrjal8KtV0ibLo+WTpHssKzhSBsasyZt9FyoYvzgvHGnROHv20SMPgFO3Vd8GEIddyeHUJj6MKuMrPXwgjdcnXjBARQV+13SWf0+qTxGYuAddXFXWPtMlN7Zp7htO24Cn5PRsZdUvwhcFrY1CyCYKOFtVhO3081Z7VGGHKf/dZVWJHJfCGRtMU1mP1sxVhpWik8aSMHdxAflFw2EW+cUlwbuUtV5OieCFwbxRWsrRuvdBAsY1li5rJ3L1BdY+iaxnSjYC3C02dPufnxN9TWuROq4vcemRUw/84sh3TqhX2ooiROiB1kxkO/j6i9FxS++DDd4jJ3rF7WvojenoP8GrKiFWQtWzDMUvwvCbaQVG7jDo0fZ9OrJsPA7lDF27iruCub8aFR4HExrLCfGba1R5iULWRwvGDyrD4UfRidIy/MQJmFuPFdCdfR0KffUKdCN27AD78B/YeU+jl/F8vYBb6GSq/ts6brHaJ42Wf0iOwAyc70CeYndT5OyQwwcBy7LpWBKKnvHtsFFbleq3vGNg+z2c6VARZNuOE X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(1800799024)(82310400026)(376014)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2025 17:41:54.4361 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: da5a7c39-9256-4ec2-e30e-08ddd9c7871a X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000AD74.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV9PR12MB9760 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, 12 Aug 2025 17:42:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1963 Add zephyr-sdk.inc file and move all the common sdk implementation zephyr-sdk.inc file to support multiple version of sdk. Also update sdk to 0.16.9 version. Signed-off-by: Sandeep Gundlupet Raju --- .../zephyr-sdk/{zephyr-sdk_0.16.5-1.bb => zephyr-sdk.inc} | 3 --- .../recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.9.bb | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) rename meta-zephyr-core/recipes-devtools/zephyr-sdk/{zephyr-sdk_0.16.5-1.bb => zephyr-sdk.inc} (83%) create mode 100644 meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.9.bb diff --git a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.5-1.bb b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk.inc similarity index 83% rename from meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.5-1.bb rename to meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk.inc index 0b608bc..ee2e63b 100644 --- a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.5-1.bb +++ b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk.inc @@ -14,9 +14,6 @@ SDK_ARCHIVE = "zephyr-sdk-${PV}_linux-${BUILD_ARCH}.tar.xz" SDK_NAME = "${BUILD_ARCH}" SRC_URI = "https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${PV}/${SDK_ARCHIVE};subdir=${S};name=${SDK_NAME}" -SRC_URI[x86_64.sha256sum] = "01f942146d2fc6d6afd5afe6f4b5c315525d2c937c7e613d3312b0992b33bc68" -SRC_URI[aarch64.sha256sum] = "1749b6891a6a6e70b013d8b31ff067c5a94891f651985a6da9a20367b2deb6c7" - do_configure[noexec] = "1" do_compile[noexec] = "1" diff --git a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.9.bb b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.9.bb new file mode 100644 index 0000000..ba20341 --- /dev/null +++ b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.9.bb @@ -0,0 +1,4 @@ +require zephyr-sdk.inc + +SRC_URI[x86_64.sha256sum] = "9b4b96f8df594801a84fce1aa112a84cdfcd430efc2a74229907b6421fb859a8" +SRC_URI[aarch64.sha256sum] = "a8c1731ad602553304e539a7ade9cdb34caabc1850d581585cbba0372a7493b2" From patchwork Tue Aug 12 17:41:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Gundlupet Raju X-Patchwork-Id: 68418 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 BF494CA0EEA for ; Tue, 12 Aug 2025 17:42:05 +0000 (UTC) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.59]) by mx.groups.io with SMTP id smtpd.web11.80887.1755020522795686043 for ; Tue, 12 Aug 2025 10:42:02 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=gcdo8Rak; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.244.59, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Fvm9/1xl/o+fdcPrqwbTSaYAO9m2VaEKkoj+ORjbeC7iPWfde7YgA8pRjwcURk+SnOC9xvaJatnH/f2SnCGdKGh6+fL89iPsiqWLIOi2pgZHhoqDz27L4I/GD3JEFhNndXlB2qeVX/DiZCguRO1hcEJTnSzQ6emhVbF1J1dqoQDhko2PDg2POnL0Bfz7NVBQ2QPJiaG36S9un5D2P8McvnweAdFNntoqYjtPKe3AqHJcxGH7SBPuYIXK6qjtfhO0Pp4GnSk2IKkjVLZSVo1Yx012nZV6I7djOt0rOw4fJuHI+4zn0O4XasA3AG4YpEzgqPEaLDCYSPReEOqCJJduLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/AjUxczb+QlNl9El3k3t4lxY78l+yzDIYGk1Hme7d4Q=; b=P5YHofDCfStSfF9LUwQtAGwr3HpEavUfTt/gHZIjm2v8FyuMWmAWoXi0qs88263rlTmUEvC80k5Ld8/o8m8V40/MdgPS0z+tnXUM7lr6diOMM7II1VZljoRr/nmr9ugMnNlz4fIqRZvIyQfBUcIUna/xiafsJC1aWi0dCaLF+OTVhs86W1G+bfzP1eJrGSXmeKh8IGrEO4HRggI6yqvckSvLkmWenkEAZOerit972LJPMUUFUUzvAyICnbgrO7TTifGMg95gXtXTrztTClFS1zvGmRvqcZGouAywNNwfnBGaI+jpBvNFBUCRfJ65xmerDSut9GP966xTz7SmH8rdEg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/AjUxczb+QlNl9El3k3t4lxY78l+yzDIYGk1Hme7d4Q=; b=gcdo8Rakyr4pbQ9yW+AIwAIEfiTtIxN6hlmw1XUV6PMkCFq9HtEH3fBFz3Z346cXM25IPQTginRyeGD1mD2YYLBerik6c+Bg7m/rcqNLG69CytNma8ylYJqxBt6Ut+yW2B8yHu2XG3dtopALKm+eqUx7wzKeT0O9gt+/iPGYzgo= Received: from CH0PR04CA0108.namprd04.prod.outlook.com (2603:10b6:610:75::23) by SJ5PPF183341E5B.namprd12.prod.outlook.com (2603:10b6:a0f:fc02::98c) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8964.26; Tue, 12 Aug 2025 17:41:56 +0000 Received: from CH1PEPF0000AD74.namprd04.prod.outlook.com (2603:10b6:610:75:cafe::f5) by CH0PR04CA0108.outlook.office365.com (2603:10b6:610:75::23) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9009.22 via Frontend Transport; Tue, 12 Aug 2025 17:41:54 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CH1PEPF0000AD74.mail.protection.outlook.com (10.167.244.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Tue, 12 Aug 2025 17:41:54 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:53 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Tue, 12 Aug 2025 12:41:53 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v5 3/12] zephyr-kernel-src: Remove PREFERRED_VERSION_zephyr-kernel Date: Tue, 12 Aug 2025 11:41:38 -0600 Message-ID: <20250812174147.130972-4-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> References: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 Received-SPF: None (SATLEXMB04.amd.com: sandeep.gundlupet-raju@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH1PEPF0000AD74:EE_|SJ5PPF183341E5B:EE_ X-MS-Office365-Filtering-Correlation-Id: 5a7bf701-fa9a-410d-f327-08ddd9c78751 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|82310400026|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: Qu65yStkzJgFjDd+cOtPlt69emkV33tIhfmD9jz6XpMc9LVBI6bgvHZzQN4ZkBGZPgcBoQiz1gucJlwSGyAM3eqUpfMjEVStzxs5uirnXtxwbqg+NVdOuh6+sNyD5jXUd8JO9RZk/NradyCDTlJEjfePL7S6OBRq4nuPoIFv+3HZcHySNJtnFTzcAe4yLPws9jtpHJCQuhncNiuxl6qsY9RbvwIrcs8APxZJI640e31a2YpEBYHhIR6QjD7kuPLMUR6X7U4cTKuRJpQLqIUkAUjz33qvRsUM9VLQ/K6fIBzG54G/fse/UlDdmV8mp/yj0IoCeKDVS76tQ6YHd5hAmmm+OI201le8TT77CjHJ160CclFuSRJ63fHTCVjXajFRx2+d89XQYiKAtCesIuXczxfQAz3durfGemeifrRqN1Ro1muxSsmJve0y2ThJsU2evJYvpphzMdR+TYLjMlsRRDR8wYJq4+r5FN7Af++tWtFcB+xacfxY0BBSsuxTDA/u/brb4kEfaAuDgAcFcUJYdimsHtIUu2qdpdGT2E/iZL9/0P+5vwIwHIFs2m5i1Cclp4X8gr9mxv9qm9IfiBgTfhqWacgETXjlGIJD+Uce27MTxJTly1Y8XXmzkLYthFSygw4rOfLZfT/hTCMvVsHvT1/EdRDnOp++Qpk+wgG4let0dG7yw+9rBeoG++5UG/ljsfalrYLrJuHvJmvo7CG3FBpWUN0Hqc81gl4B7niZgTZYCQseSfR1G3y8guCyEYLu0o4EfvHILWnraGzqAh/1izVKFaf1918MzLIvM5LSlx6NJZ2ihn6ro8xds5ueGJoy75nD9zKW/LBjmfn4u43xewU5WCg9BrtVDHThDSavqn7zjPd1WAciJtcfMfhbPx4ZnGE5vRUivIbVJski+/0xLjJjplKWmjKChuzLpRUhxWeBpyfadIXLQ1tRftFa31PYUfSK6Gtn1czdA8aRSVnEVVFb2ylrJIEzTJkmAWqudgn6ID8MAFPzfelQvGxVPrA9g2fhUCORoHou0KqsN03M74VmusyQ/JGM5DIdBKazdaOYz+5/aYj9C5SskmDni12y0hIkHILuad7Phnv6nTYUnAzUizGXa4QOt9WmzxwFqtSS3VLRvBn0LhPh+VQ6qI48AcMUMFCyrIepTB6Smt5rmutPLkV1XvcvsrF2C8N7torn6y5oLq3KTzr2eo0gB/lX2Ki9gXknKIqz72KuNELvEgIbv4VmspvK4E2WLPNtaYJPxyG/xer42pkhXlfzrqaxoH2wN7PVShevuAl8f6ZS60yGxhueVtFs1fw/VC7hrfIcwHIhZ2rGnBu2eyyVZgVavZwB+Gp2gB0bPW+GcqvxmDDAYGfhfxKdMjx9PuhuVeIZ8KfCsU1j5oVeCjzshMecBM5gdiWNoRv/YSCnczlKUbwwQxsvzshEpM0L8ZKFMHsLcbNAmQLsI8Un5CGsugDDwN6PZSjz4NlnEf3fO1HRSVwR+B5R/P6eq6e12OrsGdjJpPD5JfW+2M6AztrRrNdQ X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(82310400026)(1800799024)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2025 17:41:54.7918 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5a7bf701-fa9a-410d-f327-08ddd9c78751 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000AD74.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ5PPF183341E5B 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, 12 Aug 2025 17:42:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1969 Remove PREFERRED_VERSION_zephyr-kernel from zephyr-kernel-src.inc as this variable should be in global configuration file and override from local.conf file. Set default stable PREFERRED_VERSION for kernel and sdk in layer.conf file. Signed-off-by: Sandeep Gundlupet Raju --- meta-zephyr-core/conf/layer.conf | 4 ++++ .../recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-zephyr-core/conf/layer.conf b/meta-zephyr-core/conf/layer.conf index e1bb263..e355b3f 100644 --- a/meta-zephyr-core/conf/layer.conf +++ b/meta-zephyr-core/conf/layer.conf @@ -20,3 +20,7 @@ LAYERSERIES_COMPAT_zephyrcore = "kirkstone scarthgap" PYTHON3_NATIVE_SITEPACKAGES_DIR = "${libdir_native}/${PYTHON3_DIR}/site-packages" addpylib ${LAYERDIR}/lib oeqa + +# Default to a stable version +PREFERRED_VERSION_zephyr-kernel ??= "3.6.0" +PREFERRED_VERSION_zephyr-sdk ??= "0.16.9" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc index 0b9baac..6b2b697 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc @@ -11,6 +11,4 @@ inherit cmake FILESEXTRAPATHS:prepend := "${THISDIR}/files:" S = "${WORKDIR}/git" -# Default to a stable version -PREFERRED_VERSION_zephyr-kernel ??= "3.6.0" require recipes-kernel/zephyr-kernel/zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc From patchwork Tue Aug 12 17:41:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Gundlupet Raju X-Patchwork-Id: 68415 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 A0A6ACA0EE5 for ; Tue, 12 Aug 2025 17:42:05 +0000 (UTC) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (NAM02-DM3-obe.outbound.protection.outlook.com [40.107.95.89]) by mx.groups.io with SMTP id smtpd.web11.80883.1755020519967252143 for ; Tue, 12 Aug 2025 10:42:00 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=wHX5V6Wc; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.95.89, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AEfd7vJUNfg0mi05k3GVIMBIqbhavkGg00Mj0sCY00tYN8jKyRRl62kc6AWctLmKtw5zlO2DG6ExqYZJskdoYHsyHAQv+us1vHcnQ81MmybkEo/UTUkQZGe9orSGFtkYO5WawKaNOtBPPj2TOEGmGuzPEIytH/RUjyjrLRnbsP1NqwplohMQ6OKl15IiSU6WpeVByAfXAyDdKnr2PG1wyRPzHAk50NuHzaCu2ABbBz6PDOD70Fn+M97wGEOZDWTCbnz2xXlGFFCqwP7zE85beG1YIKr8dmLWfKBfERnpqWpuww4W2+otD04UAdkTiNXQHR6FvQdDNpuAs11kMAcszQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=libHPKrEdGkJD/iLYxKCQC1M2iEgtoZDf4BbATkOwjo=; b=Vw83bHj+niSFN5NbVDanjKA3FZDTXuhh0CrDdXI/o/YmNjJRPAnWNtHPLl4MZsNOGgyplt0P3tUwLqZOkIJ0/4fgXqZ09HThG2IyPNBIIgvPdgTKK0XMLpdp6IH49MBipZ3P9w5KgFdi8Gh6utQ1gXuh3uLoURMsaDFMm0jvmTCiZYeF0ur6S0EWcNUPfC9mQkOB6FzgE3Cz11S8UmfJCItY3PIuW4MHCTlqp87d/YnRMFkQtiQYvmx1VR6bmD+qGPrqtqLCH/q/WEpLHGh77p1IOMCivjFhHI8RZONZvuwDFrr4o5N7xP69VBBJg2FYkn3bbB+N9hgJhwg2jzrefA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=libHPKrEdGkJD/iLYxKCQC1M2iEgtoZDf4BbATkOwjo=; b=wHX5V6WcBjVKGXK4mcaEFVhgxj7F3iZhSs7ETJ82bsRlnaW8LFZoj0g9u6akwbMZJhs2PU/lDFH3uKAtymogmjyCGMJZmtyMhMnCnyC0Nqy5V2ZaCPLYpVRc3HgLT/vvUJ3zY6I2pSIarDqjaoFPbkdhXiT95xQOcQns2gXMmEQ= Received: from CH0PR04CA0097.namprd04.prod.outlook.com (2603:10b6:610:75::12) by IA1PR12MB8309.namprd12.prod.outlook.com (2603:10b6:208:3fe::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Tue, 12 Aug 2025 17:41:57 +0000 Received: from CH1PEPF0000AD74.namprd04.prod.outlook.com (2603:10b6:610:75:cafe::12) by CH0PR04CA0097.outlook.office365.com (2603:10b6:610:75::12) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.14 via Frontend Transport; Tue, 12 Aug 2025 17:41:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CH1PEPF0000AD74.mail.protection.outlook.com (10.167.244.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Tue, 12 Aug 2025 17:41:57 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:54 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Tue, 12 Aug 2025 12:41:53 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v5 4/12] zephyr-image: Add image artifacts to output files Date: Tue, 12 Aug 2025 11:41:39 -0600 Message-ID: <20250812174147.130972-5-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> References: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 Received-SPF: None (SATLEXMB04.amd.com: sandeep.gundlupet-raju@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH1PEPF0000AD74:EE_|IA1PR12MB8309:EE_ X-MS-Office365-Filtering-Correlation-Id: 68c63b32-d83f-4536-5747-08ddd9c788c6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|1800799024|376014|36860700013; X-Microsoft-Antispam-Message-Info: 4Hjvp6Qe4SAR81arO6Db/URq/D+wDVxe7paZZIPbOEd9R7yTqRT9z9u5pjtQCHPBBgG9QTWjg0017v788n74glbiwm91Ifxw/2QRVup58oejLlEO44ymvOj5AErT/JMyrTNyqAyaFMPp0mHpedTCRoqAe6m9SCngyAFyHmCweJckBWebdKq9vuY3D1+1o7fba4WdXPV3GPZq7NOAP3+f0Lx4T+p2luPJup846UTghLcxCv3mTMjfpOLk1J9ZppP+CjS7PO7DSzW+pzv1jbghYL59YyC+jdRbu2WxXWxNxOtGvxGQaCYUIiKXvS1gFoAZlsdQWZvNN6ZodZvqOfKwtGdi4xy3XzJdbG248S0oUbgzNp7O6qGgXLIbsZKOPb/9rQ1nm70RhVEACYS8HirZ/tVORezkQEw3YUKZBHoymzcGwlIHjGXOJQYVIKYeq9MyaruDZZ74aOvzn9CbYEOLisS9UMrWf1731LZ7Zosfamisvv7npF+kvZJgHk0BiT8rAWWD7K5Bj5uTC+3KHjB7cqo9Gsl0Zlx72RlUkHKj2NXg4e5m0PxbQ+/CKv7p9LPhD3nBiUwy9NYWOXTfDjN2wohSyZVNeUP9IlES/mf+J3jfqT+Fzt8Fi21nMKvhu2mFihH/8paMBMYKVtWqaYikrdgEH8TmVZlO72fdHK3rNkLbpQ48nNRkKczQyZbjkhCKoRHe1Ciq5pOVIxZOsmPxTNoBldFvGCOj314qNZ4GJjWDxTUd21+YjEQd23WHUM5jf/mO30gV7ByO95JMZQS5f66td9miHNuSOkq89zF2j+5Gprt9Hjntd8XhR3vgZ8Ymqf0B575YvfPXIi6VDHOo1o9cBXXD4lqPz/m10RR0fVUZhqEVPNxHy6kxFhlyo/pJQNA/1FeCWO5Ty1Hnn+b08C2yXoGYqmusmNVDiXFXDhGm8PWv/pvHbq58WUpl1Hz6ecqnim5kIMG4odj6dWM+INY5SI3AlvjT/wM1En/FpiKaHj9oYlrxeSYKmOTnftUEWAe6LmZlaqIMrevC3g7/Sga8pN9FioQp4BpQaN8ymPADXxCSGary3SsAF+Loy1z/w1dJwbTckpngOkKgW9YdpaCigQrVkff+Ez+tx6sM9tyg2hwui5TsCVABL2zkHqRgrRmVIhOM+b7y3hzb0YUyCWXaA89BUFfAoP+FrEu6mnaZrNhCGeZogJEjunVuvzyB40FZYQqj6O667fMopx6FCR4Z0H3XjNYo5oLn125xNvNaTTI4GRnQ1Zym9vYKnTb5jrsJK3HcEwHvmo1SA67mX6aihK72lbzMJU5AWYJ44jCKoembk6Ti2q6Vq9nz8x3PrLw3XJb7KgvK/BgcAxrHbiCz9ON+sSGddcp31pae/taedrKQUwRRf3ajDfUdKhCS/l+lJEYwO3U8ilKHeQqZfm0bgWz6mTesADEF2XOEvbkKeXpEwdmixQ8If9Hzw1W4sBmy2BhktkO/98ksddiYFKaa8tUM6Tra8p+uPJSofXfGSHImAAnCw+Q6JuP63pU2 X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(1800799024)(376014)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2025 17:41:57.2356 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 68c63b32-d83f-4536-5747-08ddd9c788c6 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000AD74.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB8309 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, 12 Aug 2025 17:42:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1966 Inherit image-artifact-names bbclass in zephyr-image.inc and add image artifacts to output generated files. Before: zephyr-helloworld.elf After: zephyr-helloworld-{MACHINE}-{DATETIME}.elf Signed-off-by: Sandeep Gundlupet Raju --- .../zephyr-kernel/zephyr-image.inc | 28 +++++++++++++++---- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-image.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-image.inc index d6ee21f..93d36b1 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-image.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-image.inc @@ -1,29 +1,47 @@ require zephyr-kernel-src.inc require zephyr-kernel-common.inc -inherit deploy +inherit deploy image-artifact-names OECMAKE_SOURCEPATH = "${ZEPHYR_SRC_DIR}" +ZEPHYR_IMAGE_LINK_NAME ?= "${PN}-${MACHINE}" +ZEPHYR_IMAGE_BASE_NAME ?= "${PN}-${MACHINE}${IMAGE_VERSION_SUFFIX}" + do_install() { install -d ${D}/firmware - install -D ${B}/zephyr/${ZEPHYR_MAKE_OUTPUT} ${D}/firmware/${PN}.elf + install -D ${B}/zephyr/${ZEPHYR_MAKE_OUTPUT} ${D}/firmware/${ZEPHYR_IMAGE_BASE_NAME}.elf if [ -f ${B}/zephyr/${ZEPHYR_MAKE_BIN_OUTPUT} ] then - install -D ${B}/zephyr/${ZEPHYR_MAKE_BIN_OUTPUT} ${D}/firmware/${PN}.bin + install -D ${B}/zephyr/${ZEPHYR_MAKE_BIN_OUTPUT} ${D}/firmware/${ZEPHYR_IMAGE_BASE_NAME}.bin fi if [ -f ${B}/zephyr/${ZEPHYR_MAKE_EFI_OUTPUT} ] then - install -D ${B}/zephyr/${ZEPHYR_MAKE_EFI_OUTPUT} ${D}/firmware/${PN}.efi + install -D ${B}/zephyr/${ZEPHYR_MAKE_EFI_OUTPUT} ${D}/firmware/${ZEPHYR_IMAGE_BASE_NAME}.efi fi } + FILES:${PN} = "/firmware" INSANE_SKIP += "ldflags buildpaths" SYSROOT_DIRS += "/firmware" do_deploy() { - cp ${D}/firmware/${PN}.* ${DEPLOYDIR}/ + cp ${B}/zephyr/${ZEPHYR_MAKE_OUTPUT} ${DEPLOYDIR}/${ZEPHYR_IMAGE_BASE_NAME}.elf + ln -sf ${ZEPHYR_IMAGE_BASE_NAME}.elf ${DEPLOYDIR}/${ZEPHYR_IMAGE_LINK_NAME}.elf + + if [ -f ${B}/zephyr/${ZEPHYR_MAKE_BIN_OUTPUT} ] + then + cp ${B}/zephyr/${ZEPHYR_MAKE_BIN_OUTPUT} ${DEPLOYDIR}/${ZEPHYR_IMAGE_BASE_NAME}.bin + ln -sf ${ZEPHYR_IMAGE_BASE_NAME}.bin ${DEPLOYDIR}/${ZEPHYR_IMAGE_LINK_NAME}.bin + fi + + if [ -f ${B}/zephyr/${ZEPHYR_MAKE_EFI_OUTPUT} ] + then + cp ${B}/zephyr/${ZEPHYR_MAKE_EFI_OUTPUT} ${DEPLOYDIR}/${ZEPHYR_IMAGE_BASE_NAME}.efi + ln -sf ${ZEPHYR_IMAGE_BASE_NAME}.efi ${DEPLOYDIR}/${ZEPHYR_IMAGE_LINK_NAME}.efi + fi + } addtask deploy after do_install From patchwork Tue Aug 12 17:41:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Gundlupet Raju X-Patchwork-Id: 68411 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 77F4ACA0EDC for ; Tue, 12 Aug 2025 17:42:05 +0000 (UTC) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.41]) by mx.groups.io with SMTP id smtpd.web10.81597.1755020522887762492 for ; Tue, 12 Aug 2025 10:42:03 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=YEdKTefe; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.220.41, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=QezZbMRR2zJXSle+/bR+UZSZabD9clMtdNQN5MNLLl1sALa+6kJQRiqFxskvRwoWM9rQ5d0HfJ0JvaAaggXixXs1jycD+Ga7vvJgxIfe6VbWvg2F8BoxmpQxYtxLpYdTPGEpHpSSNfiXwtL+6/ewx3PDcsd6eSrDNhdDvCKl4ehPY8ed4DqcwRu8jZd7mNeYPvVGQ1Y7txxUwMb7yAL12h6RfVmmbGg31XudPryazQv3TmFcUx1fB4r2tO3A0H7gtncN1mKaPHJstVP94FzlTEC+HaNG9vhnb0Oy0g+mmKt04tmbN43XOz52YPPGT6QJ+vR8xi4FCh3ggaYocC2drg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=iSrrUwwZtPcjARKqu9O7gN5MoPF5xw6FJeRM92CQQFc=; b=bNqgIyak2NDGD3bb+du1slGXEhrLPcQtTRxVTpTiivcs7Ohjx6K6ZbX5gSvDzh07Cdk7eCg1+aAtM1r/kH6IiY7tPfkG+TzlKZf6Xgw39RXpLKpgOsgYsatYxyMvRNO0D5okEF0j+vWzFTmu1828eNUP3yp9mn8Fmw/nellBK4ocjSxEyUwAWHpYexOi5vT3t/DsCPFKzrj6HmLoBCQkGMeoAMH2VryPBDeYw93pYl88gRFPQ3EoCcAOBxQg5KcWG1M69uFQfHUh8stHXkQkGd93OF0YfS6UbLEs8CBVbgNHB1uiNKiU42PcKaXMizjBUc9oATLjWSsmwvWoDv9BSQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iSrrUwwZtPcjARKqu9O7gN5MoPF5xw6FJeRM92CQQFc=; b=YEdKTefetfHqEtI/5uGx2YI2C7PoFSQHn8VcVL39qZenZuUhyJ4JIsPD7OSWKPQxeGjT2o4eQO2QOq2WQgXWgCUpttZh7YG04g5cqsSFPrPtArk5yRIqxA2LNAZlT6OYIvQnQzWW7DvdrDXPYRCWApPsa/sqCjDcWE76kRWfasU= Received: from CH0PR04CA0099.namprd04.prod.outlook.com (2603:10b6:610:75::14) by CH2PR12MB4069.namprd12.prod.outlook.com (2603:10b6:610:ac::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.18; Tue, 12 Aug 2025 17:41:58 +0000 Received: from CH1PEPF0000AD74.namprd04.prod.outlook.com (2603:10b6:610:75:cafe::d4) by CH0PR04CA0099.outlook.office365.com (2603:10b6:610:75::14) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.13 via Frontend Transport; Tue, 12 Aug 2025 17:41:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CH1PEPF0000AD74.mail.protection.outlook.com (10.167.244.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Tue, 12 Aug 2025 17:41:57 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:54 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:54 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Tue, 12 Aug 2025 12:41:54 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v5 5/12] classes: Move classes to match bbclass scope functionality Date: Tue, 12 Aug 2025 11:41:40 -0600 Message-ID: <20250812174147.130972-6-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> References: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH1PEPF0000AD74:EE_|CH2PR12MB4069:EE_ X-MS-Office365-Filtering-Correlation-Id: 95aabe86-ac52-4fde-70eb-08ddd9c78938 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|1800799024|36860700013|376014; X-Microsoft-Antispam-Message-Info: 0bsonUGYW7PnuS8G9LjZ5YRbECEUIkc6Y0XsgfDl/AgTHWtpxPNp5TQVEIfy7hPR4TkxIpGBzh89uuORG9C4r5RMlIDr2EmH5NX0Zgu72Mf8VmlZn4YNtPGVXzXZNl7i3dgCns5FK5VYk3pKb0/QSppk0/8YQm0Ataik1nN6ScsZNlT0z8xtzRCak79ZnZbtGm+Gylr3yiTASxFKaeOKJKVrCnwokVZAPFdp7p1G5y49+2/pSHqWm1R4fWdHuneP60Q8MFcyIK653v3B4Cfr6ka7QPR16bYFIWUpHWLBK5AKhScU0yzu9BEWLGRo67pixK6Vbf6MvKDaH1EABbnZNyk9yLJ///snvLexORy9VPQm6P0kFkRf33H9Ppv/t6v4VLtGuKMQqMLhf/0jo7rB5ASrbfO09enZeq4ng608AS/QNSgQsOUaCZQTWRx0c1W33wD5NyzX4cHQ/adxmz81vMcoZtqFFPoY4v/IR3PHcHUrm2UyeJnR+WChjTiILxYFs/NRruJPBenJcxR1FDTaXHpm9Bvg1TzaZm6eFqeumATW0PwZC8v2JuDWuMsbuN8WEvLXXZg74Nnq/9zeHAnXloP7C/DzdQQi6qNgx84sXW6Hdnowex/1h9IC1/ru6zOmk6PHG505fYfZkRfDPJmgDi8Y+rNi2mbHviOFQSrLJLryH0GdpKDivogt8NvgmtW9UiwMqDnug93z7buhIgzVNNkrHT2AJ8vntzvMghSl4u1MD+UIniypocphuoW1Q5IzcrwqIXFbt7c+s+t4pxxMWOJu7xy5mMR7ylzrA0GSUGIT/o/nC+ikE4dPgKAYkKQzp1C9CBpvr4PZXT5TtIPgIYqKWNuBgE/pRRopDsU310jREuVSxRjmoCxssLB8t3ARKD9OelsujZaOff+blUGk2eLMoAal/Ny15+jQ4yskWwCLw7aHykzxNR2mLXhCAafo6a2XJUHtz27WFrjyCMRl3OqQtvt6M0xOE2AvXatkNke3hi20SadKovx+xKIu7/iw5XBLr+gD8SWStoWMxA6I2Uz6tIDkC5TC3aQq8HRUEEZ4Up9uo+VNhf+ldSL+6+tJtdLPd8rhFnwbIlO1aYCIlL4wAfE9chQqs1rpTsBiNmQ6dFXCZvL/Cn3d3DbJTsxZFpmaPA/jsbgoxj+Sjm4Y6Nz5aNlxEjOifufzLURT5pnMt0T77JK2FYo9dvw4RwVNwwkaWQX2+vme69VtehccysmYT+HHPk8Dki5n/qzUxGpiv4FUpEB5qCmSPoNNqvFVapLQ32maLK6cE6skwOkFc8uS8Qvz4IcX1TRfxiWn1xKnibMFbNTMIvBG8G5ybaorQJoIOvgoJcV7q1aykSwJR6F5tF5i35rAMRKZ4UIMM256yVG2SV98qGwvnMRPVuaScUuecjYD+FWiPOfY9mcReVYeCv0c49/1ZN68pB6JzUc3qlmaaxqrXCxVDRHPCoaZD19C7+5t2prxrr2B5ypybfQ7G9zFJokg1LcTNXXZgGAvzJ7iArdAb9m23hZy40ZA X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(1800799024)(36860700013)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2025 17:41:57.9831 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 95aabe86-ac52-4fde-70eb-08ddd9c78938 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000AD74.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4069 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, 12 Aug 2025 17:42:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1971 Move classes to classes-recipe as appropriate to match bbclass scope functionality. zephyr.bbclass, zephyr-qemuboot.bbclass, zephyrtest.bbclass are inherited by recipes hence move to classes-recipe. Signed-off-by: Sandeep Gundlupet Raju --- .../{classes => classes-recipe}/zephyr-qemuboot.bbclass | 0 meta-zephyr-core/{classes => classes-recipe}/zephyr.bbclass | 0 meta-zephyr-core/{classes => classes-recipe}/zephyrtest.bbclass | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename meta-zephyr-core/{classes => classes-recipe}/zephyr-qemuboot.bbclass (100%) rename meta-zephyr-core/{classes => classes-recipe}/zephyr.bbclass (100%) rename meta-zephyr-core/{classes => classes-recipe}/zephyrtest.bbclass (100%) diff --git a/meta-zephyr-core/classes/zephyr-qemuboot.bbclass b/meta-zephyr-core/classes-recipe/zephyr-qemuboot.bbclass similarity index 100% rename from meta-zephyr-core/classes/zephyr-qemuboot.bbclass rename to meta-zephyr-core/classes-recipe/zephyr-qemuboot.bbclass diff --git a/meta-zephyr-core/classes/zephyr.bbclass b/meta-zephyr-core/classes-recipe/zephyr.bbclass similarity index 100% rename from meta-zephyr-core/classes/zephyr.bbclass rename to meta-zephyr-core/classes-recipe/zephyr.bbclass diff --git a/meta-zephyr-core/classes/zephyrtest.bbclass b/meta-zephyr-core/classes-recipe/zephyrtest.bbclass similarity index 100% rename from meta-zephyr-core/classes/zephyrtest.bbclass rename to meta-zephyr-core/classes-recipe/zephyrtest.bbclass From patchwork Tue Aug 12 17:41:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Gundlupet Raju X-Patchwork-Id: 68413 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 A0533CA0EE3 for ; Tue, 12 Aug 2025 17:42:05 +0000 (UTC) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (NAM11-BN8-obe.outbound.protection.outlook.com [40.107.236.73]) by mx.groups.io with SMTP id smtpd.web10.81601.1755020524890203598 for ; Tue, 12 Aug 2025 10:42:05 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=yFE4zqD8; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.236.73, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=eGMqf+rvsGR0AsU3tj53bZk87RE6xeqaU2g4Xu/XfxbIJocMTLXLdBXR1I82b0nM/0g/wimkNzhCQGCutZ2UyeWHC4QmFrjwXHW6RW7D3OrxCNR5dxF3eEiykGnIrhhL/wq6/WOhttR/u8I6XX3ad0usgI4+ZsE8m6T5VJsgRAXadgDLTMdaaLyR2CjXdUNVZYqgl5gg8e4WHUBYMdHDABMZh7iZOPYoxe+YH146lXVb0rxJ0fjG6UllSTPA71gefEhNi+OCvxnsPm+/WIw13L4dY2cJEI9TH77+H0DlUzfbegoipSOlkx3iHYv5qcfiUoq0OAZJrphFZx+oIdXA+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=cBjCUjK6nZT5h/0AN9PNqd4oGkWuobN6m5FuQcEh9MM=; b=UJVZMJCzerTWQ/enewcpsDGTfJamH3kh9ifxf3VJXeSaYAYlJnjTunBKiYDeleGULM50YJ3s+lWjbZ0c75u4TPURWTeOaA09M+o7VM7rx2C3fXzcAEIXvXgQXbHVIpvL6EEESh2k4CyHQ8KM12CYhuQyD56ANxstFFkcfoaePDoHs8JIe0Apb44nQekJdbnS4nmg5bS0OL2S/5tLN2arevSdnBmgCxcxvGFRNqL4z7hc1ssNGIdydYssb/S9xzqzMdP6XcWpIkHCXGpy0QETCIXzNGpHAgBdVfEc/tKDX1xr+SYj7YFxoqTK/URCsH8MaJ3SGcA55DH9Z8FtVdw1EA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cBjCUjK6nZT5h/0AN9PNqd4oGkWuobN6m5FuQcEh9MM=; b=yFE4zqD8SafZ7C1KTP8InYEdxlmJ/pBuIJQ/Y4RnZmrOKNMfVk0QHUPW5R34O2pY/7Zrfsmj40DhSqoLqTTUIHVeh7ZfIBTJv56k0Rtc37Zc2nI35NyBkkcrX0F5kQp56BrlT6YlyWSrSstERLYnXBYv9+PD6LxlNCd1qszIM24= Received: from CH0PR04CA0097.namprd04.prod.outlook.com (2603:10b6:610:75::12) by IA1PR12MB6017.namprd12.prod.outlook.com (2603:10b6:208:3d7::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Tue, 12 Aug 2025 17:41:58 +0000 Received: from CH1PEPF0000AD74.namprd04.prod.outlook.com (2603:10b6:610:75:cafe::91) by CH0PR04CA0097.outlook.office365.com (2603:10b6:610:75::12) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.14 via Frontend Transport; Tue, 12 Aug 2025 17:41:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CH1PEPF0000AD74.mail.protection.outlook.com (10.167.244.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Tue, 12 Aug 2025 17:41:58 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:55 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:54 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Tue, 12 Aug 2025 12:41:54 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v5 6/12] zephyr-qemuboot: Use image artifact file in qemuimage Date: Tue, 12 Aug 2025 11:41:41 -0600 Message-ID: <20250812174147.130972-7-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> References: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 Received-SPF: None (SATLEXMB05.amd.com: sandeep.gundlupet-raju@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH1PEPF0000AD74:EE_|IA1PR12MB6017:EE_ X-MS-Office365-Filtering-Correlation-Id: 961c3628-6959-4ee4-0b99-08ddd9c78971 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|82310400026|1800799024|376014; X-Microsoft-Antispam-Message-Info: Nwn9/XO7qvIB1g/Yiyq+Fo6dmSZOXEOqNBBqpswlc/3oDe/T8hKU6BmFJvAg4taC2PfqSZUpOXmlLZQC9TFPgToj4aXXHUdEXZMw7H+EPP/Nj2+0YuWN0zON8Mc4gGeSBpXMG1EaVBR2NTn/fJQTkCOuizNlVBoLwi5LDyFhLYIM7DMl2felXntMuQFq8AbjWScOK3xlZtmHQv5+ALPXbo+dFuRbK4uCPluedpWf+6dxiFXTQX4V5NZDHJZCWRYPDeWLBXtWbdDKDPwP1Q4cILQ1JeHabZG+7bWOlhCMem0p+A8NGJtutwUBpCnAPhV/1TJxqKH4VbVpMZCbuMRifadKvhYNikWq2e6db68z9Ml+Nm/iZ9tNFrp3FW7Oe2MbMrOvoV/W5mg+oWnvLBX1kRgJu2haKRcjuewTfFvxGuftRqebdrhaxIu8LCX/KMHr6R7ZqUnQ3gkBem5ezedKN7dAVwKa/prC0mX1Bi4OVwmyGYhbC0vPQRJWJYDP6uCHwYzEC+PSXBxzWz5EyxZh72WZJAKfQN6Z/hlLPWiWHKT8sx+KQ6iV60KLZtDqaSDZC7PACIGsVaDxXty+ym1NBhTa5s5Lo5Q0/3uzNW2i7RKGDyIcmD8ZBZHyht0pmMKvi2Q7Z/tGPx4mqR8Nmsx9I4yvmH2nkgVdhWv/yjAqi8vZmxHmSwuDjs0ugS5S7k3bEUGGMuVr1V4wkNyoZzw1pC2DoShjbk5T1g9hYYSFZce8Gsn/LcJf8s90Z2eSyONA/nBWRehdhbXOo6/u/kqllQkRLYLPi7UhEzIGD3D605hZUifuYPftkqGrw69nwbW/lh1J3FHjOa/CGLkwCHEB+F4jXv1LiNVfwniuD7IT1gjy6f5K3AzLgChkpleJS23U8TF+4nI+fh7LW0++WGBR9aktfhwPp7wFT1ge9uCQRpWrcmLmRDUHsw5cEZSgFBpz6ow+us6j3udIG/LtSArsV/4wS7EZUxLtqd17BTGjapp+0nEJdwrJHx8VuWmUoMLXeN1EI+o6DAIrjGWXwqftRChuYs9trRlYLMKBLYi+TTXkEFdMM9U+Hl/geCDcdYr8oh0aMWhcWjQiI7E6LDDZNlkU4KcaDpXp3E68ZsQSOow/HmapHOZk+iXSgbd6UnVom0SHjQ9HC+hIjJeSe/l+8oRJu44dVgAslO/VrmByp5njQ+btKX34wdGRIGz65UN17NLtU2syauwdtC3eGIi98UVgwj1J1KZtABm/ulghmxeeUUVjI/LhhpurRhsZf20a1h7SviI98Q6Y+GYEJAx9TUd55pyCTx1ZZtrBq92tNahu9sTyUFt7UPQVEtOVco/GDf1Y3eTFs1D6OGrbs4XqFcz3tC64yECzCgMhR3Zifqzud4GAEYigoKBDz+IZnNe3Mei4qDJrAOY3ov285FK1V9GF8H2r+DTJZ9X523aYwVr02EXc8cvycg4FG9C2rhr7fx8K2C/kYhNdBoNSHFrl+lissuZnUlzXLULrqUVRy6Rx7CFteenWhnfj/5bzL0DZ X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700013)(82310400026)(1800799024)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2025 17:41:58.3547 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 961c3628-6959-4ee4-0b99-08ddd9c78971 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000AD74.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6017 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, 12 Aug 2025 17:42:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1973 Use image artifacts output file in qemuimage link. Before: zephyr-helloworld-image-{MACHINE}.elf -> zephyr-helloworld.elf After: zephyr-helloworld-image-{MACHINE}.elf -> zephyr-helloworld-{MACHINE}-{DATETIME}.elf Signed-off-by: Sandeep Gundlupet Raju --- meta-zephyr-core/classes-recipe/zephyr-qemuboot.bbclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-zephyr-core/classes-recipe/zephyr-qemuboot.bbclass b/meta-zephyr-core/classes-recipe/zephyr-qemuboot.bbclass index b45e6f6..ab0a281 100644 --- a/meta-zephyr-core/classes-recipe/zephyr-qemuboot.bbclass +++ b/meta-zephyr-core/classes-recipe/zephyr-qemuboot.bbclass @@ -1,6 +1,8 @@ inherit qemuboot -KERNEL_IMAGETYPE = "${PN}.elf" +ZEPHYR_IMAGE_BASE_NAME ?= "${PN}-${MACHINE}${IMAGE_VERSION_SUFFIX}" + +KERNEL_IMAGETYPE = "${ZEPHYR_IMAGE_BASE_NAME}.elf" QB_DEFAULT_FSTYPE = "elf" QB_NETWORK_DEVICE = "none" QB_NET = "none" @@ -27,7 +29,7 @@ python bootconf_clean() { python do_bootconf_write() { bb.build.exec_func("do_write_qemuboot_conf", d) - qemuimage = "%s/%s.elf" % (d.getVar('DEPLOY_DIR_IMAGE', True), d.getVar('PN', True)) + qemuimage = "%s/%s.elf" % (d.getVar('DEPLOY_DIR_IMAGE', True), d.getVar('ZEPHYR_IMAGE_BASE_NAME', True)) qemuimage_link = d.getVar('QEMU_IMAGE_LINK', True) if os.path.lexists(qemuimage_link): os.remove(qemuimage_link) From patchwork Tue Aug 12 17:41:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Gundlupet Raju X-Patchwork-Id: 68414 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 8C941CA0EDF for ; Tue, 12 Aug 2025 17:42:05 +0000 (UTC) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.107.92.40]) by mx.groups.io with SMTP id smtpd.web11.80881.1755020519270381486 for ; Tue, 12 Aug 2025 10:41:59 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=FXKHC/zC; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.92.40, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=kSBsMcx9EymAFz8V0glUkR9WnlVHiqHzWTevB2IRxYzJH8nM1caL4lePnEbwucUdiIXmEhRx5YJdmYS76F/WXToaO/FZnXFR65+B17KCDdnoyQfBN2ay4/QMCjTMZ6xAOUHIR+vgNa2UTmtl2OjX7UocO7WIRQykZWJlXSpdVQlu/+V0JvNJt2Dzz9wMSu9sPkgQ6o8ub+Zbk7DNX8BcDVuruCu1YW/SdH5rT0HXr+2F8lqrVIZjFuEz0+efY3o/7DnOmDzl6ShospeYkANqW6iYIcVo0PjRTCeotQ2BU3vvYwDOF44mcE9yoR/EVIpLpsAPLfdvWPi5kyDJHysNwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KXPuK3vGM9eqmhgB7J3EO9MjVB4bMebOxoQHIQsDEmg=; b=LiF3s/jq5sNdwKMgQrJfstA5bcyaH+93VeWJ0WuJz6IAQenTT78nJdNlxMOdqG/Z3xQdXrEDYW3g7qKPvcZACkfkJxFA3EZiiNjANLASkb60Y5alYjnrkpXGTHauMQnKgDSlIFLo8loFDNw+WyJubbMOmyf6Q6OU0EhvsjguyjIJmv5S/Ibc//z0f0MsLhD4OTGFrrVbUL2ZF9RI/ufRMWVDhWbOxrYAfT+zkEy8Q1bMBLdCp77+DNTjywKJstoh2A3RVi7MKM603cHOOCc4sGnl2dqG23QU5MQHzxvKpj8d2JpnZOwb5mRqUBnUMbcr21Ab+s0h+K5nYA9OvTy5jQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KXPuK3vGM9eqmhgB7J3EO9MjVB4bMebOxoQHIQsDEmg=; b=FXKHC/zCMxqJJ9VduZONUYbf1iofCmd2mS/tmbIs8VhLfYdf28CfFMhFV/YOgr/DuxwhWUtzyMCz1pFMn8dN8eAZhouOf7JZZgEmHU5mCA3we+X6RkJgQ+UJg2BcM+WeX7ppEiYwvN0jXLzYCP7GneY5L4eg0SY5gU0ZLZWALWg= Received: from SA9PR13CA0109.namprd13.prod.outlook.com (2603:10b6:806:24::24) by CH3PR12MB9252.namprd12.prod.outlook.com (2603:10b6:610:1ba::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.22; Tue, 12 Aug 2025 17:41:56 +0000 Received: from SN1PEPF0002529D.namprd05.prod.outlook.com (2603:10b6:806:24:cafe::7c) by SA9PR13CA0109.outlook.office365.com (2603:10b6:806:24::24) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.15 via Frontend Transport; Tue, 12 Aug 2025 17:41:56 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by SN1PEPF0002529D.mail.protection.outlook.com (10.167.242.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Tue, 12 Aug 2025 17:41:56 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:55 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Tue, 12 Aug 2025 12:41:55 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v5 7/12] zephyr-kernel: Add Zephyr LTS3.7.0 support Date: Tue, 12 Aug 2025 11:41:42 -0600 Message-ID: <20250812174147.130972-8-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> References: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 Received-SPF: None (SATLEXMB03.amd.com: sandeep.gundlupet-raju@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF0002529D:EE_|CH3PR12MB9252:EE_ X-MS-Office365-Filtering-Correlation-Id: 6ad463d4-9ed1-4c78-5b33-08ddd9c78812 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|36860700013|1800799024|82310400026; X-Microsoft-Antispam-Message-Info: B/I3rfWhzBSU0zWQ8jTyg7SvHfiyfzQAKGqSR+KD1/4FqmcoWtRJhSoShOlUOlODGX3Dv5P/vTRr3UErqvD9ZfXsa6rB2vJGMawfa+XgnXGKjW+Hr2L5ItZzv7uuYRRuTmdqOxnf8+mcBj6ZAL6O9UsZHyeTeCQaUxxbyU+dWVuN1E5bQ5TwRnfBIBQoxQCN/JfSHOZnuSguiMrUEZ3adsR32hqglry6XdC1gYvDThHFfQi1oHteiUtnfdcOErRDGBwu0nNf1lDo/8v5CJgSh5TOcat/WSTjefOhpUP5bVBzdzn4lvd9k5ukMCxh6xO7xOdqnMq/ljOwVXe4Gm5xAnonNbZ1PuoQNQUXiV2+Euchlh6D0VXwGjKdvo4+rwjsKwP5uPTFCDZWmRZs8fHyly6GZe6sgeaaZL2S3JLOn2zslF0rUkHjVmt/XaoQCttf6qDhMkOy8mx7HTUTJhGuWPiczaaX67yRCSkT76qwkrryu121qUjY5G6YU9eAU1d98v5MqEsqfIcaZbpYgXDzCfohqQuoDzxqoBfT92R+bZ6ZMHIbqYcpziAUkXfms/AOuiA/0+Fxls78JkP9VoYZrLRvhfRQgv5heRrC7RrhYn0R4gtteL0ghIjoPKgPTNvxIeNX1t6HAyioxh4iCJ8oXmDVDq681Y61M9mq2vUTrUWDcMp39tQxXGljVPMB0VY04kF30yI+6s4R8LAT6Gyepdz5CPtby+dZF8vTTiOrtb7b7XpHkukZCbM2TCz1WOkD96OaRFyB9SCdrvpIfh7KF+H+ErhOI8jsTH5KjxpiDOr0nO3llqN0ZjUmL4wPnhuZ5oyacQ5U7A3FBa7VjaRqopN9+m6zDndfgEymEhuJcXIKYtF1BBEv988xR+bJEYFnpzDKXRPPoUCZceuOoAhX7OGBGq0/BXjBQGs7vFtqSx+usmZqsafx4RPjc0eZDdICa4sO3ib+pKk6ygmQfuXosp/RO8SOa/QD9AFz7AiPsxvigrrfprpd9pRX0JarIo5mDS4hMd2gswjjiA2FfyjEnZ9YOzL8DtQmbMB8QtSxio3HgF6AuCWc0ECO+p1vZd9/ArphPf64k7NNQNNoyMy8X67Ytgj6jpJ03COo/eP/7kaaYwo5/tnLjGti8lb7yPrYFdrg8ZH3D93hrrfKXRssWelbH0VLl5OX58NJEkrPogBxI+Nw26zezC+7d28bvnZAkbf+8UlW6AOxk/ow7QWZXNZdcEUFP3Kcq3WheKWYP72AveItCwU70AfEDDiRlWQ4PtU9/tGB+Z3d3SKtu4prcXPYdABy9QUr8HAaQ8k4bWo61oHeoAZlrSMzBWsDqxKxqrnfXzIlsKJTJwgPto3cA71dfhITcP7v6T7lR2SZH45PQpToPcMmHJwSDauLZNWPHJwK5fyUp7NavUwkCUBAk8Z4875f8jlQcHRtKySW5Y/gmIHmL1NgNWJ5TGwrUhxlOY1T+K+WJ7yVR+EQSiEYi1WiTupHv+5TZNUO2OBDJA5zDXnqdmOVgs+ncoxFfLfU X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(36860700013)(1800799024)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2025 17:41:56.0445 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6ad463d4-9ed1-4c78-5b33-08ddd9c78812 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF0002529D.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB9252 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, 12 Aug 2025 17:42:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1964 Add Zephyr LTS3.7.0 support to scarthgap release. In scarthgap default PREFERRED_VERSION_zephyr-kernel is set to 3.6.0 and if user needs LTS3 then set PREFERRED_VERSION_zephyr-kernel = "3.7.0" in local.conf file. Signed-off-by: Sandeep Gundlupet Raju --- ...ry-generation-issue-in-cross-compila.patch | 106 +++++++ .../zephyr-kernel/zephyr-kernel-src-3.7.0.inc | 274 ++++++++++++++++++ 2 files changed, 380 insertions(+) create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.7.0.inc diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch new file mode 100644 index 0000000..5029369 --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch @@ -0,0 +1,106 @@ +From 23f6da3cf295fa84cb03c7d98dfc6ec9c6aa2cf3 Mon Sep 17 00:00:00 2001 +From: Sandeep Gundlupet Raju +Date: Thu, 3 Jul 2025 00:31:50 -0600 +Subject: [PATCH] x86: fix efi binary generation issue in cross compilation env + +Set root directory for headers. + +Upstream-Status: Inappropriate [Yocto Project cross-compilation specific] + +Signed-off-by: Sandeep Gundlupet Raju +--- + arch/x86/zefi/zefi.py | 5 ++++- + boards/intel/adl/CMakeLists.txt | 1 + + boards/intel/ehl/CMakeLists.txt | 1 + + boards/intel/rpl/CMakeLists.txt | 1 + + boards/up-bridge-the-gap/up_squared/CMakeLists.txt | 1 + + boards/up-bridge-the-gap/up_squared_pro_7000/CMakeLists.txt | 1 + + 6 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/arch/x86/zefi/zefi.py b/arch/x86/zefi/zefi.py +index 99c188ecd08..1cd86a21cd4 100755 +--- a/arch/x86/zefi/zefi.py ++++ b/arch/x86/zefi/zefi.py +@@ -109,8 +109,10 @@ def build_elf(elf_file, include_dirs): + includes = [] + for include_dir in include_dirs: + includes.extend(["-I", include_dir]) ++ # Pass --sysroot path for cross compilation ++ sysrootarg = "--sysroot=" + args.sysroot + cmd = ([args.compiler, "-shared", "-Wall", "-Werror", "-I."] + includes + +- ["-fno-stack-protector", "-fpic", "-mno-red-zone", "-fshort-wchar", ++ ["-fno-stack-protector", "-fpic", "-mno-red-zone", "-fshort-wchar", sysrootarg, + "-Wl,-nostdlib", "-T", ldscript, "-o", "zefi.elf", cfile]) + verbose(" ".join(cmd)) + subprocess.run(cmd, check = True) +@@ -150,6 +152,7 @@ def parse_args(): + parser.add_argument("-v", "--verbose", action="store_true", help="Verbose output") + parser.add_argument("-i", "--includes", required=True, nargs="+", + help="Zephyr base include directories") ++ parser.add_argument("-s", "--sysroot", required=True, help="Cross compilation --sysroot=path") + + return parser.parse_args() + +diff --git a/boards/intel/adl/CMakeLists.txt b/boards/intel/adl/CMakeLists.txt +index 36ddcdf9d13..4cb244a777d 100644 +--- a/boards/intel/adl/CMakeLists.txt ++++ b/boards/intel/adl/CMakeLists.txt +@@ -8,6 +8,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands + -o ${CMAKE_OBJCOPY} + -i ${ZEPHYR_BASE}/include + -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf ++ -s ${SYSROOT_DIR} + $<$:--verbose> + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) +diff --git a/boards/intel/ehl/CMakeLists.txt b/boards/intel/ehl/CMakeLists.txt +index 36ddcdf9d13..4cb244a777d 100644 +--- a/boards/intel/ehl/CMakeLists.txt ++++ b/boards/intel/ehl/CMakeLists.txt +@@ -8,6 +8,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands + -o ${CMAKE_OBJCOPY} + -i ${ZEPHYR_BASE}/include + -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf ++ -s ${SYSROOT_DIR} + $<$:--verbose> + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) +diff --git a/boards/intel/rpl/CMakeLists.txt b/boards/intel/rpl/CMakeLists.txt +index 36ddcdf9d13..4cb244a777d 100644 +--- a/boards/intel/rpl/CMakeLists.txt ++++ b/boards/intel/rpl/CMakeLists.txt +@@ -8,6 +8,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands + -o ${CMAKE_OBJCOPY} + -i ${ZEPHYR_BASE}/include + -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf ++ -s ${SYSROOT_DIR} + $<$:--verbose> + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) +diff --git a/boards/up-bridge-the-gap/up_squared/CMakeLists.txt b/boards/up-bridge-the-gap/up_squared/CMakeLists.txt +index ddfd93807ff..8dfe7aa9cec 100644 +--- a/boards/up-bridge-the-gap/up_squared/CMakeLists.txt ++++ b/boards/up-bridge-the-gap/up_squared/CMakeLists.txt +@@ -11,6 +11,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands + -o ${CMAKE_OBJCOPY} + -i ${ZEPHYR_BASE}/include + -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf ++ -s ${SYSROOT_DIR} + $<$:--verbose> + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) +diff --git a/boards/up-bridge-the-gap/up_squared_pro_7000/CMakeLists.txt b/boards/up-bridge-the-gap/up_squared_pro_7000/CMakeLists.txt +index 36ddcdf9d13..4cb244a777d 100644 +--- a/boards/up-bridge-the-gap/up_squared_pro_7000/CMakeLists.txt ++++ b/boards/up-bridge-the-gap/up_squared_pro_7000/CMakeLists.txt +@@ -8,6 +8,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands + -o ${CMAKE_OBJCOPY} + -i ${ZEPHYR_BASE}/include + -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf ++ -s ${SYSROOT_DIR} + $<$:--verbose> + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) +-- +2.34.1 + diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.7.0.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.7.0.inc new file mode 100644 index 0000000..1cf87a2 --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.7.0.inc @@ -0,0 +1,274 @@ +# Auto-generated from zephyr-kernel-src.inc.jinja + +SRCREV_FORMAT = "default" + +SRCREV_default = "36940db938a8f4a1e919496793ed439850a221c2" +SRCREV_acpica = "8d24867bc9c9d81c81eeac59391cda59333affd4" +SRCREV_bsim = "9351ae1ad44864a49c351f9704f65f43046abeb0" +SRCREV_babblesim_base = "4bd907be0b2abec3b31a23fd8ca98db2a07209d2" +SRCREV_babblesim_ext_2G4_libPhyComv1 = "93f5eba512c438b0c9ebc1b1a947517c865b3643" +SRCREV_babblesim_ext_2G4_phy_v1 = "04eeb3c3794444122fbeeb3715f4233b0b50cfbb" +SRCREV_babblesim_ext_2G4_channel_NtNcable = "20a38c997f507b0aa53817aab3d73a462fff7af1" +SRCREV_babblesim_ext_2G4_channel_multiatt = "bde72a57384dde7a4310bcf3843469401be93074" +SRCREV_babblesim_ext_2G4_modem_magic = "edfcda2d3937a74be0a59d6cd47e0f50183453da" +SRCREV_babblesim_ext_2G4_modem_BLE_simple = "a38d2d24b04a6f970a225d1316047256ebf5a539" +SRCREV_babblesim_ext_2G4_device_burst_interferer = "5b5339351d6e6a2368c686c734dc8b2fc65698fc" +SRCREV_babblesim_ext_2G4_device_WLAN_actmod = "9cb6d8e72695f6b785e57443f0629a18069d6ce4" +SRCREV_babblesim_ext_2G4_device_playback = "abb48cd71ddd4e2a9022f4bf49b2712524c483e8" +SRCREV_babblesim_ext_libCryptov1 = "eed6d7038e839153e340bd333bc43541cb90ba64" +SRCREV_cmsis = "4b96cbb174678dcd3ca86e11e1f24bc5f8726da0" +SRCREV_cmsis-dsp = "6489e771e9c405f1763b52d64a3f17a1ec488ace" +SRCREV_cmsis-nn = "ea987c1ca661be723de83bd159aed815d6cbd430" +SRCREV_edtt = "8d7b543d4d2f2be0f78481e4e1d8d73a88024803" +SRCREV_fatfs = "427159bf95ea49b7680facffaa29ad506b42709b" +SRCREV_hal_adi = "dee9a7b1eff13a9da0560daf8842d61657f9d61e" +SRCREV_hal_altera = "4fe4df959d4593ce66e676aeba0b57f546dba0fe" +SRCREV_hal_ambiq = "e25327f026df1ee08f1bf01a4bbfeb5e5f4026f1" +SRCREV_hal_atmel = "56d60ebc909ad065bf6554cee73487969857614b" +SRCREV_hal_espressif = "87e7902d7184a8280b4d13bce79801a723f4ddd8" +SRCREV_hal_ethos_u = "8e2cf756b474eff9a32a9bdf1775d9620f1eadcf" +SRCREV_hal_gigadevice = "2994b7dde8b0b0fa9b9c0ccb13474b6a486cddc3" +SRCREV_hal_infineon = "f25734a72c585f6675e8254a382e80e78a3cd03a" +SRCREV_hal_intel = "0905a528623de56b1bedf817536321bcdbc0efae" +SRCREV_hal_microchip = "71eba057c0cb7fc11b6f33eb40a82f1ebe2c571c" +SRCREV_hal_nordic = "ab5cb2e2faeb1edfad7a25286dcb513929ae55da" +SRCREV_hal_nuvoton = "466c3eed9c98453fb23953bf0e0427fea01924be" +SRCREV_hal_nxp = "862e001504bd6e0a4feade6a718e9f973116849c" +SRCREV_hal_openisa = "eabd530a64d71de91d907bad257cd61aacf607bc" +SRCREV_hal_quicklogic = "bad894440fe72c814864798c8e3a76d13edffb6c" +SRCREV_hal_renesas = "af77d7cdfeeff290593e7e99f54f0c1e2a3f91e6" +SRCREV_hal_rpi_pico = "fba7162cc7bee06d0149622bbcaac4e41062d368" +SRCREV_hal_silabs = "a09dd1b82b24aa3060e162c0dfa40026c0dba450" +SRCREV_hal_st = "b77157f6bc4395e398d90ab02a7d2cbc01ab2ce7" +SRCREV_hal_stm32 = "f1317150eac951fdd8259337a47cbbc4c2e6d335" +SRCREV_hal_telink = "4226c7fc17d5a34e557d026d428fc766191a0800" +SRCREV_hal_ti = "b85f86e51fc4d47c4c383d320d64d52d4d371ae4" +SRCREV_hal_wurthelektronik = "e5bcb2eac1bb9639ce13b4dafc78eb254e014342" +SRCREV_hal_xtensa = "a2d658525b16c57bea8dd565f5bd5167e4b9f1ee" +SRCREV_hostap = "a90df86d7c596a5367ff70c2b50c7f599e6636f3" +SRCREV_libmetal = "a6851ba6dba8c9e87d00c42f171a822f7a29639b" +SRCREV_liblc3 = "1a5938ebaca4f13fe79ce074f5dee079783aa29f" +SRCREV_littlefs = "408c16a909dd6cf128874a76f21c793798c9e423" +SRCREV_loramac-node = "fb00b383072518c918e2258b0916c996f2d4eebe" +SRCREV_lvgl = "2b498e6f36d6b82ae1da12c8b7742e318624ecf5" +SRCREV_mbedtls = "2f24831ee13d399ce019c4632b0bcd440a713f7c" +SRCREV_mcuboot = "fb2cf0ec3da3687b93f28e556ab682bdd4b85223" +SRCREV_mipi-sys-t = "71ace1f5caa03e56c8740a09863e685efb4b2360" +SRCREV_net-tools = "7c7a856814d7f27509c8511fef14cec21f7d0c30" +SRCREV_nrf_hw_models = "6c389b9b5fa0a079cd4502e69d375da4c0c289b7" +SRCREV_open-amp = "76d2168bcdfcd23a9a7dce8c21f2083b90a1e60a" +SRCREV_openthread = "3873c6fcd5a8a9dd01b71e8efe32ef5dc7923bb1" +SRCREV_percepio = "a49e5f3947faad0dd654eddd5a750127fb81e50d" +SRCREV_picolibc = "764ef4e401a8f4c6a86ab723533841f072885a5b" +SRCREV_segger = "b011c45b585e097d95d9cf93edf4f2e01588d3cd" +SRCREV_tinycrypt = "1012a3ebee18c15ede5efc8332ee2fc37817670f" +SRCREV_trusted-firmware-m = "069455be098383bf96eab73e3ff8e0c66c60fa5a" +SRCREV_trusted-firmware-a = "713ffbf96c5bcbdeab757423f10f73eb304eff07" +SRCREV_uoscore-uedhoc = "84ef879a46d7bfd9a423fbfb502b04289861f9ea" +SRCREV_zcbor = "75d088037eb237b18e7ec1f47c9ce494b9b95aab" + +SRC_URI_ZEPHYR ?= "git://github.com/zephyrproject-rtos/zephyr.git;protocol=https" +SRC_URI_ZEPHYR_ACPICA ?= "git://github.com/zephyrproject-rtos/acpica;protocol=https" +SRC_URI_ZEPHYR_BSIM ?= "git://github.com/zephyrproject-rtos/babblesim-manifest;protocol=https" +SRC_URI_ZEPHYR_BABBLESIM_BASE ?= "git://github.com/BabbleSim/base;protocol=https" +SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_LIBPHYCOMV1 ?= "git://github.com/BabbleSim/ext_2G4_libPhyComv1;protocol=https" +SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_PHY_V1 ?= "git://github.com/BabbleSim/ext_2G4_phy_v1;protocol=https" +SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_CHANNEL_NTNCABLE ?= "git://github.com/BabbleSim/ext_2G4_channel_NtNcable;protocol=https" +SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_CHANNEL_MULTIATT ?= "git://github.com/BabbleSim/ext_2G4_channel_multiatt;protocol=https" +SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_MODEM_MAGIC ?= "git://github.com/BabbleSim/ext_2G4_modem_magic;protocol=https" +SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_MODEM_BLE_SIMPLE ?= "git://github.com/BabbleSim/ext_2G4_modem_BLE_simple;protocol=https" +SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_DEVICE_BURST_INTERFERER ?= "git://github.com/BabbleSim/ext_2G4_device_burst_interferer;protocol=https" +SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_DEVICE_WLAN_ACTMOD ?= "git://github.com/BabbleSim/ext_2G4_device_WLAN_actmod;protocol=https" +SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_DEVICE_PLAYBACK ?= "git://github.com/BabbleSim/ext_2G4_device_playback;protocol=https" +SRC_URI_ZEPHYR_BABBLESIM_EXT_LIBCRYPTOV1 ?= "git://github.com/BabbleSim/ext_libCryptov1;protocol=https" +SRC_URI_ZEPHYR_CMSIS ?= "git://github.com/zephyrproject-rtos/cmsis;protocol=https" +SRC_URI_ZEPHYR_CMSIS_DSP ?= "git://github.com/zephyrproject-rtos/cmsis-dsp;protocol=https" +SRC_URI_ZEPHYR_CMSIS_NN ?= "git://github.com/zephyrproject-rtos/cmsis-nn;protocol=https" +SRC_URI_ZEPHYR_EDTT ?= "git://github.com/zephyrproject-rtos/edtt;protocol=https" +SRC_URI_ZEPHYR_FATFS ?= "git://github.com/zephyrproject-rtos/fatfs;protocol=https" +SRC_URI_ZEPHYR_HAL_ADI ?= "git://github.com/zephyrproject-rtos/hal_adi;protocol=https" +SRC_URI_ZEPHYR_HAL_ALTERA ?= "git://github.com/zephyrproject-rtos/hal_altera;protocol=https" +SRC_URI_ZEPHYR_HAL_AMBIQ ?= "git://github.com/zephyrproject-rtos/hal_ambiq;protocol=https" +SRC_URI_ZEPHYR_HAL_ATMEL ?= "git://github.com/zephyrproject-rtos/hal_atmel;protocol=https" +SRC_URI_ZEPHYR_HAL_ESPRESSIF ?= "git://github.com/zephyrproject-rtos/hal_espressif;protocol=https" +SRC_URI_ZEPHYR_HAL_ETHOS_U ?= "git://github.com/zephyrproject-rtos/hal_ethos_u;protocol=https" +SRC_URI_ZEPHYR_HAL_GIGADEVICE ?= "git://github.com/zephyrproject-rtos/hal_gigadevice;protocol=https" +SRC_URI_ZEPHYR_HAL_INFINEON ?= "git://github.com/zephyrproject-rtos/hal_infineon;protocol=https" +SRC_URI_ZEPHYR_HAL_INTEL ?= "git://github.com/zephyrproject-rtos/hal_intel;protocol=https" +SRC_URI_ZEPHYR_HAL_MICROCHIP ?= "git://github.com/zephyrproject-rtos/hal_microchip;protocol=https" +SRC_URI_ZEPHYR_HAL_NORDIC ?= "git://github.com/zephyrproject-rtos/hal_nordic;protocol=https" +SRC_URI_ZEPHYR_HAL_NUVOTON ?= "git://github.com/zephyrproject-rtos/hal_nuvoton;protocol=https" +SRC_URI_ZEPHYR_HAL_NXP ?= "git://github.com/zephyrproject-rtos/hal_nxp;protocol=https" +SRC_URI_ZEPHYR_HAL_OPENISA ?= "git://github.com/zephyrproject-rtos/hal_openisa;protocol=https" +SRC_URI_ZEPHYR_HAL_QUICKLOGIC ?= "git://github.com/zephyrproject-rtos/hal_quicklogic;protocol=https" +SRC_URI_ZEPHYR_HAL_RENESAS ?= "git://github.com/zephyrproject-rtos/hal_renesas;protocol=https" +SRC_URI_ZEPHYR_HAL_RPI_PICO ?= "git://github.com/zephyrproject-rtos/hal_rpi_pico;protocol=https" +SRC_URI_ZEPHYR_HAL_SILABS ?= "git://github.com/zephyrproject-rtos/hal_silabs;protocol=https" +SRC_URI_ZEPHYR_HAL_ST ?= "git://github.com/zephyrproject-rtos/hal_st;protocol=https" +SRC_URI_ZEPHYR_HAL_STM32 ?= "git://github.com/zephyrproject-rtos/hal_stm32;protocol=https" +SRC_URI_ZEPHYR_HAL_TELINK ?= "git://github.com/zephyrproject-rtos/hal_telink;protocol=https" +SRC_URI_ZEPHYR_HAL_TI ?= "git://github.com/zephyrproject-rtos/hal_ti;protocol=https" +SRC_URI_ZEPHYR_HAL_WURTHELEKTRONIK ?= "git://github.com/zephyrproject-rtos/hal_wurthelektronik;protocol=https" +SRC_URI_ZEPHYR_HAL_XTENSA ?= "git://github.com/zephyrproject-rtos/hal_xtensa;protocol=https" +SRC_URI_ZEPHYR_HOSTAP ?= "git://github.com/zephyrproject-rtos/hostap;protocol=https" +SRC_URI_ZEPHYR_LIBMETAL ?= "git://github.com/zephyrproject-rtos/libmetal;protocol=https" +SRC_URI_ZEPHYR_LIBLC3 ?= "git://github.com/zephyrproject-rtos/liblc3;protocol=https" +SRC_URI_ZEPHYR_LITTLEFS ?= "git://github.com/zephyrproject-rtos/littlefs;protocol=https" +SRC_URI_ZEPHYR_LORAMAC_NODE ?= "git://github.com/zephyrproject-rtos/loramac-node;protocol=https" +SRC_URI_ZEPHYR_LVGL ?= "git://github.com/zephyrproject-rtos/lvgl;protocol=https" +SRC_URI_ZEPHYR_MBEDTLS ?= "git://github.com/zephyrproject-rtos/mbedtls;protocol=https" +SRC_URI_ZEPHYR_MCUBOOT ?= "git://github.com/zephyrproject-rtos/mcuboot;protocol=https" +SRC_URI_ZEPHYR_MIPI_SYS_T ?= "git://github.com/zephyrproject-rtos/mipi-sys-t;protocol=https" +SRC_URI_ZEPHYR_NET_TOOLS ?= "git://github.com/zephyrproject-rtos/net-tools;protocol=https" +SRC_URI_ZEPHYR_NRF_HW_MODELS ?= "git://github.com/zephyrproject-rtos/nrf_hw_models;protocol=https" +SRC_URI_ZEPHYR_OPEN_AMP ?= "git://github.com/zephyrproject-rtos/open-amp;protocol=https" +SRC_URI_ZEPHYR_OPENTHREAD ?= "git://github.com/zephyrproject-rtos/openthread;protocol=https" +SRC_URI_ZEPHYR_PERCEPIO ?= "git://github.com/zephyrproject-rtos/percepio;protocol=https" +SRC_URI_ZEPHYR_PICOLIBC ?= "git://github.com/zephyrproject-rtos/picolibc;protocol=https" +SRC_URI_ZEPHYR_SEGGER ?= "git://github.com/zephyrproject-rtos/segger;protocol=https" +SRC_URI_ZEPHYR_TINYCRYPT ?= "git://github.com/zephyrproject-rtos/tinycrypt;protocol=https" +SRC_URI_ZEPHYR_TRUSTED_FIRMWARE_M ?= "git://github.com/zephyrproject-rtos/trusted-firmware-m;protocol=https" +SRC_URI_ZEPHYR_TRUSTED_FIRMWARE_A ?= "git://github.com/zephyrproject-rtos/trusted-firmware-a;protocol=https" +SRC_URI_ZEPHYR_UOSCORE_UEDHOC ?= "git://github.com/zephyrproject-rtos/uoscore-uedhoc;protocol=https" +SRC_URI_ZEPHYR_ZCBOR ?= "git://github.com/zephyrproject-rtos/zcbor;protocol=https" + +SRC_URI_PATCHES ?= "\ + file://0001-3.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch;patchdir=zephyr \ +" + +SRC_URI = "\ + ${SRC_URI_ZEPHYR};branch=${ZEPHYR_BRANCH};name=default;destsuffix=git/zephyr \ + ${SRC_URI_ZEPHYR_ACPICA};name=acpica;nobranch=1;destsuffix=git/modules/lib/acpica \ + ${SRC_URI_ZEPHYR_BSIM};name=bsim;nobranch=1;destsuffix=git/tools/bsim \ + ${SRC_URI_ZEPHYR_BABBLESIM_BASE};name=babblesim_base;nobranch=1;destsuffix=git/tools/bsim/components \ + ${SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_LIBPHYCOMV1};name=babblesim_ext_2G4_libPhyComv1;nobranch=1;destsuffix=git/tools/bsim/components/ext_2G4_libPhyComv1 \ + ${SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_PHY_V1};name=babblesim_ext_2G4_phy_v1;nobranch=1;destsuffix=git/tools/bsim/components/ext_2G4_phy_v1 \ + ${SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_CHANNEL_NTNCABLE};name=babblesim_ext_2G4_channel_NtNcable;nobranch=1;destsuffix=git/tools/bsim/components/ext_2G4_channel_NtNcable \ + ${SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_CHANNEL_MULTIATT};name=babblesim_ext_2G4_channel_multiatt;nobranch=1;destsuffix=git/tools/bsim/components/ext_2G4_channel_multiatt \ + ${SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_MODEM_MAGIC};name=babblesim_ext_2G4_modem_magic;nobranch=1;destsuffix=git/tools/bsim/components/ext_2G4_modem_magic \ + ${SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_MODEM_BLE_SIMPLE};name=babblesim_ext_2G4_modem_BLE_simple;nobranch=1;destsuffix=git/tools/bsim/components/ext_2G4_modem_BLE_simple \ + ${SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_DEVICE_BURST_INTERFERER};name=babblesim_ext_2G4_device_burst_interferer;nobranch=1;destsuffix=git/tools/bsim/components/ext_2G4_device_burst_interferer \ + ${SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_DEVICE_WLAN_ACTMOD};name=babblesim_ext_2G4_device_WLAN_actmod;nobranch=1;destsuffix=git/tools/bsim/components/ext_2G4_device_WLAN_actmod \ + ${SRC_URI_ZEPHYR_BABBLESIM_EXT_2G4_DEVICE_PLAYBACK};name=babblesim_ext_2G4_device_playback;nobranch=1;destsuffix=git/tools/bsim/components/ext_2G4_device_playback \ + ${SRC_URI_ZEPHYR_BABBLESIM_EXT_LIBCRYPTOV1};name=babblesim_ext_libCryptov1;nobranch=1;destsuffix=git/tools/bsim/components/ext_libCryptov1 \ + ${SRC_URI_ZEPHYR_CMSIS};name=cmsis;nobranch=1;destsuffix=git/modules/hal/cmsis \ + ${SRC_URI_ZEPHYR_CMSIS_DSP};name=cmsis-dsp;nobranch=1;destsuffix=git/modules/lib/cmsis-dsp \ + ${SRC_URI_ZEPHYR_CMSIS_NN};name=cmsis-nn;nobranch=1;destsuffix=git/modules/lib/cmsis-nn \ + ${SRC_URI_ZEPHYR_EDTT};name=edtt;nobranch=1;destsuffix=git/tools/edtt \ + ${SRC_URI_ZEPHYR_FATFS};name=fatfs;nobranch=1;destsuffix=git/modules/fs/fatfs \ + ${SRC_URI_ZEPHYR_HAL_ADI};name=hal_adi;nobranch=1;destsuffix=git/modules/hal/adi \ + ${SRC_URI_ZEPHYR_HAL_ALTERA};name=hal_altera;nobranch=1;destsuffix=git/modules/hal/altera \ + ${SRC_URI_ZEPHYR_HAL_AMBIQ};name=hal_ambiq;nobranch=1;destsuffix=git/modules/hal/ambiq \ + ${SRC_URI_ZEPHYR_HAL_ATMEL};name=hal_atmel;nobranch=1;destsuffix=git/modules/hal/atmel \ + ${SRC_URI_ZEPHYR_HAL_ESPRESSIF};name=hal_espressif;nobranch=1;destsuffix=git/modules/hal/espressif \ + ${SRC_URI_ZEPHYR_HAL_ETHOS_U};name=hal_ethos_u;nobranch=1;destsuffix=git/modules/hal/ethos_u \ + ${SRC_URI_ZEPHYR_HAL_GIGADEVICE};name=hal_gigadevice;nobranch=1;destsuffix=git/modules/hal/gigadevice \ + ${SRC_URI_ZEPHYR_HAL_INFINEON};name=hal_infineon;nobranch=1;destsuffix=git/modules/hal/infineon \ + ${SRC_URI_ZEPHYR_HAL_INTEL};name=hal_intel;nobranch=1;destsuffix=git/modules/hal/intel \ + ${SRC_URI_ZEPHYR_HAL_MICROCHIP};name=hal_microchip;nobranch=1;destsuffix=git/modules/hal/microchip \ + ${SRC_URI_ZEPHYR_HAL_NORDIC};name=hal_nordic;nobranch=1;destsuffix=git/modules/hal/nordic \ + ${SRC_URI_ZEPHYR_HAL_NUVOTON};name=hal_nuvoton;nobranch=1;destsuffix=git/modules/hal/nuvoton \ + ${SRC_URI_ZEPHYR_HAL_NXP};name=hal_nxp;nobranch=1;destsuffix=git/modules/hal/nxp \ + ${SRC_URI_ZEPHYR_HAL_OPENISA};name=hal_openisa;nobranch=1;destsuffix=git/modules/hal/openisa \ + ${SRC_URI_ZEPHYR_HAL_QUICKLOGIC};name=hal_quicklogic;nobranch=1;destsuffix=git/modules/hal/quicklogic \ + ${SRC_URI_ZEPHYR_HAL_RENESAS};name=hal_renesas;nobranch=1;destsuffix=git/modules/hal/renesas \ + ${SRC_URI_ZEPHYR_HAL_RPI_PICO};name=hal_rpi_pico;nobranch=1;destsuffix=git/modules/hal/rpi_pico \ + ${SRC_URI_ZEPHYR_HAL_SILABS};name=hal_silabs;nobranch=1;destsuffix=git/modules/hal/silabs \ + ${SRC_URI_ZEPHYR_HAL_ST};name=hal_st;nobranch=1;destsuffix=git/modules/hal/st \ + ${SRC_URI_ZEPHYR_HAL_STM32};name=hal_stm32;nobranch=1;destsuffix=git/modules/hal/stm32 \ + ${SRC_URI_ZEPHYR_HAL_TELINK};name=hal_telink;nobranch=1;destsuffix=git/modules/hal/telink \ + ${SRC_URI_ZEPHYR_HAL_TI};name=hal_ti;nobranch=1;destsuffix=git/modules/hal/ti \ + ${SRC_URI_ZEPHYR_HAL_WURTHELEKTRONIK};name=hal_wurthelektronik;nobranch=1;destsuffix=git/modules/hal/wurthelektronik \ + ${SRC_URI_ZEPHYR_HAL_XTENSA};name=hal_xtensa;nobranch=1;destsuffix=git/modules/hal/xtensa \ + ${SRC_URI_ZEPHYR_HOSTAP};name=hostap;nobranch=1;destsuffix=git/modules/lib/hostap \ + ${SRC_URI_ZEPHYR_LIBMETAL};name=libmetal;nobranch=1;destsuffix=git/modules/hal/libmetal \ + ${SRC_URI_ZEPHYR_LIBLC3};name=liblc3;nobranch=1;destsuffix=git/modules/lib/liblc3 \ + ${SRC_URI_ZEPHYR_LITTLEFS};name=littlefs;nobranch=1;destsuffix=git/modules/fs/littlefs \ + ${SRC_URI_ZEPHYR_LORAMAC_NODE};name=loramac-node;nobranch=1;destsuffix=git/modules/lib/loramac-node \ + ${SRC_URI_ZEPHYR_LVGL};name=lvgl;nobranch=1;destsuffix=git/modules/lib/gui/lvgl \ + ${SRC_URI_ZEPHYR_MBEDTLS};name=mbedtls;nobranch=1;destsuffix=git/modules/crypto/mbedtls \ + ${SRC_URI_ZEPHYR_MCUBOOT};name=mcuboot;nobranch=1;destsuffix=git/bootloader/mcuboot \ + ${SRC_URI_ZEPHYR_MIPI_SYS_T};name=mipi-sys-t;nobranch=1;destsuffix=git/modules/debug/mipi-sys-t \ + ${SRC_URI_ZEPHYR_NET_TOOLS};name=net-tools;nobranch=1;destsuffix=git/tools/net-tools \ + ${SRC_URI_ZEPHYR_NRF_HW_MODELS};name=nrf_hw_models;nobranch=1;destsuffix=git/modules/bsim_hw_models/nrf_hw_models \ + ${SRC_URI_ZEPHYR_OPEN_AMP};name=open-amp;nobranch=1;destsuffix=git/modules/lib/open-amp \ + ${SRC_URI_ZEPHYR_OPENTHREAD};name=openthread;nobranch=1;destsuffix=git/modules/lib/openthread \ + ${SRC_URI_ZEPHYR_PERCEPIO};name=percepio;nobranch=1;destsuffix=git/modules/debug/percepio \ + ${SRC_URI_ZEPHYR_PICOLIBC};name=picolibc;nobranch=1;destsuffix=git/modules/lib/picolibc \ + ${SRC_URI_ZEPHYR_SEGGER};name=segger;nobranch=1;destsuffix=git/modules/debug/segger \ + ${SRC_URI_ZEPHYR_TINYCRYPT};name=tinycrypt;nobranch=1;destsuffix=git/modules/crypto/tinycrypt \ + ${SRC_URI_ZEPHYR_TRUSTED_FIRMWARE_M};name=trusted-firmware-m;nobranch=1;destsuffix=git/modules/tee/tf-m/trusted-firmware-m \ + ${SRC_URI_ZEPHYR_TRUSTED_FIRMWARE_A};name=trusted-firmware-a;nobranch=1;destsuffix=git/modules/tee/tf-a/trusted-firmware-a \ + ${SRC_URI_ZEPHYR_UOSCORE_UEDHOC};name=uoscore-uedhoc;nobranch=1;destsuffix=git/modules/lib/uoscore-uedhoc \ + ${SRC_URI_ZEPHYR_ZCBOR};name=zcbor;nobranch=1;destsuffix=git/modules/lib/zcbor \ + ${SRC_URI_PATCHES} \ +" + +ZEPHYR_MODULES = "\ +${S}/modules/lib/acpica\;\ +${S}/tools/bsim\;\ +${S}/tools/bsim/components\;\ +${S}/tools/bsim/components/ext_2G4_libPhyComv1\;\ +${S}/tools/bsim/components/ext_2G4_phy_v1\;\ +${S}/tools/bsim/components/ext_2G4_channel_NtNcable\;\ +${S}/tools/bsim/components/ext_2G4_channel_multiatt\;\ +${S}/tools/bsim/components/ext_2G4_modem_magic\;\ +${S}/tools/bsim/components/ext_2G4_modem_BLE_simple\;\ +${S}/tools/bsim/components/ext_2G4_device_burst_interferer\;\ +${S}/tools/bsim/components/ext_2G4_device_WLAN_actmod\;\ +${S}/tools/bsim/components/ext_2G4_device_playback\;\ +${S}/tools/bsim/components/ext_libCryptov1\;\ +${S}/modules/hal/cmsis\;\ +${S}/modules/lib/cmsis-dsp\;\ +${S}/modules/lib/cmsis-nn\;\ +${S}/tools/edtt\;\ +${S}/modules/fs/fatfs\;\ +${S}/modules/hal/adi\;\ +${S}/modules/hal/altera\;\ +${S}/modules/hal/ambiq\;\ +${S}/modules/hal/atmel\;\ +${S}/modules/hal/espressif\;\ +${S}/modules/hal/ethos_u\;\ +${S}/modules/hal/gigadevice\;\ +${S}/modules/hal/infineon\;\ +${S}/modules/hal/intel\;\ +${S}/modules/hal/microchip\;\ +${S}/modules/hal/nordic\;\ +${S}/modules/hal/nuvoton\;\ +${S}/modules/hal/nxp\;\ +${S}/modules/hal/openisa\;\ +${S}/modules/hal/quicklogic\;\ +${S}/modules/hal/renesas\;\ +${S}/modules/hal/rpi_pico\;\ +${S}/modules/hal/silabs\;\ +${S}/modules/hal/st\;\ +${S}/modules/hal/stm32\;\ +${S}/modules/hal/telink\;\ +${S}/modules/hal/ti\;\ +${S}/modules/hal/wurthelektronik\;\ +${S}/modules/hal/xtensa\;\ +${S}/modules/lib/hostap\;\ +${S}/modules/hal/libmetal\;\ +${S}/modules/lib/liblc3\;\ +${S}/modules/fs/littlefs\;\ +${S}/modules/lib/loramac-node\;\ +${S}/modules/lib/gui/lvgl\;\ +${S}/modules/crypto/mbedtls\;\ +${S}/bootloader/mcuboot\;\ +${S}/modules/debug/mipi-sys-t\;\ +${S}/tools/net-tools\;\ +${S}/modules/bsim_hw_models/nrf_hw_models\;\ +${S}/modules/lib/open-amp\;\ +${S}/modules/lib/openthread\;\ +${S}/modules/debug/percepio\;\ +${S}/modules/lib/picolibc\;\ +${S}/modules/debug/segger\;\ +${S}/modules/crypto/tinycrypt\;\ +${S}/modules/tee/tf-m/trusted-firmware-m\;\ +${S}/modules/tee/tf-a/trusted-firmware-a\;\ +${S}/modules/lib/uoscore-uedhoc\;\ +${S}/modules/lib/zcbor\;\ +" + +ZEPHYR_BRANCH = "v3.7-branch" +PV = "3.7.0+git${SRCPV}" From patchwork Tue Aug 12 17:41:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Gundlupet Raju X-Patchwork-Id: 68417 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 A1BFBCA0EE4 for ; Tue, 12 Aug 2025 17:42:05 +0000 (UTC) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.78]) by mx.groups.io with SMTP id smtpd.web11.80882.1755020519805086965 for ; Tue, 12 Aug 2025 10:41:59 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=pyTmRwtl; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.244.78, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FQcsGne5aXKtxAWBmbL4MhJif2cfdiQIEZiWcGV9BdQC6Q2Hb7fdO04kGFhU/2tCeVZX69DcYweOg1dk7DJCNruoPiNbdeqUIryJXzi13sGv5eO1hx3YZwZYi9IPFoVvEYcqUtsn7ObPHtI8Qw1uz2SGmUpb/qu5XWZ1DqsURA5oanhAEB3QvR5kGClze2ykV+OcyxH/2/zw83KiUcUmjM21WsHk2IAVQH+L7ewvZnYR+IAc/uCqrugY3kFOkoZ0sIKulxKQBFW/m+s3euSS1bYPHNbwzjHaYsR8U/tXz+1olPalnxJjDij4jB+luG+1Lf647QZ9XjjuS/DHA3b91Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ISs6cuvTFdN7VCuELhR8XI1pTHN8m0TeLRCYXAYPsKk=; b=mTVJ42J92OF/1Gjc26u3EUgE94YkFm4vR2JgC+fP/BVuUCNz5hEsjm2eQ0Ye0idADzbCi8sIuU0J26/ydkzI2ACUktkZVgkJMg4WzhzEFke1iy84MTe/Fo4t2KcHgJLh4DzO1KWIooB3R76hrGDPqfJGbDtGKQrZFqk5OtOL0hgepTR0ZUQzk23t3aQ07hf0EPTZSDD69+fodc4kkT/IjsgQOXt7wEcqGHm2S4F5o+aFGqaJeQM8Dv7JIQ0RU109RbgZrzvbY6XAbK8J17PKfvRsaEcYwi/EwnVeeSH/KPkSNkOpQnIZaKzr4Lok7MAdw4TPeUnqaI91r9ND6/AUjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ISs6cuvTFdN7VCuELhR8XI1pTHN8m0TeLRCYXAYPsKk=; b=pyTmRwtlGO43HrYgUD6tT1iWZqb+2FTiIr+cXUNI5nBUuk6GbilL0KjqE6aXdazkZfTWnvssVKE6xzAVe17J75D59wQsD/9usIMx77WBvrYEKdplVSG9EbofJxfzsp8XxoY6U8BpNaVoaBoWxSkNHvESlgyRolXz+1wsIyhHbYs= Received: from SA9PR13CA0107.namprd13.prod.outlook.com (2603:10b6:806:24::22) by PH0PR12MB7789.namprd12.prod.outlook.com (2603:10b6:510:283::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.22; Tue, 12 Aug 2025 17:41:57 +0000 Received: from SN1PEPF0002529D.namprd05.prod.outlook.com (2603:10b6:806:24:cafe::48) by SA9PR13CA0107.outlook.office365.com (2603:10b6:806:24::22) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.14 via Frontend Transport; Tue, 12 Aug 2025 17:41:56 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by SN1PEPF0002529D.mail.protection.outlook.com (10.167.242.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Tue, 12 Aug 2025 17:41:56 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:55 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Tue, 12 Aug 2025 12:41:55 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v5 8/12] meta-zephyr: Update README files Date: Tue, 12 Aug 2025 11:41:43 -0600 Message-ID: <20250812174147.130972-9-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> References: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 Received-SPF: None (SATLEXMB03.amd.com: sandeep.gundlupet-raju@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF0002529D:EE_|PH0PR12MB7789:EE_ X-MS-Office365-Filtering-Correlation-Id: caa2ea51-9921-418c-faa4-08ddd9c78884 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|1800799024|376014|13003099007; X-Microsoft-Antispam-Message-Info: /9SFr2jBacKxW5VbO8X4Ky+HikgLRHfqvoCGW/qmZnwMY0hMBBiYXSPzbFcrF3Pfkz/w+XNu5oavQTJVQSNgJGxvOZHcqLdWNbxwotMFcSPNV1f25VBqXQQfMTs7zuIPQ+Cmczq5oDXN3oehr5lVP+AgwCwwRO/KzUnkPLWRHhWyxvY3FKumz2STr4+mMEd2XlhuOCYwiCdiP181CJYLfyqrFqR6iWy3lZbRLlM4oBj5MPOVYVqCWpDcs9gHg3yW9xxuA+uM8NYN/7JyDVb463Anzockfzk2IKzn/68x0lfjNjj6CFrJcIPTrRNF6nPjkoKN2ih0cmVEc3hVyNhR4Iz2wIELsHz8d05pN6qXNk1BP66rmHMyrgIfoXVhQQMNYWZv/+NLSK7OjI+hn+a8mgpvV+twV8lI2xYYGdXzVYyQAV+YzNTyhk0+Kdgwvpo+qskLQ+QvF8T1PfY+2xkuwE1QpDrig9FRyJKh7/QehNPBgrNHZ8TndHpqyqoI/UlSq0tHrN3WQyIET5ZTzI8UgvQ1qRzJLD1cC8O8MGs+tH9k7YDvO6FqUhyYcNIc4ECXheEE2rpnLGnbVRS8vqc43SAOt2tAgtdgxEoTcC4jG/bZORH6OgadjjdDZQn+efpRIbECYcmRGGLxyYXzSAiU7oOM33JVYnT21Hr68spRKwm2KZQsFb0+vlDjC+TR8vRJxabzR5WS5fksA72eqLb3h8zWe05OJkcK1Whn41OF7TWrpPGlXvZ/VU0yu1nFj5DLZXzC/5nQdypfekFtz0u2lByZ8fh9dxzVPyrAbLid9873PbU5s3Pq0Xxp1Hd1oc1lvVxTw6O5SEUMFme+I89/yYhmEfsBG3upSxpGz5/WUnV8oZIIRm6xYb5d8i0P3ckWIyHsYm+flBeN2Gerp72Mr+RidKnbcKncetTKzBoDQF1lZWhKca6jLwch6Ile0drYdAaZgKAduOzBhGqlDQN4Q4WLDj4hTBSCadamnKZ/VpL4vAtYc5TvCaFwpLTy+gitdPzv5UuNMOfSh9ciZ0JZfgcRgN81MwbnBkAHV09XAwZPivy+UbvhwTfhCPcObYztQJ8f0qTx7qRpvkmemIb0DtUMMm+m7nzViMpX+j3nXxv+/FsbuP3xrF+ybcWe+CaljpaAuGri8CW64wzK8O4XMTsha2NpCs5LnqwJfumuGg3rnFMiOuzKfnfqeGEU2wjMj7tO9Rmm+cIjvrT5F6l4vs1j8BAoJCS6oxnDXe3tMes066iNOtpEl/iSt+DbMzLbF/3P6oBTpulJNi50RVIlMvt/XeqSHjGi+x73XO/TkzZ6Y7PY9gA+mMyKa4wFpJLsSpplAAte0Nqldvsk5VOb7anE/UBF+JtTqOP13XV9Q/tbDR2xtMvJriOpB2VPJu3UHzyq+Q8y1gXcYF+9s9d01YPuEyXYkUrH8HcKOshk1RNoD2jBs+5Zghu0k4jvPpuM+orTgzfG6bBLBB7NB0Iy+A== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(36860700013)(1800799024)(376014)(13003099007);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2025 17:41:56.7958 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: caa2ea51-9921-418c-faa4-08ddd9c78884 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF0002529D.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB7789 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, 12 Aug 2025 17:42:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1965 Update README files with following. - Build instructions - Maintainers lists and patch submission Signed-off-by: Sandeep Gundlupet Raju --- README.txt => README.md | 163 ++++++++++++++++++++++++------------ meta-zephyr-bsp/README.md | 5 ++ meta-zephyr-bsp/README.txt | 1 - meta-zephyr-core/README.md | 6 ++ meta-zephyr-core/README.txt | 1 - 5 files changed, 120 insertions(+), 56 deletions(-) rename README.txt => README.md (60%) create mode 100644 meta-zephyr-bsp/README.md delete mode 100644 meta-zephyr-bsp/README.txt create mode 100644 meta-zephyr-core/README.md delete mode 100644 meta-zephyr-core/README.txt diff --git a/README.txt b/README.md similarity index 60% rename from README.txt rename to README.md index d3694a6..16951b0 100644 --- a/README.txt +++ b/README.md @@ -1,71 +1,101 @@ -Building Zephyr Images via bitbake recipes -========================================== +# meta-zephyr -More detailed and up-to-date information can be found here: - -https://wiki.yoctoproject.org/wiki/TipsAndTricks/BuildingZephyrImages +This layer enables building Zephyr using Yocto Project. -Prerequisites: -============== +## Dependencies This layer depends on: - Yocto distro (master) - git://git.yoctoproject.org/poky - Python layer (meta-openembedded/meta-python) - git://git.openembedded.org/meta-openembedded -Add "meta-openembedded/meta-oe" to BBLAYERS -Add "meta-openembedded/meta-python" to BBLAYERS -Add "meta-zephyr-core" and "meta-zephyr-bsp" to BBLAYERS + URI: https://git.yoctoproject.org/poky + layers: meta, meta-poky + branch: scarthgap + + URI: https://git.openembedded.org/meta-openembedded + layers: meta-oe, meta-python + branch: scarthgap + +## Building Zephyr Images via bitbake recipes + +More detailed and up-to-date information can be found here: + +https://wiki.yoctoproject.org/wiki/TipsAndTricks/BuildingZephyrImages -Building and Running Zephyr Samples -=================================== +> **Pre-requisites:** +1. Refer [Yocto Project Quick Build]( https://docs.yoctoproject.org/dev/singleindex.html#yocto-project-quick-build) documentation. + +2. Clone and add following layers to BBLAYERS + * meta-openembedded/meta-oe + * meta-openembedded/meta-python + * meta-zephyr-core + * meta-zephyr-bsp +``` + $ mkdir sources + $ git clone -b https://git.yoctoproject.org/poky + $ git clone -b https://git.openembedded.org/meta-openembedded + $ git clone -b https://git.yoctoproject.org/meta-zephyr + $ source poky/oe-init-build-env + $ bitbake-layers add-layer ../meta-openembedded/meta-oe + $ bitbake-layers add-layer ../meta-openembedded/meta-python + $ bitbake-layers add-layer ../meta-zephyr/meta-zephyr-core + $ bitbake-layers add-layer ../meta-zephyr/meta-zephyr-bsp +``` + +### Building and Running Zephyr Samples You can build Zephyr samples. There are several sample recipes. To use the Yocto toolchain, modify local conf by adding: +``` DISTRO="zephyr" +``` To use the Zephyr pre-built toolchain, modify local conf by adding: +``` ZEPHYR_TOOLCHAIN_VARIANT = "zephyr" +``` For example, to build the Zephyr "philosophers" sample: - +``` $ MACHINE=qemu-x86 bitbake zephyr-philosophers - -You can then run the created "philosophers" image in qemu: +``` +You can then run the created "philosophers" image in qemu: +``` $ runqemu qemu-x86 - -The same sample, for ARM image: +``` +The same sample, for ARM image: +``` $ MACHINE=qemu-cortex-m3 bitbake zephyr-philosophers $ runqemu qemu-cortex-m3 - -The same sample, for Nios2 image: +``` +The same sample, for Nios2 image: +``` $ MACHINE=qemu-nios2 bitbake zephyr-philosophers $ runqemu qemu-nios2 +``` -Flashing -================================= +### Flashing You can flash Zephyr samples to boards. Currently, the following MACHINEs are supported: * DFU: - - arduino-101-sss - - arduino-101 - - arduino-101-ble + * arduino-101-sss + * arduino-101 + * arduino-101-ble * pyocd: - - 96b-nitrogen + * 96b-nitrogen To flash the example you built with command e.g. - +``` $ MACHINE=96b-nitrogen bitbake zephyr-philosophers +``` call similar command with explicit flash_usb command: - +``` $ MACHINE=96b-nitrogen bitbake zephyr-philosophers -c flash_usb +``` dfu-util and/or pyocd need to be installed in your system. If you observe permission errors or the flashing process seem to hang, follow those instructions: @@ -77,28 +107,31 @@ of IDs. Once that is set, the tool will only try to program these IDs. You can query for the IDs by running `pyocd list` on your host while having the probes attached. Besides setting this variable through the build's configuration or metadata, you can also inject its value from command line with something like: - +``` $ PYOCD_FLASH_IDS=' ' BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE PYOCD_FLASH_IDS" bitbake -c flash_usb +``` + +## Building and Running Zephyr Tests -Building and Running Zephyr Tests -================================= Presently only toolchains for ARM, x86, IAMCU and Nios2 are supported. (For ARM we use CortexM3 toolchain) To run Zephyr Test using Yocto Image Tests, ensure following in local.conf: - +``` INHERIT += "testimage" +``` You can build and test an individual existing Zephyr test. This is done by appending the actual test name to the "zephyr-kernel-test", for example: - +``` $ MACHINE=qemu-x86 bitbake zephyr-kernel-test-sleep $ MACHINE=qemu-x86 bitbake zephyr-kernel-test-sleep -c testimage +``` You can also build and run all Zephyr existing tests (as listed in the file zephyr-kernel-test.inc). For example: - +``` $ MACHINE=qemu-x86 bitbake zephyr-kernel-test-all $ MACHINE=qemu-x86 bitbake zephyr-kernel-test-all -c testimage or @@ -107,16 +140,17 @@ or or $ MACHINE=qemu-nios2 bitbake zephyr-kernel-test-all $ MACHINE=qemu-nios2 bitbake zephyr-kernel-test-all -c testimage - +``` + +## Generating OE Machines based on Zephyr board definitions -Generating OE Machines based on Zephyr board definitions -======================================================== We currently have a recipe called generate-zephry-machines which will go through and attempt to create an OE machine conf file for every board in Zephyr. This is run via: - +``` MACHINE=qemu-x86 bitbake generate-zephyr-machines +``` The output is then put in the normal deploy dir. This recipe is really only useful for maintainers. There is currently no way to use the Zephyr board @@ -125,14 +159,15 @@ you will need to run the above, copy the conf files from the deploy dir to the machine conf directory and then run your build. This shouldn't need to happen often. -Generating new Zephyr recipe versions -===================================== +## Generating new Zephyr recipe versions + The script meta-zephyr-core/scripts/generate-version.py is used to generate Yocto configuration for a Zephyr version from the West configuration in the Zephyr repository. It requires the west and jinja2 Python packages to be installed on the host. Run it as follows: - +``` $ ./meta-zephyr-core/scripts/generate-version.py x.x.x +``` where x.x.x is the Zephyr version. @@ -140,17 +175,37 @@ The patch files added to SRC_URI in the generated file should be validated and modified if required. The new version should be committed and submitted to the mailing list as -described in "Contributing". +described in "Maintainers, Mailing list, Patches". + +## Maintainers, Mailing list, Patches + +Please send any patches for this layer to the yocto-patches mailinglists +with ['meta-zephyr'] in the subject: + + yocto-patches@lists.yoctoproject.org + +When sending patches, please make sure the email subject line includes +`[meta-amd-edf][][PATCH]` and cc'ing the maintainers. + +For more details follow the Yocto Project community patch submission guidelines, +as described in: + +https://docs.yoctoproject.org/dev/contributor-guide/submit-changes.html# + +`git send-email --to yocto-patches@lists.yoctoproject.org *.patch` + +> **Note:** When creating patches, please use below format. To follow best practice, +> if you have more than one patch use `--cover-letter` option while generating the +> patches. Edit the 0000-cover-letter.patch and change the title and top of the +> body as appropriate. -Contributing -============ +**Syntax:** +`git format-patch -s --subject-prefix="meta-zephyr][][PATCH" -1` -Patches for meta-zephyr should be sent to the yocto-patches@lists.yoctoproject.org -mailing list. See https://lists.yoctoproject.org/g/yocto-patches for subscription -details and the list archive. Please add [meta-zephyr] to the subject so -the patches are identifable. +**Example:** +`git format-patch -s --subject-prefix="meta-zephyr][scarthgap][PATCH" -1` -Git can be configured to send mails appropriately when using git send-email: +**Maintainers:** -$ git config --local sendemail.to yocto-patches@lists.yoctoproject.org -$ git config --local format.subjectPrefix meta-zephyr][PATCH + Lee Chee Yang + Sandeep Gundlupet Raju diff --git a/meta-zephyr-bsp/README.md b/meta-zephyr-bsp/README.md new file mode 100644 index 0000000..e159015 --- /dev/null +++ b/meta-zephyr-bsp/README.md @@ -0,0 +1,5 @@ +# meta-zephyr-bsp + +This layer contains machine files for building Zephyr applications. + +For more details see [Building Instructions](../README.md) diff --git a/meta-zephyr-bsp/README.txt b/meta-zephyr-bsp/README.txt deleted file mode 100644 index 2644ed0..0000000 --- a/meta-zephyr-bsp/README.txt +++ /dev/null @@ -1 +0,0 @@ -See ../README.txt diff --git a/meta-zephyr-core/README.md b/meta-zephyr-core/README.md new file mode 100644 index 0000000..18db977 --- /dev/null +++ b/meta-zephyr-core/README.md @@ -0,0 +1,6 @@ +# meta-zephyr-core + +This layer enables Zephyr build metadata such as zephyr scripts, kernel include +files, zephyr applications recipes and bitbake class to support qemu boot. + +For more details see [Building Instructions](../README.md) diff --git a/meta-zephyr-core/README.txt b/meta-zephyr-core/README.txt deleted file mode 100644 index 2644ed0..0000000 --- a/meta-zephyr-core/README.txt +++ /dev/null @@ -1 +0,0 @@ -See ../README.txt From patchwork Tue Aug 12 17:41:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Gundlupet Raju X-Patchwork-Id: 68412 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 8E4CACA0EE0 for ; Tue, 12 Aug 2025 17:42:05 +0000 (UTC) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.50]) by mx.groups.io with SMTP id smtpd.web10.81596.1755020522852231666 for ; Tue, 12 Aug 2025 10:42:03 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=HJrkaMNu; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.244.50, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=SwD6DYDmbfSQMRrtWwu9IZZ1InSVzFuVaBiASWXMVY+i8xSoTM+eAFvh1JCzMBVo8+txs3qXf9hccUqWkQSKktoKrgBzWPNeip5evBZ8cHjwlWzEi8fMLmlw5DVWzYLfJakt/fvZDSJ7YCyyN/v4lRys/Y1ZSnkU763scgBb1ckqkT5b9QJzFXWYY9xoTuoM6DdREEqfy2fChCDhWF3IXPpad8pflfAHJtPE5dQYFvwudtMSKsM2bQmtdGGdIxalQZiYsVTDInqfhwgbmuo6nQQfZwD/iAWpuVMH37X5XGJXC+7/e0f0dnq8Gka1Uwrh7UaxFAnLTzFP4GK7dU8+DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Ow8E5obRKYC4wBzHdGz3sOZZcV8JmzEvAwOctX0166E=; b=nU/BaEJ1mo1gGC280tlllBSZ1+CkiSjNCyEUAaIl5XjSrVKLA3fmYZ3IErU0ktvviU9L1h7PNhauBMxomzG0qFZ73mizjUOgk+1pXfOXdqg0hj4snflJRZtjCqFpUjfpw4FBCDoXQ2fGMCABr2Wbs8LpubtSzKl5zAy8r8lz2TOVJttcs6/CRO8dytmQLMgRyo0us5ZCSqK/ta1m6gRj1NxgsFQok4nonQUM/QkR0VvASZSCt8+2Pzc0rurKSsVX4SWd9kKbWCfuyZLc3FxSz++MsAKrY7ZFMk8JMRIT4uJco9pdilwq95Nm+TIt3cmeunlEh7Wt2na/u3loFDUZgQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ow8E5obRKYC4wBzHdGz3sOZZcV8JmzEvAwOctX0166E=; b=HJrkaMNu7mYaFGaREtpCYFPc5SbzEVb34doZiNuR1NsfOYbC44/Uq/WI6KFng9gFt+G62mavA8kHwsDwDuP4ohO1Pw6RaoOgLh5qGwApZNtOO2BqPUyJ9T3zTuNxu1BguPX6yYPf2l8txlSV/QhKGMOcPBBJa6FZDTLeUHFNGh4= Received: from CH0PR03CA0256.namprd03.prod.outlook.com (2603:10b6:610:e5::21) by SN7PR12MB7909.namprd12.prod.outlook.com (2603:10b6:806:340::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Tue, 12 Aug 2025 17:41:59 +0000 Received: from CH1PEPF0000AD77.namprd04.prod.outlook.com (2603:10b6:610:e5:cafe::d1) by CH0PR03CA0256.outlook.office365.com (2603:10b6:610:e5::21) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.13 via Frontend Transport; Tue, 12 Aug 2025 17:41:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CH1PEPF0000AD77.mail.protection.outlook.com (10.167.244.55) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Tue, 12 Aug 2025 17:41:58 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:55 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Tue, 12 Aug 2025 12:41:55 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v5 9/12] zephyr-kernel: Use relative path Date: Tue, 12 Aug 2025 11:41:44 -0600 Message-ID: <20250812174147.130972-10-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> References: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 Received-SPF: None (SATLEXMB04.amd.com: sandeep.gundlupet-raju@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH1PEPF0000AD77:EE_|SN7PR12MB7909:EE_ X-MS-Office365-Filtering-Correlation-Id: aa7c6c32-da60-4daf-3610-08ddd9c789ba X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|376014|82310400026; X-Microsoft-Antispam-Message-Info: 2t+JOexnwtxKI4lkUi6Hr08Qx2xypHu2RKHfi/jExDWMnr31T9Cn9PZVzYY2SHd+9P9Llm5wh6ew8Bvq8+qIysFT4ZWydiLuyskoNStdA+DfnuJ8EqasP05XqG9B/QvAHKWRrInQaPMe6g8EVjnr8uHaD0ukn3Vu/DIOe3ZJFKz45oyNVoKDM3yCe+Xe0f81OMnQ5IoCjFnX0iMzaQbmzIgs+2MSz5CdaXQpXZPVYqAnaHBiV0zNf2kDzz2lmwU79SV554GKi7vRF7Kn65Y7KCgF/dTgd8YMLcTF89aL3Puyiu0yld56Mt5gl/PM3L3Zcewd/hD4qBI2Wp+P/jLhaRtf8OabKhAznZUOrdj/q+uySWZPQQOdF3kVer+dlm8ygeT7wetsOWN5+IB4DKmMgDNQxmP6PS85JPEx4LWD4NC8LdS1EYeYSA6noMJXfr9gyFAIQNFA0VY8PbrPQQQbFin8CRFZj0Yb+ktlvk+xW2Xqq+qJafUBD7JzDFOMatCrSh6amo1uAT3Dreq/hrg2JcmbhU758K5fU65ORFyhKwxKXK8BhvTbniQFWZwZq84NB5TpqVvzsJiReh9TTDNtKBrX8GGEZCzX9aXjvIRomb99ddowG5NyYrIT/PkNQUWgxQ21c/5cxPt72wXh6eymAh92d5OlP940ajbIf6uc6lckHLOCc1ROtfH6QIZreLkQH1bja/dUxTkxsRRCOq9asv0ACqJ6xxikiRPQwFuZqLu0HQkh7WSWbw5CU/hVVHCxwLgo7W9iWS4uyn6xRTmELZVwSyMmBvJaegNzUR2rQPxjhNRuM0sF1Xf2k5Edpu1kV8kKhfy2NTlb53L2nME2iyp9Sk6zXJ6atrSZWb6vW5x0a8a51h/YOlOWoL7Wfxk7gMS1zMLdyPgDrCE1UVaHeYJL+gJ08eEZmFyeZGJQA5i/97KT8hWdSZLUnocFJEr0+FcNT5zPhgnIxzOoRXgKVfZf54g6yOmYK8ac0MW6td4OIxdFJI0wDJpvQvOBdOsEFkkXR4wjzOghOSAIypv8Lx5GZNek7cVf1v9w89mDAT9MVrPswSUMuvxCzMnG8lj8D4mFJWOuSrqxlPnV/IoKliXWwRfJsxDcHNTI7hSgqQKKi64Xb1n40+fprplH7gkvt5B94pyJfiAPQ9itQ4T6U4wBtFLBWRPJf5ygeYE8BGbW7m/f4Azxf4xMyZxmnSRJayqc5cQLM1vxfW8ST55WTVoWfsMzaT+zvkgxrvXAi92JjuFnIrCUnsbiuvJgdXpkqEQvVu/kZfmdY2w8HYrIuO2Ea15vQDB3FtkWiD2cMnOKB8UetvBP/foZpQER/EszQLATHEf268/IvPxI0906yfh/GeCg1YdK9Iz7u7eUSMF8zFzMRU2uYug9Y/IyZgtgX8qJMxoVQOCsTQ4TUjBzPyhhxsdmeFv0eB82CZytD7kPHgOxJ9ufaYYibOxMwxUkrK9Xf+Jn1shoa0GjmCZeWq8HTPCueFmlaTnTECa7dghzNNbQG0+ljCj72M/QuobR X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700013)(1800799024)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2025 17:41:58.8338 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aa7c6c32-da60-4daf-3610-08ddd9c789ba X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000AD77.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7909 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, 12 Aug 2025 17:42:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1970 Use relative path for all the include files to avoid overlaying the include files. Signed-off-by: Sandeep Gundlupet Raju --- .../recipes-kernel/zephyr-kernel/zephyr-image.inc | 4 ++-- .../recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc | 2 +- .../recipes-kernel/zephyr-kernel/zephyr-kernel-test-all.bb | 2 +- .../recipes-kernel/zephyr-kernel/zephyr-kernel-test.bb | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-image.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-image.inc index 93d36b1..ca728b9 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-image.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-image.inc @@ -1,5 +1,5 @@ -require zephyr-kernel-src.inc -require zephyr-kernel-common.inc +require recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +require recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc inherit deploy image-artifact-names OECMAKE_SOURCEPATH = "${ZEPHYR_SRC_DIR}" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc index ba70a29..5191b9a 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc @@ -8,7 +8,7 @@ inherit ${ZEPHYR_INHERIT_CLASSES} IMAGE_NO_MANIFEST = "1" ZEPHYR_TOOLCHAIN_VARIANT ?= "cross-compile" -require zephyr-toolchain-${ZEPHYR_TOOLCHAIN_VARIANT}.inc +require recipes-kernel/zephyr-kernel/zephyr-toolchain-${ZEPHYR_TOOLCHAIN_VARIANT}.inc ZEPHYR_MAKE_OUTPUT = "zephyr.elf" ZEPHYR_MAKE_BIN_OUTPUT = "zephyr.bin" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-test-all.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-test-all.bb index 85efd24..d9dbb40 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-test-all.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-test-all.bb @@ -1,7 +1,7 @@ LICENSE = "Apache-2.0" INHIBIT_DEFAULT_DEPS = "1" -require zephyr-kernel-test.inc +require recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc addtask testimage deltask compile diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-test.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-test.bb index 2918d2d..75b1757 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-test.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-test.bb @@ -1,4 +1,4 @@ -require zephyr-image.inc -require zephyr-kernel-test.inc +require recipes-kernel/zephyr-kernel/zephyr-image.inc +require recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc BBCLASSEXTEND = '${@" ".join(["zephyrtest:" + x for x in d.getVar("ZEPHYRTESTS", True).split()])}' From patchwork Tue Aug 12 17:41:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Gundlupet Raju X-Patchwork-Id: 68419 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 B0A8ECA0EE7 for ; Tue, 12 Aug 2025 17:42:05 +0000 (UTC) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.89]) by mx.groups.io with SMTP id smtpd.web11.80885.1755020521504580516 for ; Tue, 12 Aug 2025 10:42:01 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=XN2OQCPa; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.243.89, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=N0t/wwmsd1sQijWu9Yw9N8pPzVmjNbSbA1KpOQVLXTTXshDJCIWz3pttb/7kE102IfUDp4Rdubhe7u9UeoiFXb8gAwPwzrN97RvjwTZOumepGKAiR/0Y87ckpHtJi2gmW5/VYq62e/84vs4RWgumt4WtqCwSfFaIBWuVF0rnxrWugoORJxkQLBHusBAzQWPw9vNBi40vx7ucq7kV76h1GTAKg+v970LmygRJC+vUf+6ti2Pe9kDGrfBVIsSS2adhDEq+QsZj0oiQL0GIpg0PyrFthozvNvicJNVM7sUKfkloM76W7ymawXXMfJ4gvf2wb883OMAPisK/vHeJ40Fw3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=10E1QjRBllYheXG0z3khl52zhcmByD/4qTcS21Vm1gg=; b=v+1B2LQ256pdAJr1FHTZf2CbVm3y9gWLevRC0p945bWQS1XkkQ/B4mS5RVuxV4WbohteRHHe7SlwoyWKyrTvFcyE4dEvN8roJFZ584R5vwjt1xxtyvKkPBWQpg7yspfZ96/zEvAVy/es2LyqtFsspYAvxGLQuVTjS0JuPw7koUOsyGFlRlujGV/KbbwXkW7NafGmxXpEd4abpw/bDb/UGZ0QvX43JcyxbnfBL1BIqWmB2KZPI5hHaUfooGkO149+g2GPBVmki/BrvVaPzxAp8W2dMvedVQZ4Qdi0dG2DISwHEmx3llIYT/MsS9tVGNtlgrnPqrxdyla3khokFGpBVg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=10E1QjRBllYheXG0z3khl52zhcmByD/4qTcS21Vm1gg=; b=XN2OQCPaP2I5ZjYim2jAMlsK34IaH6wnY+aSPfT6uq4VH+RlOd/LAWQmUeeRmeMZV6Epjdy6jAsMID3rXtuLvXO8FNW8GHElK2vRIUJG64uoLmUp9RMbzgJuBlqk+gwtaBg3RQgiyiQI5L3Kms5QwGfxvqX89jnfQaeqfZT++6I= Received: from CH0PR04CA0102.namprd04.prod.outlook.com (2603:10b6:610:75::17) by DS0PR12MB7898.namprd12.prod.outlook.com (2603:10b6:8:14c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Tue, 12 Aug 2025 17:41:59 +0000 Received: from CH1PEPF0000AD74.namprd04.prod.outlook.com (2603:10b6:610:75:cafe::20) by CH0PR04CA0102.outlook.office365.com (2603:10b6:610:75::17) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.14 via Frontend Transport; Tue, 12 Aug 2025 17:41:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CH1PEPF0000AD74.mail.protection.outlook.com (10.167.244.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Tue, 12 Aug 2025 17:41:58 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:56 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:56 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Tue, 12 Aug 2025 12:41:56 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v5 10/12] classes-recipe: Convert zephyr-sample inc file to bbclass Date: Tue, 12 Aug 2025 11:41:45 -0600 Message-ID: <20250812174147.130972-11-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> References: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH1PEPF0000AD74:EE_|DS0PR12MB7898:EE_ X-MS-Office365-Filtering-Correlation-Id: bec230f6-e1f3-43ee-24fb-08ddd9c789d0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|1800799024|36860700013|376014; X-Microsoft-Antispam-Message-Info: 9IogBPZDQldFHvcGPEjykz+o79uPCo5OEpCz1yMszloGovlgQo5VbKSmg+EzKwQS4/pSJ5hFN20oAFuTkmBu2dixbXMsj0acAe2Eg2sx5MmgXdCWOPDJVf2KpUSDSgRHLiatD8c2nRTHi9653nyDZOJyXiJnav+JniuvOvIjRH7qVxEnkp5nU4xbGKl9/iOohQUcbjIusxY1/BgQbhZJbCWxzAlrpjb3XiLUanoESaYu5eJnYKUHuzVMRzUgUKms2zdlKXSz/jFNqwizs57bZM5JkOlVcbqZQu8rFyUs70ACcKAh5mkWrog+WlHJNwafUVeMNrj/gNZp5TL0fGerfcmORypXuo4CCq+Sra5dzYLlQBaSKmpZdO2ag7iqFoM9sxrqn/MNAQG4RhO8SV7gcrpLm4KPPtzGt+G8D7ZOAeIFQ6lDOubk/lltOlCXFnRBaAL13Qk842wK9IQccwf+yXr2E5LrcITuTwKcbbVVQWVdQAWZjUTjM+1roHWfox7IJFi95+nL8x6md8mCfLlFym4YrEzNNjCY5x+BOHxbDxMSt3W33J7baSIY58LJTqpW+ug3piVfRP7OrOUigbhxmtdTShwlUdWNzHEjmXJNErJg8LEK0jTlntVaOTePYfXMnAVLvfglrRxoc65Av5wjEaCtpyH/fK3duG0uTK32SFb+cqu0uhVRnOzaPlsA7IJlPLnIpHPFedcn+tEBut8S3RXLg9OuREgdEf68tA+M+zHDJUSe7jA5cYrGZc1+UpoDUqYOwBs08zwFfeF4joZaNCZqsJNdi8R7i4hWLHK43ic4hdbCYww/ZRyY7uG6YMSB7Fxiqk73ZIye3/P0pj51pECxEzIUXyj6hixaHO2QXXeYl7wzJTWlXvM1bPQMUyrzQMrMmyrmdt2hE4/82KjhpvkI8QoFB9alVsA2FlWsq8xZmYyINTGVOMYNzhnerGOraxrmpFv3YLJDljfAk401JGHfHfD4nOD+F6fzlMNc960Y0Cx5PgHMf6yU19eaxaFTiO7AAuLPMxQpuRknbcOEidtUqxim4YgtKlsqeyzmbhHppf+AFWk6iYw/aqlVgXbIl4qzm5F6tVgQIuX0ymnFWFP2rQ2XRzxKfIf1fZUWNUxTw60bQIfRaSS1kHchZUkgrPnsEG2+kUkYeTfkmniTrVnmrdctd5Cx3qQnwaXLGiMxg0YaKcANr924ZeD8ARk/c8mYSIaGaykoIQrRcZJTzi5Eo4uSCY04U/ECa3c3nHA2NgdzxCgUQEbW8U4xQqL707tpnLL973PlJJbXGgHzHwJzBsYfUa011Tcu6Av1MdSxNPrFjVEN+v6JVhj08xcHHJZXKG1tNJPG816piudxxJXnAys0eGtVAQ8wiYkkCIWzlw8+12L4W7dc/K9AKamtBNPnWz5835o0hrtMBdYBxT1ZOqsURO6MaCWvHvb919bkui3YdNHmK11xEXU107WXDycK1CKJabgEKWjOIdMRvBKaPkXWeudAcI+G1uabq4LyycSua1zDAdcc1u2cvt1l X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(1800799024)(36860700013)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2025 17:41:58.9788 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bec230f6-e1f3-43ee-24fb-08ddd9c789d0 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000AD74.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7898 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, 12 Aug 2025 17:42:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1968 Convert recipes-kernel/zephyr-kernel/zephyr-sample.inc file to classes-recipe/zephyr-sample.bbclass. Using this bbclass user can inherit this bbclass from any layer to build custom or out-of-tree zephyr applications. Also update the recipes to inherit zephyr-sample bbclass. Signed-off-by: Sandeep Gundlupet Raju --- .../recipes-meta/meta/generate-zephyr-machines.bb | 4 ++-- meta-zephyr-core/classes-recipe/zephyr-sample.bbclass | 10 ++++++++++ .../recipes-kernel/zephyr-kernel/zephyr-blinky.bb | 2 +- .../recipes-kernel/zephyr-kernel/zephyr-coap-client.bb | 2 +- .../recipes-kernel/zephyr-kernel/zephyr-coap-server.bb | 2 +- .../recipes-kernel/zephyr-kernel/zephyr-echo-client.bb | 2 +- .../recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb | 2 +- .../recipes-kernel/zephyr-kernel/zephyr-helloworld.bb | 2 +- .../recipes-kernel/zephyr-kernel/zephyr-http-client.bb | 2 +- .../recipes-kernel/zephyr-kernel/zephyr-lvgl.bb | 2 +- .../zephyr-kernel/zephyr-mqtt-publisher.bb | 2 +- .../zephyr-kernel/zephyr-openamp-rsc-table.bb | 2 +- .../zephyr-kernel/zephyr-openthread-echo-client.bb | 2 +- .../zephyr-kernel/zephyr-openthread-rcp.bb | 2 +- .../zephyr-kernel/zephyr-peripheral-esp.bb | 2 +- .../zephyr-kernel/zephyr-peripheral-hr.bb | 2 +- .../zephyr-kernel/zephyr-philosophers.bb | 2 +- .../recipes-kernel/zephyr-kernel/zephyr-sample.inc | 1 - .../zephyr-kernel/zephyr-synchronization.bb | 2 +- .../zephyr-kernel/zephyr-websocket-client.bb | 2 +- 20 files changed, 29 insertions(+), 20 deletions(-) create mode 100644 meta-zephyr-core/classes-recipe/zephyr-sample.bbclass delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-sample.inc diff --git a/meta-zephyr-bsp/recipes-meta/meta/generate-zephyr-machines.bb b/meta-zephyr-bsp/recipes-meta/meta/generate-zephyr-machines.bb index 30d362c..a52ffba 100644 --- a/meta-zephyr-bsp/recipes-meta/meta/generate-zephyr-machines.bb +++ b/meta-zephyr-bsp/recipes-meta/meta/generate-zephyr-machines.bb @@ -2,11 +2,11 @@ # SPDX-License-Identifier: Apache-2.0 FILESEXTRAPATHS:prepend := "${THISDIR}/files:" -ZEPHYR_INHERIT_CLASSES += "zephyr cmake" +ZEPHYR_INHERIT_CLASSES += "zephyr cmake zephyr-sample" inherit ${ZEPHYR_INHERIT_CLASSES} -require recipes-kernel/zephyr-kernel/zephyr-sample.inc +#require recipes-kernel/zephyr-kernel/zephyr-sample.inc SRC_URI:append = " file://0001-zephyr-Export-an-OpenEmbedded-machine-config.patch" diff --git a/meta-zephyr-core/classes-recipe/zephyr-sample.bbclass b/meta-zephyr-core/classes-recipe/zephyr-sample.bbclass new file mode 100644 index 0000000..b2a71db --- /dev/null +++ b/meta-zephyr-core/classes-recipe/zephyr-sample.bbclass @@ -0,0 +1,10 @@ +# +# Copyright (C) 2025, Advanced Micro Devices, Inc. All rights reserved. +# +# SPDX-License-Identifier: MIT +# +# This bbclass is inherity by all the zephyr-kernel/zephyr-.bb recipes +# to build zephyr applications. User can also inherit this bbclass from any +# layer for custom or out-of-tree zephyr applications. + +require recipes-kernel/zephyr-kernel/zephyr-image.inc diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-blinky.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-blinky.bb index c2a1e55..78a6e83 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-blinky.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-blinky.bb @@ -1,3 +1,3 @@ -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/basic/blinky" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-coap-client.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-coap-client.bb index 7796f6b..aa020e9 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-coap-client.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-coap-client.bb @@ -1,3 +1,3 @@ -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/sockets/coap_client" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-coap-server.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-coap-server.bb index 5e345d4..b43143a 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-coap-server.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-coap-server.bb @@ -1,3 +1,3 @@ -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/sockets/coap_server" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-echo-client.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-echo-client.bb index 73187cf..4705724 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-echo-client.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-echo-client.bb @@ -1,3 +1,3 @@ -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/sockets/echo_client" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb index ebc6dc3..f95f544 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb @@ -1,4 +1,4 @@ -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/bluetooth/hci_uart" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-helloworld.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-helloworld.bb index 68b42aa..637287b 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-helloworld.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-helloworld.bb @@ -2,6 +2,6 @@ SUMMARY = "Hello World Zephyr Sample" DESCRIPTION = "A simple Zephyr application that prints 'Hello World' on the \ console" -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/hello_world" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-http-client.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-http-client.bb index 8bff2be..a4bf7f2 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-http-client.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-http-client.bb @@ -1,4 +1,4 @@ -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/sockets/http_client" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-lvgl.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-lvgl.bb index a635da2..3878937 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-lvgl.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-lvgl.bb @@ -1,4 +1,4 @@ -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/subsys/display/lvgl" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-mqtt-publisher.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-mqtt-publisher.bb index f314841..fae7eb4 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-mqtt-publisher.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-mqtt-publisher.bb @@ -1,3 +1,3 @@ -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/mqtt_publisher" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb index 5e51c23..2932b53 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb @@ -1,4 +1,4 @@ -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_MAKE_OUTPUT = "zephyr_openamp_rsc_table.elf" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-echo-client.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-echo-client.bb index e2b3efd..0408d92 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-echo-client.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-echo-client.bb @@ -1,4 +1,4 @@ -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/sockets/echo_client" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb index d745e85..e1f1646 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb @@ -1,4 +1,4 @@ -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/openthread/coprocessor" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-peripheral-esp.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-peripheral-esp.bb index 0aac7f6..61829bb 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-peripheral-esp.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-peripheral-esp.bb @@ -1,3 +1,3 @@ -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/bluetooth/peripheral_esp" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-peripheral-hr.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-peripheral-hr.bb index 80e3505..2c0fcb9 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-peripheral-hr.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-peripheral-hr.bb @@ -1,3 +1,3 @@ -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/bluetooth/peripheral_hr" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb index 2b4fca3..931541e 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb @@ -3,6 +3,6 @@ DESCRIPTION = "A simple Zephyr application that demonstrates basic sanity of \ the kernel. It demonstrates that kernel scheduling, communication and timing \ operate correctly by printing a greeting to the console from two threads." -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/philosophers" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-sample.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-sample.inc deleted file mode 100644 index 5f6dea9..0000000 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-sample.inc +++ /dev/null @@ -1 +0,0 @@ -require zephyr-image.inc diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-synchronization.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-synchronization.bb index a55736b..217ab7d 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-synchronization.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-synchronization.bb @@ -3,6 +3,6 @@ DESCRIPTION = "A simple Zephyr application that demonstrates basic sanity of \ the kernel. It demonstrates that kernel scheduling, communication and timing \ operate correctly by printing a greeting to the console from two threads." -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/synchronization" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-websocket-client.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-websocket-client.bb index b92e986..b646b6d 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-websocket-client.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-websocket-client.bb @@ -1,3 +1,3 @@ -include zephyr-sample.inc +inherit zephyr-sample ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/sockets/websocket_client" From patchwork Tue Aug 12 17:41:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Gundlupet Raju X-Patchwork-Id: 68416 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 B04F6CA0EE6 for ; Tue, 12 Aug 2025 17:42:05 +0000 (UTC) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (NAM10-MW2-obe.outbound.protection.outlook.com [40.107.94.41]) by mx.groups.io with SMTP id smtpd.web11.80884.1755020521479583969 for ; Tue, 12 Aug 2025 10:42:01 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=w5dhfkAb; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.94.41, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nx90oLHuMqWO3GpBBLrt11azgnhp4P6giA9CVKwoFV9hqQTjnJSV5epFK5b5bFokIoMkBkufrO+WW0nMKwX1AKnQ84kkSvi6e6XT+3nxHv4rxwte6UY/aidK8aCzJsNWlC50Z64TwaQSMXbb2WIYJWfvDL3HXTecbT01DUVnoiz8zrT1AOMcpwgtEKOsvTG0eW/hrvEl6HqBup4PPvJudDjScK4ZibD6XeGEFsrjT9knkDWxKcTptzlOMmF4PpScLo48dGqQ3/CHOUHnPA2RR9ukuyl4US3zY7YrQPiVVgn5GFyXLHtjoi/lAyEgLG9hieGrS3nQPs4R5FbiW/rbrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=K0v1+7PrV5cYc4kqLLRPw9UGIAYS6zsfBaOL0CoePJg=; b=s3OCJzRWFhHNRZD9s12hexaMIXXhlvA7Gd9ag7IzliXzSN3AeDLZiZ1xAhBcTF5drk8Ect1VXJmi87wvq6eQc9ZhHeI/uYo7vHH8/CmcK3R823EjilyB0fE95K+AFPtu1nqwaJ5ywcz6lv4r4kcLMdISXpQNEdw8latjwbqCzeTnyzcwQPetOTLOH4gliNMJS68uljLVKkm0ol7pZy3W6APgp89Iw+XHwLUEb+qDpB2dhPUjDRY/PadGFoJS+4XknuXUPqA1uv1hp8afR6sTAC9gpfoecXCyOmM37tbqpS2kv9ICtW+qKZYht4GVb9G01oVWg2G9zZOmTeV03CnOjg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K0v1+7PrV5cYc4kqLLRPw9UGIAYS6zsfBaOL0CoePJg=; b=w5dhfkAb1ZcVv5j0pU29EhNa39Domzv5iuv1SlY96SjgrEuIoUaoXSoCLXclFA+YvAE/gSfk4CqbMtXp1fvC3Dl3Hc6IihBAW66ziz8x9jN4wb9TQsoZbYdTQprnpMYDwWhFgUntL/eXPaaAPz0u/4u0Wgb5hiOGitcGh7kpKcY= Received: from CH0PR04CA0108.namprd04.prod.outlook.com (2603:10b6:610:75::23) by CH1PPF9C964DBFE.namprd12.prod.outlook.com (2603:10b6:61f:fc00::61e) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.22; Tue, 12 Aug 2025 17:41:59 +0000 Received: from CH1PEPF0000AD74.namprd04.prod.outlook.com (2603:10b6:610:75:cafe::f5) by CH0PR04CA0108.outlook.office365.com (2603:10b6:610:75::23) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9009.22 via Frontend Transport; Tue, 12 Aug 2025 17:41:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CH1PEPF0000AD74.mail.protection.outlook.com (10.167.244.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Tue, 12 Aug 2025 17:41:59 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:56 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:56 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Tue, 12 Aug 2025 12:41:56 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v5 11/12] zephyr-kernel: Add rpmsg multi services recipe Date: Tue, 12 Aug 2025 11:41:46 -0600 Message-ID: <20250812174147.130972-12-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> References: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 Received-SPF: None (SATLEXMB05.amd.com: sandeep.gundlupet-raju@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH1PEPF0000AD74:EE_|CH1PPF9C964DBFE:EE_ X-MS-Office365-Filtering-Correlation-Id: 1b3347da-87e4-4772-8a75-08ddd9c78a0b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|82310400026|376014|1800799024; X-Microsoft-Antispam-Message-Info: 1ddBxtd9tb/Gc4udf+f8wgWOUicrWiSUSmgER0FeDlZXYVRQVGMihqwJ6pBwovy4UMpOe+45AGq5UwTcj+Ee2cVhvgR6rOWfNLB3Ydn6IU/uTUzPPrlef1YN3YKjVI7rN07PBqi1S2StlQ+jxJ7Vj6Cu7Ds7fzMoZtu+gKoVgk2c5zvDzqzRChTX2K3iEVnMegcj8/vc88hDLw4Wtxv/651O43DAqHcCxg6TlTJ+vxWJj8/5T49zMMjXDOR1+zjSOrKBhA9xcPYAyCLYgdedmDOvn0OuTLKT/D+4tUL4M8fszGIlK2vAJQViulHa8szOItg5cQhrnMUlpG1bIVqEZf700qGPPcEExoxdLceQ4UudqO9A4okwpw1Wei3+Dmw3vEmipHdVa5ORGuWDhhbapGFzCw9xXvU+MYCR2moTLYzThNJ5F4fJ4eaeDeX7yp1PS4v9quQ+5tmGt64F4B2klYwG8oiwKWMJtLvHsAXYWCwZKUWbfDAk+m/cok6izy4PR1jJ4NsdC9rKxhYHuD0GRndhh3wEIArAOEJVj34DDXGYeCMtVZkUHNzEQkVtdGEwOGid3hWPZkaatT+tnlbA+Nim+acXjYPy2thXZ0oLdNxZ6tUBM+3ewzWtGWVvWGyFYc5VLi/Wis52lzq7k5SIhZbYGsfzEQWfwNx7ybUGq257ngCS3cyESguiUEo1OOd20TNDt8mHuq2rkh3JUaIzD0mThC4pnPkN+NycBOd1U1TOp/cN143AvMjpFmBG/XVD+wWNP/VfDIIbi93GFYx3h4wn8gAoRGT3aWEgkQsXnepYz45tj3EjJGrThGAfUtX/MqYRkbC5cbbXEKrfGm9vGgwsPKbIES/793M+IySk1dwvKvPDObAZQStfGCH3fXdNwGQzKHXeAvVUOeB7UaZcOUGBFXFP4izF+xbmttel84LUQYcoAwJrqE0Z58UGHXnIfx9fvjnVjNOR8linWYOz9vQEmDQzXMe6dGzjATDcNYDRX+8n+7YGE4GrMsdHrpxlOYbmAWvV0n2lszLy7HA8buRSaT7egO5X88Mi/0EZbaqr16GHn5RFIhDiImezQHiI8SqpcpvKVGCMNHso1lT/MYLNHULum8ml2eEvLzkBKqMu34TVw+NjtEbPtn/MWQrWrlnHcVK7Zly8/jMiMQlj+KrZmZ/VBVHXbnY6pyc1ygHQeidAaKXrFecYqXdotCm0AWtEliVN0/ZA+2/LVUq+tYidiViQp2+tPmctsYxsO+LdMqznPL57qAZ5OJolCGbMJfW5smUxz8VCKYUJ9OdRFkqXwFem3HMYM5AH5IpoTpGgaEW54BHAenT42CEixyfyyp653yLQ4gshEaDIvJ/JUeXtCXFn7hJQZB72pOv8mIGnONK2GY6faojL4zzQs98vlaeBP+kTS1eeeF1jkuDIX/YhTCZvWprd6l1BnbQT0aj4/rqhD/YkLvY0UfIEsT3BUbbT1TMv6dlN5Vf/KChjwLTBpt8lnQQ2ME6qN6NDiMIcVIZlD5iD+yPsTQeYKszh X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700013)(82310400026)(376014)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2025 17:41:59.3672 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1b3347da-87e4-4772-8a75-08ddd9c78a0b X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000AD74.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH1PPF9C964DBFE 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, 12 Aug 2025 17:42:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1967 Add zephyr-openamp-rpmsg-mulit-services recipe to build out of tree openamp-system-reference example applications. Signed-off-by: Sandeep Gundlupet Raju --- .../zephyr-openamp-rpmsg-multi-srv.bb | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb new file mode 100644 index 0000000..222ed2b --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb @@ -0,0 +1,23 @@ +SUMMARY = "Open AMP rpmsg multi services" +DESCRIPTION = "Open AMP rpmsg multi services" + +inherit zephyr-sample + +SRC_URI_ZEPHYR_OPEN_AMP_SYS_REF ?= "git://github.com/OpenAMP/openamp-system-reference;protocol=https" + +BRANCH ?= "v2024.05" +BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" + +SRC_URI:append = " \ + ${SRC_URI_ZEPHYR_OPEN_AMP_SYS_REF};name=open-amp-sys-ref;${BRANCHARG};destsuffix=git/open-amp-sys-ref \ + " + +SRCREV_open-amp-sys-ref = "d78315763fbacba8a74552d0ad570bd01c42ccf9" + +ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/../open-amp-sys-ref/examples/zephyr/rpmsg_multi_services" + +ZEPHYR_MAKE_OUTPUT = "rpmsg_multi_services.elf" + +EXTRA_OECMAKE += " \ + -DCONF_FILE="prj.conf" \ + " From patchwork Tue Aug 12 17:41:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Gundlupet Raju X-Patchwork-Id: 68410 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 8CD4CCA0EE1 for ; Tue, 12 Aug 2025 17:42:05 +0000 (UTC) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (NAM10-DM6-obe.outbound.protection.outlook.com [40.107.93.87]) by mx.groups.io with SMTP id smtpd.web10.81600.1755020524242383297 for ; Tue, 12 Aug 2025 10:42:04 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=X3SHPIfn; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.93.87, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=uW1NdDZJ+28Vq7Hwgjl6OuxHIZxceJiu9Jhzu7O8u2n3pTZ9doaxqACBEScNJCKQz58SBrBFOJ9VNgQuS2O70YJoERSrYXu3HslyDtFMzhZJATZv3S8+xzENqZgqIe1kJuTUb+eHr4tmnG9eOINkwAEkvIM+37e9P2NtwhYaOBtbwMUHU3Nmf+ezQSAh3/KHUfFtQL/W4FhnKHYobaUzLzSI60RfAQzGoavDEpj4aTK85IWx5xSLJ6P7i0TngyJchNdO6moCfOszZK/i5FAscDlaNTaJiR7bnH4n7z1wS/DuPSE0KzRsrTcTHMEdiXKmmKchFeiSYWim1dbkNK5PiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YR9pj7cigNr/qZGbPUp7Bzn1aD6Dmt5eJwLwILqqrzk=; b=qBYhMGEFoX3wiMFGh178HMoXpXbDZGRLvBFksSIxi2vJyOfBj57EGH5NcOITtfF3g4eVxI31T4YfSxdhzmhWdvNfPdxa5qKQx+SGgIeKnbSA2kdBpjMKZcTFPCVzOtVRpHmGs/QepsNSXXhtQfF3c2v9HkOSNiWiR07zjYKg0U74bc3SVo2593uJ7lMBX+yc1fp/wxGwVXNKpjvXSzjdW/6X8YWXOEWitb053ladP4IvHHKOvbqzncIFh2BViUM4XRk3JsEdcbytYTn4kJzYEDieqIWo2BeG2Av7OnhRNqKu5+dyst3zxQ/hTv0mpQYthxmCJIihwU3KUgGm1ss3EA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YR9pj7cigNr/qZGbPUp7Bzn1aD6Dmt5eJwLwILqqrzk=; b=X3SHPIfnAHl6boXfDtYP/AXAjt/JZl74mTYAw/AXWUcXGe5pf3WglPMRHZJHCDM2OoDWJDj+NUkmmaHveZovIbEelsXUIvdw5zNu2TnsT/bIEAlylIAtLJGAhl/0BHUCVB9coxoveR4LEiJbJOhaKCFA8PIN3ixN1eL2zRehTsY= Received: from SA9PR13CA0110.namprd13.prod.outlook.com (2603:10b6:806:24::25) by DS2PR12MB9637.namprd12.prod.outlook.com (2603:10b6:8:27b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Tue, 12 Aug 2025 17:42:00 +0000 Received: from SN1PEPF0002529D.namprd05.prod.outlook.com (2603:10b6:806:24:cafe::bc) by SA9PR13CA0110.outlook.office365.com (2603:10b6:806:24::25) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.14 via Frontend Transport; Tue, 12 Aug 2025 17:41:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by SN1PEPF0002529D.mail.protection.outlook.com (10.167.242.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Tue, 12 Aug 2025 17:41:57 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 12 Aug 2025 12:41:57 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Tue, 12 Aug 2025 12:41:56 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v5 12/12] zephyr-kernel-common: Add Board extension support Date: Tue, 12 Aug 2025 11:41:47 -0600 Message-ID: <20250812174147.130972-13-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> References: <20250812174147.130972-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 Received-SPF: None (SATLEXMB03.amd.com: sandeep.gundlupet-raju@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF0002529D:EE_|DS2PR12MB9637:EE_ X-MS-Office365-Filtering-Correlation-Id: 4585eb53-d27c-4cf7-eaaa-08ddd9c78925 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|82310400026|376014; X-Microsoft-Antispam-Message-Info: PIWBF5F5zlLl3dcb9mH1wwprxLRW5SVZ2zwsU5rvEAkcAFJOh52BIeNr594aCxFYz5GwF0mL7uLS29m+5ZUNNnN6nbqI5T3S1otibHE8VJtneYK/FdEWbnsTsST//EWLvwszWB2PHmJSS2Azf8Gin7oeh0dzqNmv6Q6G/ntQoFvswTa1zJvA4ZpI48UuwGrfVGYzMbpFrlMcPQYrQ5ZENjohmsV8qodUqYhkfWTF4anvJOizP81f0ZCVJrMj8eQkiGsfaxOg+6etylUUgDwQGY9U5RDFl+fcZ0/A2+H6kQWvbvAaJrRBG0K410K5QVpgSyM8G82n8FifFr4mQs1UvcBoalSy6Q9ROa2YOGxJjzrsdv7V4kdf9MuMmHSjc7PVHbFoQA0ncfkRgpVVh86yq6WLfCiHpAVzTSOVYEpV4y0VbxNBjPN0YT5IrKyxZpN4i9sov69kePoZQOGHNWOTEW4dimCt3O+scqKwxw5kOql8a+ESxZkvC9PWe5DW3sRBUQop/BFLB92SNVeWEPzoWG4Anl7fKslt774y4r0txGeKY1bw5RjRINJLJNXVibekA8s2NT6t4CcQrmxWdBtCDPsEIupt7DOzMK7Ql5uPYgHAbJAlZlvc1ny1dRQCXE3oIvxcZUj3Ku/l/7RWrPfIW5LIkQGolTl5NCdUDrjdftfn9m7enFzSXN+Y3pUimkI9luhajpVgdJQAu4LdL5DhvnO5bzZNU2SDh75B7So/Yj0CV1/FVZsg4Z/2Ko/UxEtG2P5/+oFtM4TeWI7FyXYzrheBvpDpsPo8+D+zalHTl76DrBdRLiP9lJ+k7yPk0aXCeeXJuofxBk2UL8ZuglRYwtQ7wnqwQa4JW6uT/zuOsS1qBAzZ2IDvC7hBhTKD7nlXcM2R1pqQnxc1+sMgmFw6qcVqajGosxbAVdzxP3idTT5Sak/Y77ulAy40zsxOuS9rYD4u661FSiqMNy4LeKLmRvlW3mTdghk38BTA2HrCRUgmcTBioW5wwoJr5V82tkxFYpmQ5TH2jrCHvKcR9ch5ksUrgtGZ3rQQ7K6i7dyfiEY+VUY3c+40Nu/WcfgxHnyvjzds6KxVkn1BT1SLfx8FkAeaK0Rqaicst6jwaAcBzTYpPIs43hJY77BIU8jBfakUvTfpGNUIKa6ZfOQLkZ9qH4YOnLXOLZL7d4vJjnpPCmJJKv6vG0XvN1TDxL9lRbaooLmotDYT3t+61T40t0qLp+0ITDNTP0fzsO4cmSHsnzBHvuXkafg9jsrMnK9BTeVBUz3bjHmNTedSvvWMIlIGot4LS5/jf808kTV42s1UNQ4MJ6aAa5GJw2J7JJFOAhgsOx+3ouIrKqSg1IZhvaHlkklEXE3u0hA6vuLWHI3vXO/e5Mfv7qVr5HH1q67q9fVnVMSwOUyb1A5X/H1i/JW+nd7Q9Mkm9QaATZwGQcwy9fr4UGhJbB3mVd1iKtUD5s6v+aj90f2MOvr0YudFg/x845POQi4E4rCMksSDrM0HtmcfqhLdzOwJdv/1sRNmdwh3 X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(1800799024)(36860700013)(82310400026)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2025 17:41:57.8509 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4585eb53-d27c-4cf7-eaaa-08ddd9c78925 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF0002529D.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS2PR12MB9637 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, 12 Aug 2025 17:42:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1972 Add board extension support variables where user can specify the BOARD_ROOT variable for out-of-tree custom boards. Signed-off-by: Sandeep Gundlupet Raju --- .../recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc index 5191b9a..579fd6c 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc @@ -18,6 +18,11 @@ EXTRA_OECMAKE = "\ -DZEPHYR_BASE=${ZEPHYR_BASE} \ -DBOARD=${BOARD} \ -DARCH=${ARCH} \ + -DBOARD_DIR=${BOARD_DIR} \ + -DARCH_DIR=${ARCH_DIR} \ + -DBOARD_ROOT=${BOARD_ROOT} \ + -DBOARD_EXTENSION_DIRS=${BOARD_EXTENSION_DIRS} \ + -DSOC_ROOT=${SOC_ROOT} \ -DZEPHYR_TOOLCHAIN_VARIANT=${ZEPHYR_TOOLCHAIN_VARIANT} \ -DZEPHYR_MODULES=${ZEPHYR_MODULES} \ "