From patchwork Mon Aug 11 14:59:29 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: 68355 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 032EFC87FD2 for ; Mon, 11 Aug 2025 14:59:57 +0000 (UTC) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (NAM04-DM6-obe.outbound.protection.outlook.com [40.107.102.69]) by mx.groups.io with SMTP id smtpd.web11.49942.1754924389935962046 for ; Mon, 11 Aug 2025 07:59:50 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=G8JIATsv; 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.102.69, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=IXv0FqyhNX8TfqtLYqnw3+IUjsIKtLK9vPLUxGqL/lNyouAnaFEkKuezc7wXvlbnO6QbP+ol8sSqGkcfQNS7kS+Rsz0cSMrkbPSf+1WIQ7JjbsRbCwBIXmtnaLbT9o9PNtIvZqDiJoA3rvjAMcCK3Dg7U2NH9gkPLs+FPNg/QYvfRzCAU0sZ4XrSkyJuuvy3vzFAtMEFCiGYii2A9YVNjOhv4JFydCl3KtsXY/utU7omJXCK6/LqIG4KBbexUr5yhGdSw+kdhlkEvFz96CXTMT0TNGIgYGi0G+jDbTOV8jlAUjwNBIYDzoPE2bZPVUSjWdfysDIMzNz6keAKxSRF4Q== 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=bpZzMMWt+P2vqJHl+Gth4AXNg73ZysK59xuVfiHRH1/7+2ixYCwJCESuyv84hx5h0jP5hWhbPR5/T5LgrQPgLwml6X0pan1LH1+bkWtScRLA3Z5uSf5zLhvYfVi3UjrQu9dFZpraYlbojQr28bIGeaSQDL5rd8q2iFgGInEWg8K+mULrbxGPw8OpUXT4+eVa2FWcR6/LXmt0Cu2sN3ok8AI25udsZ0dH+voTza1+2jJ/MCo4ORHR2+14vHp4b/es1A4tiRhSeLiOM1epbz124rllrU/Hg+K3aGd0LNR748rZp+5MAv36climTxAp0FmAfNzLslVYLTA7ljvhQ95nNg== 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=G8JIATsvemjOotBJHs4RA8NDGtorqGIPGSajLLCgrauXsMVlvbXd1Po3hbrobbb9uvG7iqvjiXajoL51BD2F//fvzSclpWlxRwQx5N5PHlRqT6p970MvhWzQRakcK5IOApdrCvsaUeQE6ptSigigwujlhi882P0MnluD0Hon8UE= Received: from BLAPR05CA0008.namprd05.prod.outlook.com (2603:10b6:208:36e::11) by DS0PR12MB8456.namprd12.prod.outlook.com (2603:10b6:8:161::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Mon, 11 Aug 2025 14:59:47 +0000 Received: from MN1PEPF0000ECD7.namprd02.prod.outlook.com (2603:10b6:208:36e:cafe::66) by BLAPR05CA0008.outlook.office365.com (2603:10b6:208:36e::11) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.13 via Frontend Transport; Mon, 11 Aug 2025 14:59:47 +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 MN1PEPF0000ECD7.mail.protection.outlook.com (10.167.242.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Mon, 11 Aug 2025 14:59:47 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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; Mon, 11 Aug 2025 09:59:46 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 11 Aug 2025 09:59:46 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v3 1/13] qemu-cortex-a9: Fix runqemu errors Date: Mon, 11 Aug 2025 08:59:29 -0600 Message-ID: <20250811145941.2553838-2-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> References: <20250811145941.2553838-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: MN1PEPF0000ECD7:EE_|DS0PR12MB8456:EE_ X-MS-Office365-Filtering-Correlation-Id: a6e8326f-b27d-4d9a-683c-08ddd8e7b704 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|376014|82310400026; X-Microsoft-Antispam-Message-Info: LSRyyK1C3su/+tbJfLMXALEyIEUI04yESMGZzhaiMGSLMQRajsB0EDRWt6A29mf3pIZ+lOj+OlBVxRuD7oOtNBgCBr3UgzBufyp/7wPUSfLG7P8+qw9fqEUEcNIJHKldJSnUcyGWU5UAW6HQrHYm/zCKv4RjNVmSFGtZjHafuloC1qZd2wSdeJssYS9Y9BZHGYgAcLR5ylG1zh2yMAsA3fcpo1XhH2d/c3EpQmwmZVL/bQNpCWgUuQAl1VnxPuWjw3WzbkDR66zQG+qfDFDGSO8eFI3dqh5yoyhsv59XxldGq4RfdXmfH9StTO4+dqdk+H9VJitTLq3khsuFRrF1vuHZyG2Sw7o9PKYjhz62/DJdW8yFa9ASoRPk2VTmTr1qvl1WA0y5UGz6H4BFmGZhOSVJikr/IJ+2hwL2de8/M+sJKiN4qLiMUovMyQPYeoBPQtF8mgdMgVMlk4x5RsvIgZW1WER8z9XhI1KotifxFPaEznDKn9GERP/Nx6EdBx00SbyrviVuaxHXeAh6MwlASOoJepiIRJ1SG9c35UaTJGVl1RS9zuTYrDPewSK+02dQNayCdqW6K+B33vNOP6K6e0Nl+I5r+oUSm99T0eAXPFN/OGPbOA+HAUetupoQQu3Iy8NMTDWa80DVMgzpsd8t6E+WRuxlpmIrQ3TKP1Oq7qojD3b1ZmI+/W+V5go2YeUwaXSSFQ5ycAOLSf90gWQjmYtk4P+QzyM+QuoS7Hr+4FBQo531jvtQfrTz7DBXX0Ug8D+un1DT9iyWEGSnkKOpmZ6cuNoidLwQRrExBBd97X5NyxJkYS4rvqu2KpNqsp5zu0vDaUNIPcOiWi3DOl4FrS0nfIvY2de5UjG3oPoh+QknGevXkAGlopsSfFcjdQlzY5/K3WjRK73amd0bVVzxA5CZAA9+BfCOufQparWc5OmBiLfMkoWaYJtf6esw5vXklvoMF69WoweUdzIQwrUV4HSE4v6JhSvylIc3FX3chVC7vZHIJ3zf5vgdq51EhVaAymqNsr0bg2iXdXSPLeDB0jlNu3gXrvyEU/25cEklJEubpfrLIerQh2K9g9GuABKmzd9UEtrWQ8JKoHeYqjdI9JM0Wq9BOdqDcIRvFgbtzCfcxnoVec0o83oGgl7M4fdtju7b9unXW3wJMK2yNUMCT1u/rBo/cZKxp/uOULbYp21GilQbGpfU2sbJnOFKLNOci5DsWr8v5kb3P0rnUllt1CNPIRLgjPjU2jJZwU9qz4Vj211SwwMQUNGjOZluIBXlLAVrUc7cqdctsWwWm3TtXoNzc+qHZJfUpjVadJfKxLxjDuVT2yLTQMKGQ032uFx9GHb8DXwIz5ODEdogspvIR19wf5p3mJRD4wN//EJRMVFWSstu4QFDgcX67Mlf8NC8a57QpGtLJtag/ypEtSqpINvkV5XW9uAS5mzL40dzglwJ8J01aWbjRpvJpJx+TSlo6ckbmdB1c46+agpm8cHJ8GhvXQXt8QK3Erpxe7WmgS/h0dS/5IK1Nfyo9jg+1/Cw 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)(36860700013)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2025 14:59:47.5599 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a6e8326f-b27d-4d9a-683c-08ddd8e7b704 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: MN1PEPF0000ECD7.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8456 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 ; Mon, 11 Aug 2025 14:59:57 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1929 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 Mon Aug 11 14:59:30 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: 68352 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 041B3C88CB9 for ; Mon, 11 Aug 2025 14:59:57 +0000 (UTC) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.73]) by mx.groups.io with SMTP id smtpd.web11.49944.1754924390842086166 for ; Mon, 11 Aug 2025 07:59:50 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=gmAXQYXX; 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.73, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pecGLBqj65W/GFapzSewWXapuiZHB0kEgHapP9cIy9mEjXbVWk7wg/eNEnRkb3on6Hp6Ur3IrEfPL8KeGfEydfHl8QK3bm13533zie7sABbn1Z41u6nGvGTXVMsEOoKmJrCgYinTKrECZFlQyH0NYJwwtTw4kMPYlH72qvmU/h6QrLXQHyTpPGlv5HCyq4NWCy1CTnNC3E+lM2CDUb3tDc3B2OpU296qcZ3Omfv6NlLcNgH+tGdo4zFjH10tockPzeytZ8urOYVf3fX+h6C54ihwkXg10IEn+8pdW9XWbX8bZtv+MI0bN/52F1/ve2f+J3AJEipXeFyTX2Iv+5c6Sw== 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=DTFpB5XcQa/BXu9tjPS2QmpY1LjKkNVSlIIeO4Tx/uUL4agVZ0m2na7Y4VqqPIGGtQF+lmpsTWA9lo3d7YIfPsGzNtU5BLrrgWZEUzkppykB12wzrcK7lZrHjlZL65hdCZjvOTmZZfdltlWsxi7r4XrwV/PKMgxeHRNfuHZAUydgDEjRjl3Gdcg0iRVjSyvC47S8P9pFAkDN8idiBkUbwHLGcJruDh0oPiwqDK65US0EpXGGPFJX7j/Yb1BfLgBjZjglz4REHJu6Fqahu3HBzcQ7UFikC2b9NXWoICqRFbFePqXIuabjJL1kt31dXtw7ouoNwFfqbdrSwnM9Csc7mw== 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=gmAXQYXXuRh1diAVCklISpSA2JEnOMRNU32d4jeOFY0f2jDdwjd9BCoCw+0kn90FRVXWxFCkc6Ultt+owHJG2ZAl88HO5nkcJgGEhbJx82FhRDm93c6EDKwoP4wd/8H9i0O4DFas0VeYdQieIRMwxknzyCKuck/5K2f8KXrAhlk= Received: from BLAPR05CA0018.namprd05.prod.outlook.com (2603:10b6:208:36e::13) by DS7PR12MB6006.namprd12.prod.outlook.com (2603:10b6:8:7d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Mon, 11 Aug 2025 14:59:48 +0000 Received: from MN1PEPF0000ECD7.namprd02.prod.outlook.com (2603:10b6:208:36e:cafe::40) by BLAPR05CA0018.outlook.office365.com (2603:10b6:208:36e::13) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.13 via Frontend Transport; Mon, 11 Aug 2025 14:59:48 +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 MN1PEPF0000ECD7.mail.protection.outlook.com (10.167.242.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Mon, 11 Aug 2025 14:59:48 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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; Mon, 11 Aug 2025 09:59:47 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 11 Aug 2025 09:59:46 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v3 2/13] zephyr-sdk: Add new inc file and update to 0.16.9 version Date: Mon, 11 Aug 2025 08:59:30 -0600 Message-ID: <20250811145941.2553838-3-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> References: <20250811145941.2553838-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: MN1PEPF0000ECD7:EE_|DS7PR12MB6006:EE_ X-MS-Office365-Filtering-Correlation-Id: 4691ba05-dc7b-42a0-ecfe-08ddd8e7b74c 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: 0tygdldOoQ5xXNe900JZB2T7reepN235uu2hShd6yu0DCrSqf4aNe384qAZ7LbXvSHdOR1U2j9pJ4qZCAZYq5XOPSf6KeoCAFfNKrjuA9nB+3eqVMWrRxXkRNS9TVe+boVROwTq2sXovgo6KSLqr4Loj1OEH/B07x2wPU/6yS+9GJb8gbpzwMTCHL6x4iR0bhS1ttsoO0ywvTXxca/dJATx2KbUQnhG75TwBHUpjBAGul/nSC3lLeydwWDKMJQjKXKdqWTv6JCnq97UHTKvUCndpejqrvcsn2FYjAOtktMcAiXacQDWEGHmmOdcgPJno55wFqXV3RRHklj9GCivnxOoQvQXnpaIVm3eQbASU35e8nFXfvOCDcF5QxHtqliCWk4SU5gZdkoslApBGwNTTub5Z5i2xxEtI0A8dy9jyrNwg1DCVIYQS4xqIW2DM0chocHjgsmwOy5FEcz4Rj3I+++rEBFMA5OViy6sCI4KioqqB35Sf4yXXa/nazWn8IAC+vC1XXfell16fQndT8Hby7bluj1ZD9PFTdLIyQYvw8jbiBkBiZMwmVS0i0BB9Xih5qeSqbu+7T1x56nK+OvXIOhjgm07h3djZUTZSoKmBScTDP7U+x222Y4vxB9hmZqG+AtKSSHV2rOuq46Yb5I8KD/I1wBQHUgY9beShhiWOrGWCb795al5Rju/RvM7fQ4Dklddq7zWZogOu4cGC/yKj/4Yl6kGVFtsEwEcReVqbrOSD81tnfNXRGljuhQ0+cUszV31kBOGJ6xkicvNxuBoa/nW0Mog+EeKGtNzvuV3j82ikzf9po91fULUUSELlclcMCwoxcaH6tmBd4dUWctUKe4pjagu+lBKlp5ogVxk6aGFdRe1rhgFwoeqohcUYuxx3XiV5tgpogBHyGlwKZPTZvLDvuoavI9g7n5pTwgJCbfbLMYZly0rH3PEf8tKLK44xxLFEsv86bahZGjPN/PGlIlpdwG2lITo68SWbyNRAqxmSDcMTtsWVB+TtVe4Rwn6paqH/TEXwe4hMNthuMRdt/opVzMoxxuiPIAFw4LC7w9xEJFZjxlChusXYRmy0xK2Cw+q+iEeNgD/wA1Gajj8uw5pg/TR/CI3S/UVM2QO14E5kd6JuiRCCTADFG2U3NKmeX0dZBpu1XW4CC3OdP6DhX7Hdh55tsjgrWe7vuZGHFhoKe6R5lkx5MlzM4MIrG/e4mqBnlSmk9F8UVaCdnRzKjew8CNJZ5wCKdxJ+WWzbFC39Uc5BGxwmZ6UZiVT2AMyWf+rxzh/6ZCc1USEIVVKO2KQeN4Vi8sUFX30NebZBKpyfu/KgGi74UWHAnuLkzbr2FYht1IQ3NX4qy8eL8/qurEaneEsnvsbRf2JaeNB5AFsPc5p/wlq34KvFuGTl0SfQC8lB0sFer3qQIelGRtyzXsQYcUzLbohdbgeyLIVrDJIc2SKO4t+zldL3FO/07yvaqQ3tKnLk/rnwkgzitDY3FZEsKu1P/Gw3Hqt/w13z1B1VdK5YFrKId6USSuqEEOVU 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: 11 Aug 2025 14:59:48.0356 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4691ba05-dc7b-42a0-ecfe-08ddd8e7b74c 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: MN1PEPF0000ECD7.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB6006 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 ; Mon, 11 Aug 2025 14:59:57 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1930 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 Mon Aug 11 14:59:31 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: 68357 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 23936CA0ECA for ; Mon, 11 Aug 2025 14:59:57 +0000 (UTC) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (NAM02-DM3-obe.outbound.protection.outlook.com [40.107.95.72]) by mx.groups.io with SMTP id smtpd.web10.50424.1754924392521452522 for ; Mon, 11 Aug 2025 07:59:52 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=nlEHexLq; 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.72, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tIN4a2Xb1hj0FysOVTJCZgVu21MN1zd09I9xmrfLf3831tsa6srAG0DCgnNB4NMBuQI7D68NM0+QIeCwiI/sIU2kjCivJcd47G/wzd4HodaUX/8Gf7tCOJCHLqzCcPqwgciWnPA5QHZBEr0vANHOPVEn8OMPGnCJEl+YKLYYxyQtCtemLrsE5QIyp7L66IsGe+1/DNmktzis6RvnLmxWD6Ba/EekORV5kczJX40C+QXtI8TV/ZgmoKjtM2PIw5NyoRmSB2B0ZUkkByFc2bXO4kJkrkb0OAHzGUMQfjbDDjVZVFRLzysbsuvriU5BVpQQ6EYtxNQDP+uTPRGNJlmoCA== 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=TYzt/v9wqiZE6y4AizGasoK/eWs0l+YqxrypKDI+iME=; b=qllETfUbm0LxzbOvUsXXIT1/dYeRP0BQ5VKZQS48gtH9+tcPZgy3KsL0vrBL7x18cIpNQwxu8xH86ctK0G4G1bHKbq1VJUVVig6nEoVYnUwRv50F+kLXkF5R8joHRzomMpIPZQSfe7dOtCzO2GIbQPUD2DLxz9XKxR2GpKb80WxWtJIbr5WNE8r8ziqD0mAURxqk6G4/H472fxh9+UBnxlhLXz/VB+lUsSeKc153iQt2n8aUs6aSgvOU4cEu9QCrAI1dNDNI7lA4rR60b6tTJAoY2vP7r8PIHiHIGsuUanURt1yS1pM6t3HWf4BwbKXC2B32lelURAUII1yFX38Z5A== 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=TYzt/v9wqiZE6y4AizGasoK/eWs0l+YqxrypKDI+iME=; b=nlEHexLqvHicQZSsXG6aStK4Qdj47U4abgUYvg1oatmENkvvfNcuLMF+f+UbPGef43uZGbJKLs74e5jnvbly1EyEI4QqrnE97nHD1AuiylF4JZRPi4ZAB5GsX/I8Pwoh4gCejo9IhTjcvhGuUvcHMm6xogO0XIj7mIuJm8aAsuo= Received: from BLAPR05CA0003.namprd05.prod.outlook.com (2603:10b6:208:36e::10) by DM4PR12MB5817.namprd12.prod.outlook.com (2603:10b6:8:60::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Mon, 11 Aug 2025 14:59:50 +0000 Received: from MN1PEPF0000ECD7.namprd02.prod.outlook.com (2603:10b6:208:36e:cafe::59) by BLAPR05CA0003.outlook.office365.com (2603:10b6:208:36e::10) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.13 via Frontend Transport; Mon, 11 Aug 2025 14:59:48 +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 MN1PEPF0000ECD7.mail.protection.outlook.com (10.167.242.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Mon, 11 Aug 2025 14:59:48 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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; Mon, 11 Aug 2025 09:59:47 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 11 Aug 2025 09:59:47 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v3 3/13] zephyr-kernel-src: Remove PREFERRED_VERSION_zephyr-kernel Date: Mon, 11 Aug 2025 08:59:31 -0600 Message-ID: <20250811145941.2553838-4-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> References: <20250811145941.2553838-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: MN1PEPF0000ECD7:EE_|DM4PR12MB5817:EE_ X-MS-Office365-Filtering-Correlation-Id: fc934b78-6db0-404c-8458-08ddd8e7b79e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|82310400026|36860700013|1800799024; X-Microsoft-Antispam-Message-Info: cCOSlnZ7FNXm4YulGHQ/8yD5X1SS7cz6qQtNtrugDl8iIuiODfhmbNhSxjKRXKqesqAK9mF7LUZQ6Z338LacTityMbyAd85c0Ty+99AhjMa2RJJKSyJQmkkif/QOrFWw9hnoEwYHuyyhKO4ML4pcuRqi1ig/sK5XgKDodJCIjJMNTFEWRO46kMS35EGJAUJ5AoVcPstZROBkGJS+ZMeDuto6QYaf4YvUVrihQ4gHEwka7jhxh7rlv/eMzLTYgMhWPK5EVN9q99hP0c8gJPuKoQdUYXB6IvfpRsplBhClnb07jNT8OO1YeVSZFrEJD8TIg4mC0y63Vnt+zOrio18Xfat2/Zw2DxsSS9TPq6FVpNDK67OfZWVC4DNdttqUeLFM4s35hmyXxOB6CXRoE1XP9zBjyLET7rhVKwiPmXraSyipfdOhd9F9HPMm/TRg1HXsttrrvAY3nqUFYma4JCVJEtGGDWm1l0i1LU8RW1Qdum4OODIrZcPhpvGQ/ZplpAxGv/ji0Tk23nhNO8bgJBBEqyly84Qefk8TSfbU+GKa5mMnhwpoTu/w3pbpUndJetluf289GMxKnUstNJ98inK0n/7ewT3W3wxquWy2iUKyj+8Ynr6T7jIlqTZT6P5FL6S6AiJGwFvF21kP8NaJyCb1OmfuC3Z9uqT3MtX76qpWaFyf3yNH2F9BLgwwHPxDr2IG1NDGF9AXX4VRkccK7YIQ5rTa61ZahdQTy9ePSBTRMeUhPOgXDwhHBEXUWKAfQRsk7tpX+gMhlBpww4yLDCbjjEkiYbMp5bhwO9j9OuQv3qMc/cd26Eb1Kgvi8BnPkyYeovJHLL+UeMwfNj8QM2d373B3miWUdQbyAZPLZEDrAXSSSdfZ5rgeXm0ydRZVZmbHtBNpSsVpMEiU6J4AAfAeEbBLRc7dkFdXZw5T0VKAK1bwJBZrfD3eDWI8ArCgyWNXymFBxb9saHj+bQZDl8ZU7pIKbPaRxOuzIFo9ZOBIE0UKR/0GphUxWiRQXDgFmCFxe7wsMyRO1NhPB9i11dcwlRqzUhpwrc+SBAt9EchOnSgHv7RDGvEcvZ/lBsw0driLG7TrtIlCmDlVhwp1/LvKIuOBEDM1BDciBvozUvWEXFM6n5ArDa0RIaNe3/r3bgSLLepIuv3ZIllfqZvm+2SqEKQbkLgYb7fASsqaPyuEGVJi9oNyNeOSU/yy3Dflf+kMEKP36krVsegL7xObZZNVOvVDYlYyequuLm5bvzZBS9tmdJtXOwrYBr9dF8FTtyTFpJAuYuaaVpH46Stz7XWVB1FL9taS+iACwCwTLETC23v91bAuvMfd3YBT+zIGPWLqLvnOehSBAcrUtb96OzKCU02qw9t93vlv+Rwp/Tfi1QCyGxwlSMpyr3SB8zJ8L813idh47JGxxk0ktNEvYd4bPZkaYrsZM9KMC25wJqWanflZ9PJLLNp/KFbbrsqVlmF3wAvZr37Rkk2bnzeUnAvJ2WdbTeQo2+PdCbo5WSLF3PDHUSBNPowGapre5IGgDAn5 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)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2025 14:59:48.5675 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fc934b78-6db0-404c-8458-08ddd8e7b79e 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: MN1PEPF0000ECD7.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5817 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 ; Mon, 11 Aug 2025 14:59:57 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1932 Remove PREFERRED_VERSION_zephyr-kernel from zephyr-kernel-src.inc as it should be some in global configuration file and override from local.conf Signed-off-by: Sandeep Gundlupet Raju --- .../recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 2 -- 1 file changed, 2 deletions(-) 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 Mon Aug 11 14:59:32 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: 68358 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 238D9CA0EC8 for ; Mon, 11 Aug 2025 14:59:57 +0000 (UTC) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.46]) by mx.groups.io with SMTP id smtpd.web11.49946.1754924393959566746 for ; Mon, 11 Aug 2025 07:59:54 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=USMTGcZP; 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.46, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NbNShSQDZrya9q79ts+MVzcj9LkQsTPH6Ez0YBcLV4AnVFCvrNraDNRI3ELNwsQrcd4VeZFNOGZMmvMjIzLviumNVbAlKADyO8v9aW179b5NKUAIyRxf7G1TlqYatwLEZ3S6Dm537XdcnO4cMTqt5HQTr2oIHGfnQ7seAZLxokXCPkWTupVNAbntMobcaw6VIY/7+QpSkKbcVnngLdz6G6U1EGqRsjOJPn9yDnh5jLtUtljfosHa7/9CzXoq7kjPFpXQ4cn52TKO3LhBScB25XEUsNMT22Laxz6dxfueN5MR0krCZBlWA4dIn5pO8lWAA9P1RD41zjTNp64oqUYWGg== 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=OiQihd3bLAf6AZAPBtb3sDQSmqHGxv6qBzljVd/y/wY=; b=r2zByXu/kvrDH8vQBl+jnNFvrK/fxMZ/6mZe8FR7rVmipRCmbRJNV+KxPvPlJbh6LHWe+6u6ZqP/jvV4lBx7thfnEJtTt1/qEMc03Ju8wm6mseLgiUN/yUAiyfmEXMnRr8JhbwU1FoatrkimKMCf/h1sWD5XQdTGt6/eDX+2yKk8bDXyxEhBDbVo7a8KvKU2lHVlmCH4M11YrW/76TyWARfJ0C1fdRiP8FTRo80Mq3VT5c1IL+9ITp9vEYQOc049iDhIuDi7/gDhkY0JP2inpmutx6wE+2cwf2tDzw3SzQg5GT3LG+gHGehMwoxQsKmpGQQtGNhwbLQzOu062yW1Xw== 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=OiQihd3bLAf6AZAPBtb3sDQSmqHGxv6qBzljVd/y/wY=; b=USMTGcZPsYy6TWBvM+BJP27TetU2s3iWyLuIIWRrDZ2feGt4sWhmO5vpYMi6uR/IfFgq2xeqsCEThkYlagWo0z6sl1GNhiMlrWGmcbGMQnf8KiljoXW+Xfp8CEZLtSv43eBpyl+ucAvxpKMkoa/T5NnvclePxAyQCETRwqiT41Q= Received: from BLAPR05CA0018.namprd05.prod.outlook.com (2603:10b6:208:36e::13) by DM4PR12MB5724.namprd12.prod.outlook.com (2603:10b6:8:5f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Mon, 11 Aug 2025 14:59:50 +0000 Received: from MN1PEPF0000ECD7.namprd02.prod.outlook.com (2603:10b6:208:36e:cafe::e3) by BLAPR05CA0018.outlook.office365.com (2603:10b6:208:36e::13) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.13 via Frontend Transport; Mon, 11 Aug 2025 14:59:50 +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 MN1PEPF0000ECD7.mail.protection.outlook.com (10.167.242.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Mon, 11 Aug 2025 14:59:50 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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; Mon, 11 Aug 2025 09:59:47 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 11 Aug 2025 09:59:47 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v3 4/13] layer: Set PREFERRED_VERSION for kernel and sdk Date: Mon, 11 Aug 2025 08:59:32 -0600 Message-ID: <20250811145941.2553838-5-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> References: <20250811145941.2553838-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: MN1PEPF0000ECD7:EE_|DM4PR12MB5724:EE_ X-MS-Office365-Filtering-Correlation-Id: a788ef89-2727-4ce6-4a11-08ddd8e7b8d4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|36860700013|376014; X-Microsoft-Antispam-Message-Info: 1Xm5dStHylX+XBoSPfPqs3Ul8zgrD3iEGXpEHzJOyn2O+7+mEmzH+bWWPsC4Y8nhy1+5lRaxeJOdZ8P2HT95yFC0WfNqOW3aiOBs6UhjikwaZnfOU4+pC1GErU5hTvhSb5sClTnrPw8L32hbJCx6ctieDT0SKM+/Fgmfw0NiCGOczH0ES+gd36TPCKAM4Qb5gWhJPSjYmDUiyhOE/ko/I38XydUOK8nRmD2/G5939cEJsbQdOh11hCIK5UdjU+im3vcWtMqmDG/U/R5hLp0c/vCQ3lp3sNy6ZyFzdAS4CnViRy/nZf6zXqM4PPA6nC+eCjYW89lXOvMIvFpcGY7yuORNrJXfHpKJ/nmqjdONkdybALh01MIY6FNyFUo8UYL5heCkcjlxon2llNsWKTw7/Sa5MxZ29dWUpKxzhbJuvRvqZpkrinquJ3eCEMN918iaSuJNKCAweP9eSTcAbQpGXoMJHn9JHi7P5IZM2E2otNj8969QG2AKhFu5c7mY4Y1IiYrc9QY8r6K2oCCOy0h8fbzIt05cBIJ26L8E8+5QAlDRw1rxaKQ18R96GKYEqIl3irAG1fDPJG8XAcTFa1Qo77p9hL2namxTUKZ2g4gx4nzXpDeA6oKMA5s5tciRDsHPJQai+7ZI95vr9rOeDmB1eXE0ENzyOHtPDeMhxqKfwSoqX0OWVyZna+oplS0zKI9CWG8QDELyUmBbsH5I/kbsMTSt/6t2fmKCDzNlUYDA6oXTSd+1fGVRAIqS4PFcYaZKEBbdPygqhCURYUeFlCPZDh090E+gbz2yxPiyJlYMSFC8TGEllyREyISRl4mLG2gdq6WrcuRbFNSzS1BJPcr7bmr5/eqbGPQZzlemmJbo7cUuBBjOqHDVZo9tQ07l94clxgOeWwzXJw9R07maBL2ilF1nXLci5MIqEJot/JzZAeoKx62jRi69iJlY190u0vtmWeEBen/7Q+4ng6IxRmzeK6zpbxka0xOVwdbu92RcwK59sI8HrX2RhiflJO/F0Uwbi0LZUYoC9zWQawP99yoXusNLKBGLZVLdKHo41rAOs5j+vR+R4zLOhu+t2PHAlzIU23zzuoU1o9FTn+WqnVQ70BR0tOdbKLchA2RwJaMinh1LtthaQ0caBWBRu73y7TbZ6/BRiy+M7quiOS++GOEygcLbEkYcNLwHCEPcmpdwEcKiTufqGvOu/YBCIhX1odLLPfCAGbUktLCJ4wQdhgw2aV4iRB+/qkqc/xCgA6fzhcL0Wjjy53FHvQqSVmpmAgMlg/dcjnQIMT9her0a4nV1QnvVtXgfNRqegB6fVhkSn0F099zMC8NNqKkoH3zW9rhhfS0Wjw8zzgKgF26nshrXMDwx5zOMgjO9/sg+WgI5mXeT9BTb/F4DO/3/fgGqZWf9AV3v8fcQ/QWt00FLKZeSSnGOi08ra2PJKUJLdM4BT2Vi4Ow6YV7cX0N/HCrx5It5mfZntloLzw8qPTSAAvLbnh/3HwGXg3k2MddCDpVbEr5UJI6q/3d8O3TeHbMSrR7E 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)(36860700013)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2025 14:59:50.6004 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a788ef89-2727-4ce6-4a11-08ddd8e7b8d4 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: MN1PEPF0000ECD7.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5724 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 ; Mon, 11 Aug 2025 14:59:57 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1934 Set default stable PREFERRED_VERSION for kernel and sdk. Signed-off-by: Sandeep Gundlupet Raju --- meta-zephyr-core/conf/layer.conf | 4 ++++ 1 file changed, 4 insertions(+) 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" From patchwork Mon Aug 11 14:59:33 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: 68354 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 13F2ECA0EC1 for ; Mon, 11 Aug 2025 14:59:57 +0000 (UTC) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.107.223.73]) by mx.groups.io with SMTP id smtpd.web11.49949.1754924396374199097 for ; Mon, 11 Aug 2025 07:59: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=zr7z8JP+; 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.73, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OBwNzR2FPqmKAA3Jnb9Met3fvWrADE617GB6Jc+EeAgkMzIzu4VPmkH+97cz/Wo7qgfL0bub0+D28AE6e0p0obQEoMfpPRKyhy5ec9atTbHyArHf/u8tK/i1gRe9mNTuT5pNrAhhp6QQr0A0vfZuG1Nihsyg3lgiQR/sjZtxBQrizr3WZMUTCgmT08lSGcZCSZBkvEykB7PjNwjNoMztCMflJX4zgUdVJFekadHRhCPv6Xwt6NCTwb3K4cuqLHqnIe4J1y7swRoHYJNdJSEAlL4uZIqPXyM3u6f+G8Bpdp58/1KAOq90xJcZOSV8xLgbJ2Ex5+iggtv8aDqIfZCVIQ== 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=wYPvii1ei60ZrPBMH1YfokQgD3EEz/enAMorqn3gxevM8LS7ACGmLr7jqjZMgZBgPfqjaB6RedAvBwYjTaGpVyeaDIOf1UyTDUs7vcWJGY1ZpzU89/Pz4RsOFox5vSLflnuTwRzffMNpjVxHekO0wtQCk8YMkibTXcYQXSfgp+VubKjghmrnZ3CxSYrVFrCDG4fmfOVZJqLGiqUN/Ds+4im3FY4wY/b6jokH7NfS2YIWosldLcvrvEJG4hkI0rBx/xEOgGsk+NLkN3b/3U82Xz6SBWBDJSGX9j7LXpAgANb/u2shNPjBG1pBZL4bFTxZ7gK+o7I6mlieCoFlOajqKA== 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=zr7z8JP+KDkiAddiSKXeKWkgNMsdZSa1dqyPT9mvaHLGxdQb4z0uftAVXGBQaIpwnoNO4QKgeSQY26K3EJCM0tYHUkcX0a1PsINi90yLTHnbxZ4FSYPzU3XKG8h/p7ZlZGjRn1JjogEHM3bkWXVjJfWUrsJ396AE0xrmYyBZVac= Received: from BL1PR13CA0266.namprd13.prod.outlook.com (2603:10b6:208:2ba::31) by SA1PR12MB7125.namprd12.prod.outlook.com (2603:10b6:806:29f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Mon, 11 Aug 2025 14:59:51 +0000 Received: from MN1PEPF0000ECD6.namprd02.prod.outlook.com (2603:10b6:208:2ba:cafe::69) by BL1PR13CA0266.outlook.office365.com (2603:10b6:208:2ba::31) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.12 via Frontend Transport; Mon, 11 Aug 2025 14:59:51 +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 MN1PEPF0000ECD6.mail.protection.outlook.com (10.167.242.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Mon, 11 Aug 2025 14:59:51 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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; Mon, 11 Aug 2025 09:59:48 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 11 Aug 2025 09:59:47 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v3 5/13] zephyr-image: Add image artifacts to output files Date: Mon, 11 Aug 2025 08:59:33 -0600 Message-ID: <20250811145941.2553838-6-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> References: <20250811145941.2553838-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: MN1PEPF0000ECD6:EE_|SA1PR12MB7125:EE_ X-MS-Office365-Filtering-Correlation-Id: 605d3292-377b-4308-1b1f-08ddd8e7b92c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|82310400026|36860700013|1800799024; X-Microsoft-Antispam-Message-Info: eRypSWL4ia1cNFtZAhyfPZhvuVJSFKRJoEqMr31XfRnh9s3dMYC1egTRCDtc2TopYnlDCac6Xat0e430INxJlAfNEXZWY0mAccjtUZ09DQ7Xk574bCDkZafUOJl2w2l8QXwtt5RyR2rVLJuwnvaA+XkN/IJKBC6KuP+Z1uZO1Yc1n+EduBsWsQR/tmX9RTmuxvAwxc3ylm7TuGWn/WQaZOq0/4ilZ1yd9XL7knU+ATAXFUMxvmsqkS7YFPetCscybXu5Z0Tciur9bzGVzu9JdEgWquJGShTlS4dq4Ra+PS5jegp/v45fY3CrnKlvIH53KidnSG10WXyHIvNBxbDl4Ti4qW2waFvxZSkShEHIIUXK2DD2jrnMlhJELnp8fhl5N85n/bzQBuEO7jP+YhsbpIb+M+suqXCV8MFf52QXq5rchXiCFrlqNDekfuwdWJUySzXTP0hiY9OPfKP6rcLbk33V5F5FzAEJmOMxHpjxJcS9RDucLBl9nFsiVYyjF9Lxb25bgKbZO2agPQqsnZLXvnNW8jMuKpimqolheNc0NxKugnc3mCWSNY+E3gqEuMMkjW6BVp3NbGeFVlPUd/choZKxzMgvhUtBrtf8iglMNgBUbYWOts7q9awiuxX/1rafKQx2uR0VyuetuITc7GkqNFOHxGpR3kSpNpU6d4btIzFLpPybdUH5EHjYVcX+EEUp51UflMd+Opkar695wv4fA+8kJN314w5DV11tY8q5YLyDwLOsEhjkVUqNhxhdOZXHNCRnQq5f3ePe0AjysyReqIHx5+39QbzamOH8ngq07CTkOBSlmlYpwbQnDXHfwiuVCz2ftCBJhLYtytqwuvPzZH5HPoxPljn3HuoXtvUyLWazQRaG3LCJ12vHpPtjG1wLDFKDy3fIhAERdeiMQaqCaTU9DpaBwp0bpzSPF6HIMs39ktZEO+MlJL0bHaKjBnok91WUe9RQ1lal5QTNg89XLQMqCFZxF+XVgRDl8n4BAP7BRCesv+/6UFDu/1ZHFoMmkeDvxKDKL7l3d3Y2gEAhPgVp7JU0eiYUvEVIes0g8Vtj+SwXXz2iMZXRqVhV0jA6Ja7bFAmcOyKs7KTBZXa6o0EzpDmXhxBgu9gPbj88eDayTnbmWAKWelePIsc3oX6DuLbSRxzPnDsefRyCJHDVl/9W3TwNOdk9AfcLy85XbvDu+U5842Yc1Are6HBz6UNyFMW/jv/W5vDTtMG17+tVwEcDo286tWHiDQ/Pokyg2lvOaWKRnpIAhQjZ0MUckNycLG1Zov6hWvvscgV5xp53gTiEUuceOzNEEmcUbeSOhhVoaNVSfDW1KR9V+n/bXmK/JX/PjlfJ8HNnfiDfpWHKzgRSNrtpfo1YPbT8XuD9ManHVxbE3E4YBbL8OLMqMo+ExcwXyKzH84Kfo2eHFwVebsuLiFlawt/EUgKY6tcJurzWxJ5LiJRWSfbAKOn9qoz0nN5AZDexqEIWmC2ApjwBY7+fC72lNcYCyTZLQAX7FIp+BvMtBRDWQTw6AcvKoeDk 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)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2025 14:59:51.1751 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 605d3292-377b-4308-1b1f-08ddd8e7b92c 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: MN1PEPF0000ECD6.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7125 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 ; Mon, 11 Aug 2025 14:59:57 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1938 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 Mon Aug 11 14:59:34 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: 68360 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 2D9F5C88CB9 for ; Mon, 11 Aug 2025 15:00:07 +0000 (UTC) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (NAM12-BN8-obe.outbound.protection.outlook.com [40.107.237.83]) by mx.groups.io with SMTP id smtpd.web10.50432.1754924398205155934 for ; Mon, 11 Aug 2025 08:00: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=nJwsQhLR; 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.237.83, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=iD8i9e6mBwjW6oirOXLKzjBn+cCW43Y8J54wStiulW03amjd8hQz3KvTCp+PH8fn7PCtrWMjF/BQ+rJqny79L2y+Ps10iC3R3/Gl8SF986ECaGl0/RUJEAAzeX4/wQHuHtBNIs4QCQzIS605/t/weQ3pv668FMLxoLi30dwBwcsEgGFkqFcOt+lkmcr8Y4Y9OUQ0e0llDPiaAU+Nv3iD+t9ErFmBwGFAVrbkaJq8wcw2WOTf7U/0nX0HVdob5O02YGdmuzL6pE3xxBg8afWO4NzzFeuNdSjeMoBjQxJLBzHWm0ITXeMd4dNPxZskAZ8Fu0qBd4v80vJZcN71cjKJ7Q== 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=Byhqd3cl2n/KJjJTvObpJxTN6VcOat3XhZL7pymF4L3OLhCS2ojaRPuipAM4iGRQDxSNWziMZNChFf8+rcasXybb7TPWlIjCoKOztL4K1JtRDdRjjmtT1sx4xdlAlO400hXH8Is3E7i5++xiTEhfR1rbfnXaQU3+drxhqb7Ey81OTVJb2jfG4DN5Bynz1sja24Y1bX5AhaVQLMuBmWAiJKBHXYgYEC6BwTJUzkweqoWBY0er+MGudZBC8xij/+Sl2SwCbQCrQGCSxDo+REF4iDHludmObQusGqHOWvvxpsUyQTam3EwiPRTt5Ba0I9oHx8jMo8xYCjhpqw4iQraq0A== 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=nJwsQhLRz5fkEcj7XF0REFpzq9khwHDJS8sMA1faLI89DmHUZAfqMwfww8CDtaVJDavln5yHLru+TfE0/0BEUS0K5QJ8iQadbvji4OUoDmOTHkVRwxWofHepb5WSy2BzeLxvg0a1OvtrEoNecydP/mGUTnjPj4ZCj9cAHn5tXbE= Received: from BL1PR13CA0250.namprd13.prod.outlook.com (2603:10b6:208:2ba::15) 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; Mon, 11 Aug 2025 14:59:52 +0000 Received: from MN1PEPF0000ECD6.namprd02.prod.outlook.com (2603:10b6:208:2ba:cafe::7c) by BL1PR13CA0250.outlook.office365.com (2603:10b6:208:2ba::15) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.13 via Frontend Transport; Mon, 11 Aug 2025 14:59:51 +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 MN1PEPF0000ECD6.mail.protection.outlook.com (10.167.242.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Mon, 11 Aug 2025 14:59:51 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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; Mon, 11 Aug 2025 09:59:48 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 11 Aug 2025 09:59:48 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v3 6/13] classes: Move classes to match bbclass scope functionality Date: Mon, 11 Aug 2025 08:59:34 -0600 Message-ID: <20250811145941.2553838-7-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> References: <20250811145941.2553838-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: MN1PEPF0000ECD6:EE_|SJ5PPF183341E5B:EE_ X-MS-Office365-Filtering-Correlation-Id: 622ff85e-dfa9-4d69-a5e2-08ddd8e7b986 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: vZn+9AyLaMGzFNmqsMcji4h1MFjg69XMGmD8B5E/ASfq/DKO5gKk0qGB0gUzHRbukMA25Ozd9jpCyE7sSfKAmN63BzyXuMfR5MxE4qCD+XBJgoK3Ly1M+jDmPW006d5QXN/2MHqW+hNjrHTHnzlrXyWW4nXwGQl9dWNNl6qO5lZhKr6DYqdB8047KSeh0caHLY4SuPWMkgpzUtmQ8MmsfvV2aTokNJUhxALit+3JowpN3gnYzVHtgI1BGMHX5lk46KW53Ugp56jDdh6wgJgx17ZEK4s35PhZN9NAeVOtJHz0SZmjmX/Tu87LbXAYAzCgGrZKwvX7V2o8PtYv5DJ6iSyi1n1B/CEW8lXvsivGQFTQd7/9gd201JaJTohKpdZn5xz/kLmUHG/7xereGhx6U3sp1jTRH+zJSmmLNwB88I2tjVRESgkzpQy/qX9ppZamZH+51aXuzdrDnQbli93pVTcmpCZEjngnD4xRABpKCfJeApbY15fKLyI7oNbDGvuDycRbv+gaLJ4Rt3Z/EJIXgWMxzYKJpWJfQ2wGY6BSIlz+uAPtp4NHG7vVfJ66AGRHaZyChx1z1K0MZ4+0prk5bZjZW3MbZ6Q3x4SceQ6pyZ1yT5B4eB5IuuF2+NAkLE2BILKEBIkkHI7+5NtAxf4YrFEa1CD0RGHjRNk6SI+PiTM7oqJBrbqWsR41A1ZPA0p8zvDP57FiUuRwEggLCKykfnnmUKn+ZMU52FwIqYCGPOt8TZGlhQK7tow6lMElimKro73udpCTs9qvyQy3YsZVm+bULHNl3oH7pUIWW997oMiK4iKgwUkrA15LZwxP6mFDCWG8s7ULyiLZ/5wIk82fjX+CHQbIvTaS3QRjZRRVoT9pjcbIh5OflQ/EsxXbYzbDSrxL8nmzbe4v2QJA8KeNfWkNMJkBAO5B7nEVfgkB8m69V28k+vVBWJ4Vk4i63DNK3NOyybUJiDp9coW0vlhvezLRc0ovFbUEUg+bHX/JpyQYiJvjG4DYyjc5iUKp9RPbjhpiHsB8jk1uI0kdDLwolp5ltnsc9aKpeWcf/aXmQdeLnKcORNGuJC+rL8mqg7VXwhs7M/41IKOWaOKEYofSyjr9amMKK/J0WZxxIg3TyY3t/fqW5IRSEpKgSN4fjVHFLmSShpkQReqalc1c9yT2uHRUeysk6drXjxcUYAc3/72Nd8ET6EF3u6IqIzrCvi1oL0ChqrYQsbYbW03pi+cwGXKNVA5r/XF93e0iDQ0KI5G9qdbTrfvo++jLFa2dSBCu3G5iPBma5kxMQWNHSy3MBAez7yeYSfzY10E+aBGAWl4nlFr/rde05dnb8SjZEqCGNqn1iae5+YnreJsGwWD59OtcuaG518949SegwHwGpeCYyFRK3XwM5Kh0YbBMI4O6YGxtfZft9QttMpYp2uAtPaKlTyHT1KwD/QqkxP6+i79UuJH9lIKH0lV4Uz1RX/XVCzrPOIQY/4Fj6kfa9rOk3p7KGsJJI4hI1RDwUA8mDlo7j8Y9LHeHfTpmRXpPvYrv 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)(36860700013)(1800799024)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2025 14:59:51.7686 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 622ff85e-dfa9-4d69-a5e2-08ddd8e7b986 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: MN1PEPF0000ECD6.namprd02.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 ; Mon, 11 Aug 2025 15:00:07 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1942 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 Mon Aug 11 14:59:35 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: 68362 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 27DBDC87FDB for ; Mon, 11 Aug 2025 15:00:17 +0000 (UTC) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.57]) by mx.groups.io with SMTP id smtpd.web10.50425.1754924393870858019 for ; Mon, 11 Aug 2025 07:59:53 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=aTW+ueZ3; 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.57, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UTnip4q8Ed1ALe4g0JzcHe77vySzwkcfYvJ0maczTqWBqGmhY6NrHwYJzn+1JzATqhNuBrwhVIgQWDuqDhu49o/gGvYY2uYpTrtQgCHATuivIa18N8uDr2K7fujCdgVW9gNU9p7sND4Ny5z33humc0x+QfB8IxU53P6Wfe/Atu1NuKDfII1l+hn8B4KLKtg9hNJTkzVl2eXDUHQ7GLsY7Cyj9q8xI9fs/I+pGkp+4GOzqDk8RIalJ/fpB2xu9lZXYpHwyKpNCMulO3LtWqhPKPP+8sUpHjQ0YjFpDMeaJAsBw0Ln1ZE8pEquWnIUL36fYGkelG5dtbhShJBugT6wcA== 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=sjEhzgu97gt9SEq5biCEru1fpV1eybjX2345NGCX+tov+WYQoO3WJ8UR4WqEknOHGYhbUr8rrNhNaGUpl9nOIA+CFwBkt6xn5dX+rC5DUQ9HtvpxhpdXIvjztAGp9wA8Cl2TTTJoDjKIj5f83mJ/YJ8Mg66sJNjvewMIr2KO84yh0ccjRRVdwahQCc0MO/Emt5VTvekFl2drhKyJwG8QW5nilrkqylo5xCFTktnt84BuQSS3IfsDQU8L12wzbZIhS9BEzoYbpvvdsvq4mH4zmHgtwFpf0adnLynaXuoEiuspaIawVQbqh8wdBbjFwn8uRKC1BBvkZbJKPOiugP3xtw== 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=aTW+ueZ3hAFMQ+/KHB5WgYMo0mJ8PbN6DyhiwM6/YymjAlUxMamCH3ThiXgltGtvBJdW5RJlTWa423+Loqci+sMDqNlgJiJ/lK14N1TrGKov7qhn6zmV3sPhxqBRkAOjtqopkm0JYggZ4pzxAZ4fgNgpEjLVPi+XtOoRYb+W9Mo= Received: from BN9PR03CA0254.namprd03.prod.outlook.com (2603:10b6:408:ff::19) by SJ0PR12MB5636.namprd12.prod.outlook.com (2603:10b6:a03:42b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Mon, 11 Aug 2025 14:59:49 +0000 Received: from BL02EPF00021F6E.namprd02.prod.outlook.com (2603:10b6:408:ff:cafe::9f) by BN9PR03CA0254.outlook.office365.com (2603:10b6:408:ff::19) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9009.21 via Frontend Transport; Mon, 11 Aug 2025 14:59:49 +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 BL02EPF00021F6E.mail.protection.outlook.com (10.167.249.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Mon, 11 Aug 2025 14:59:49 +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; Mon, 11 Aug 2025 09:59:49 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) 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; Mon, 11 Aug 2025 09:59:48 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 11 Aug 2025 09:59:48 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v3 7/13] zephyr-qemuboot: Use image artifact file in qemuimage Date: Mon, 11 Aug 2025 08:59:35 -0600 Message-ID: <20250811145941.2553838-8-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> References: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF00021F6E:EE_|SJ0PR12MB5636:EE_ X-MS-Office365-Filtering-Correlation-Id: e0a7116c-7f0f-47c6-d057-08ddd8e7b823 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|36860700013|376014; X-Microsoft-Antispam-Message-Info: sDUT0gG5Wr2AXOokb1c49V/ob2W25RX6pcpO1Ci2KzwPYAh3OXDitBcGtikhU9cl9T+yfJhgmHMa8M9tdS7X5yw2zYnUtxwei2LoFEryr4miesSI6yC4ZUH2sbdVjqGTDFj2m2BlaGvm/u5XMo2YUHj6qIv4KCjT5Y5YUZ8wnx4NoDAbMQfXh4NpVnKJqLtvwP+7HFOfMCyivguPF56n6WCSa+s1vdakz2wP18I+3SQytSZaTcAVJYwENyleN8mDIe5KKTtwNpUTdiIlPxo/vV48BDRHe2msgIr17MpR+qv4WSjU0O/C7nMtnD8FetAiRS5TsER3REWPNOK0rQiChVjnDf9r/7s+neiQ5VUU7BLe8JSQcHxWhX7fkde5qcCGU9VmR1hW3N2d2TddWKKH1Fp6XnkLGYQ+5y8yhR8b1dFP1cp9ICtKZWD/VhZn5Y3ilM1FBOZbrp8ktHsFxSQxlyE7Y1nmgcGfyn+vcg5VbMONk5gh+whS/A0c9qApmFzNgMKbWcslGteq+nCq8VxHmyy8C54SuGqIWBvIgjDqXEU1w4D36HTo4AB2j4/+2TEzuIGFjV0EIwmwQJGBlGK9u/rpUDFfMWVBxThrJt96DiLUx6U5IraBB0TTsoJ5lTkp4bbRv/Au/37nL+t3rg8a1GVPp7ntk0ntZVMQgNgUQHzUBbinLk9idEQ80LGyPUC6AuSKwP8ZEzpdC5Z6HxPVSnXZDsQXo+MvO4oFk3l5qiyEXej6RDrxgkoZk4l+31iD9ytpUH3ImN64J9H8zMV3xgSOFW/lS/odI2nBvikOs38dG3nz+Qstt0KesQu3fvEPs2nWyHxZU3ysGzAUUB2nnqT4rU8lNySfGbtQ1ulUYc/PCXAyMlD5qaOpvgsTR7MiwlVSpXXa/BjgKUiPbN0K7kObO+urm0yPz6LMG/uipq5c0ws0InVJYZ5ae10OPd9wyQt48+Sdcq73j3k0bob+CORk1k/tzovvvjT2GzB9vhxllomCBxREHXSUDWXXAjLoRiH+j6V6pMIdDOZjSgx3oBSMuoI4MjaIQJgxoP+jAX9/1AqIcYwX0ov9d8bZ+puM5brsW46PKbrEse/zRxzstkkVX4Pb9DT6eTqIMpm+MooPNfZQlqsZvCEJK6imEdL1lQsga8V9rBtq6apNNzmKefY3A7BpbvYQEPU76AyM0rDPf7n1uYBjKyTVMSMABG7QK+JtOQ6rLnU8K4f7PEr7hN3YoILciQL3Etrlw2F5ib+usD/i4T1gQZIRiwsrxqM/pXQUnBGo2cgc2Dx0C2qfw3CSsCJZtND7r1PwbjbV9Nv/koACnFftRCILfDx6SAqBlVPVl190x1XCzOnMprM7cQk22kPpN8+xc7kM152rFdahLhVIU1m0VYaqdDXME6j/mhJh8GH7YJC9Xu9fCkC3GwVsvWNGm00ZT9/ARYxqU/iHb3mpuiZpgiUhIv0VUn5/18d7w45L4sG3eos3DJZ9y190CYAgUJLYJowGiEwOUKJ+MzN738baBr9MGBv1fyPn 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)(82310400026)(36860700013)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2025 14:59:49.4421 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e0a7116c-7f0f-47c6-d057-08ddd8e7b823 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: BL02EPF00021F6E.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB5636 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 ; Mon, 11 Aug 2025 15:00:17 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1933 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 Mon Aug 11 14:59: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: 68353 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 08CEFC87FDB for ; Mon, 11 Aug 2025 14:59:57 +0000 (UTC) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.75]) by mx.groups.io with SMTP id smtpd.web11.49947.1754924394189285018 for ; Mon, 11 Aug 2025 07:59:54 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=0wO6r8Tc; 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.75, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Tc6Pkn1ytZPJjZyDomx1qzjHmC0rJDdOs0DV9btdJmuJrp2m2KLu/18s5KbCt/RaWS2WmbfWIhoEbS6L+J8OQRS5SHZ9P4x1mqHvArKn5yzgcwpeI670fmNIXs2dVGOAyl15xH+uZljlkCKyGhq3VI+LwZb1ZWqm/rnknLzS2YQoEoJPxWIYSQ55nK2nL51SspZLCTBwQ5PUcap0LcFT9yEwcRCp34YVAbzk2mBkkmmyT34iR/VpUK6T1EjFs3Yycn63Y1OExF+n4FSWedjHZY9rXo2CKZdxOYeEooTXQgQfPJMcDAUBuwddaJ7cGnOIUJMzl0aaLVLjBrxOGhmtOw== 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=JZFbUVSzv9WPXLBDU7zo9sjJ5xhQFuf7r9bSsPy5bLttIDQo1kPI7EgH/Z4F7dX8zKhJIVECuhMFAnUi/Da5QTwvjUCmNFvBZhYPcviYPIlNo8yIcQ23bTFmVA1WoXcPIk+qn5SKOue/fOst3Ew2atjdR+1wGq1xrIHEcIAy3vaMN46JVcOHxpQRAAbd/m2fBCu/ESu1fvL/CQq3fUyhYpAbE46668jVL1JQ2hj0yFw87H9dkFDCHc/T5nVo+VyPwX97xJpM0Qo8sQvVjeANucRrpMIhad47bktmDv8GiyEJIu5ipDCJjEi9PBhTtbEdU7kcnLRxpbL7XDYbiBkh+Q== 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=0wO6r8Tc8kEwrfl1BsqxMlEvqFk6wenfZ5HDx22TiWh9FA3lwAD8TMblpl/XTwUw4oOpbpRhh0ty5hjrwQeWXGSvshTfU4kV3+9L1Vg9XG4XThqPVnFps50ZaYF02zkjYcpDTAErqKfvXG2fYyzOSN1ulUYRgvcqxqUUHWvhqU4= Received: from BN9PR03CA0266.namprd03.prod.outlook.com (2603:10b6:408:ff::31) by IA1PR12MB6162.namprd12.prod.outlook.com (2603:10b6:208:3ea::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.18; Mon, 11 Aug 2025 14:59:50 +0000 Received: from BL02EPF00021F6E.namprd02.prod.outlook.com (2603:10b6:408:ff:cafe::c) by BN9PR03CA0266.outlook.office365.com (2603:10b6:408:ff::31) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9009.22 via Frontend Transport; Mon, 11 Aug 2025 14:59:50 +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 BL02EPF00021F6E.mail.protection.outlook.com (10.167.249.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Mon, 11 Aug 2025 14:59:50 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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; Mon, 11 Aug 2025 09:59:49 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 11 Aug 2025 09:59:49 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v3 8/13] zephyr-kernel: Add Zephyr LTS3.7.0 support Date: Mon, 11 Aug 2025 08:59:36 -0600 Message-ID: <20250811145941.2553838-9-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> References: <20250811145941.2553838-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: BL02EPF00021F6E:EE_|IA1PR12MB6162:EE_ X-MS-Office365-Filtering-Correlation-Id: f6ad7885-e6c7-4e0b-432a-08ddd8e7b88e 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: mD3AZTbtOEZ9iH3hB0j/92v8v0m5zllQ+XwIe0Jwwe6BbBguUYPo71bgFxbwdaL7NNjqH9wOJe86ek3DylyCY9Dy5WI9k+eYlPjL4j6Dprvsm1wHVflZJxUHrRaCJxYwrRAZ4iAAhMfY95VaDqNlp+3fHvUSsQh9ku21A8J9l3iRX3k5YsfmPsBZLs7mEcsADJskJ4bd5j+RUNS54gxJlrjTsKlYxq3pUCX6eC7TCNbEB8TSKjFZHZZjpg+80w6hK8a8lV226iHsxHZwVycOSns84bhSm/QGsDipDahe1yiTPwHELJ9jnYIoNIRVSwjLNI4fBVooNMEQIgE+RywFPS368hnxm7R0J1Tx+Y8EIQ4SdGuHO4TQVxct1yorHKoPc6C5RttwzB9kD200Uxo5xq5AHvqRfgJPyU7ik5y1mT+GvaWe/P1vpJ+NpZhOGXGgbWwSIQG1XX+O7zJwkLgEvgDksmjx/wFXmmPG15YGLOgRS9tvPLjeRcBR730zUtAAbbcLkiWTBdN8zdErpL3V80lnOX3KpkdmJSM/p1G7b1ZPy7/YnGUSKCVf7fNusquFQQVioh09jw7ht5TlQHPeWrKJnjIL4hZzPnemObSIQgqCi3gBmy8aALFTcIZF9AUPXaZeNJUzFYdsTW44mLxFXu2TiMtzddkd9YjC/DrQqmgLrHPkXTyZtTF+Xfw+29yQc9BDeN8lssCBEtvW9OOgDrOidH2ad0C6zPRU1yW48akNFVM3XMkU5OmIwCIkrIo4I+GpyUyRoCGiWP3eiq761VC2dUhNZ696gjdAvRxB3Uvn0ZZmfg1v2kcCOxnPluDOyRmbAM8ofM4FcbX2jM/mYXpheDWnFnWZULZiyCa2ArWQS9x99ToKkzf/Fb3hvQFLbCPM9b8s6vuvxejRHuokZyYA88euf9nxsgCf1qE0Mi1Ogmq14KPUfdsdSXeVoTOfHSxfPuMUnsvTb7evZKawjD98J9ejMg6IQiL90i2JioIi8QpD+ZqKZj0SgVsfbJaFqi12fcZUCl+4+uUSrRgCsPA/aiQncJ3hZuYTH8+63TGrHVxFRPDQIITnHcFE+ogvQml0SQ6f0tVgiF5NCqvEJ2SxZvwLz5pmPpIGi+d4S32ScBDf77XXX/59gCUPizl/AF5N+dr7LW/GyILt1kjsOgBdAqPmqt5xxBVM/bVxjtOdAgTwZcFGvIsUqgkt80CgTbAVRww550uZj676G+FkxN+WfV2XavV2zk2eBB/12W/XWtvAZbkooaLm22AxIvcrdLQGYMHuyleX+CVqqHgqL97SXKwAzB2d2rQA2c07ilsgAKabfMojc+PNvwKHJ5WZyTbRTv/muMEJyPStUWjATYRtrVrMfDKuvYAr5JAREiYTy3rSj1cJuqnYwhflwKemS5GH4O0cI2LuQ7Dmz4ZMHfJgsWl4cODCC9pM40mrL/I2We0znwtV41EAbCmCXbjEZkTQs/WWMtQHW8HRAyUUJwqGm5tc1zlP5lc7/kJ4KlZ7xES5viCza1ntF8CDXGpH 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)(36860700013)(1800799024)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2025 14:59:50.1416 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f6ad7885-e6c7-4e0b-432a-08ddd8e7b88e 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: BL02EPF00021F6E.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6162 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 ; Mon, 11 Aug 2025 14:59:57 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1935 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 Mon Aug 11 14:59: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: 68363 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 2D9E1C87FD2 for ; Mon, 11 Aug 2025 15:00:17 +0000 (UTC) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (NAM04-MW2-obe.outbound.protection.outlook.com [40.107.101.59]) by mx.groups.io with SMTP id smtpd.web10.50427.1754924394922555325 for ; Mon, 11 Aug 2025 07:59:55 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=naoY1XZ7; 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.101.59, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XNfWGoiUQMB0Ae+lEvCxHCfxmJDf5QZCj4vuE/ztbYsEGu+/MaLQs1oqq/LgJdtn7JQOOu+eTmRiVsj45h62Su2KsO3nJ4urPrOyAZYpUxY7iQXGCHEj6DvvRSaj1t5Ry1s1jlP2wWZ5fby5QRE6KakbDy8wToGqIinJ39m0Up62z0N+CGfYuXf97Za0c2dJTUDGQBDpBcGPZwg563Ey0jTCebRBdZV1o3PvrUAq0pVkdvlyLzNKGGh//BhtoCl2aCPoRrtLx+YILOVxL/4k9vd1IuHBlEE7iPwFA1jNb8wEWLKErW+4Ptq9M3RLP/uQbuw0VdWXzbip8nFZhszU4w== 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=qohDZNsPX+3ar+GemRdOPDPClxW2dCCo7XyTmkGMKifVqHNvCxPHlXa9tyz63aI10gO/1bSfkWd2vmkN1e9E7UOwAECTrCAWCWzo83qeFPdJOq0GmkNxftglHW06hMOi4XGPftcqfVr6JyQfVqfReK35gE/iJkVR7x0VXSDPQnxG921Uz+VPYqc46SS2No+MDf+VOHwbGx6BVdGfqJyJLnPMSaqh3noGiAQAXwPpmcXkCvzyqu09lRgY+GyHM0QHmrVdvVXNsrRgCCi7smzM3CSAOKTv975glhTJRDPnPqQSL77W2YvZdO/wW6oMMDCvD30+ai5aH7xboEgoGWt4tA== 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=naoY1XZ70jE6S+P7xClnE0klTBliNaNGA76iTFuUHkC4QKlRKcMvHLRqEyN4HWDpsbLdov9EFMk51H/iJ/+thxn1feNpxjrwmFuruCQhdqORpP7svhcl1Ugzvjr/ox5tX/N+sadymobQgEMQ2lwMLQVOSA5pHPl/VdUya6rmb7E= Received: from BLAPR05CA0011.namprd05.prod.outlook.com (2603:10b6:208:36e::26) by MN2PR12MB4472.namprd12.prod.outlook.com (2603:10b6:208:267::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.22; Mon, 11 Aug 2025 14:59:52 +0000 Received: from MN1PEPF0000ECD7.namprd02.prod.outlook.com (2603:10b6:208:36e:cafe::ae) by BLAPR05CA0011.outlook.office365.com (2603:10b6:208:36e::26) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.13 via Frontend Transport; Mon, 11 Aug 2025 14:59:52 +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 MN1PEPF0000ECD7.mail.protection.outlook.com (10.167.242.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Mon, 11 Aug 2025 14:59:52 +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; Mon, 11 Aug 2025 09:59:49 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) 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; Mon, 11 Aug 2025 09:59:49 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 11 Aug 2025 09:59:49 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v3 9/13] meta-zephyr: Update README files Date: Mon, 11 Aug 2025 08:59:37 -0600 Message-ID: <20250811145941.2553838-10-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> References: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN1PEPF0000ECD7:EE_|MN2PR12MB4472:EE_ X-MS-Office365-Filtering-Correlation-Id: b6040790-586a-46d3-0ff3-08ddd8e7b9ba X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|36860700013|82310400026|13003099007; X-Microsoft-Antispam-Message-Info: jQh+XjWeXQ5mPeMuxIhZq9l18TlFqKflvBu4yFIwYtqFSliG1ibNqouIRZBD/nqunvzCK36Tp1tvQlz9rmu4FONTLBbQznWC4Uwk4riDOCJr+B/SM8rOyuF8IxKCLlkvvfnld/Z+ncwIcKBmeMW4nwtOcc3fL/kY+VEgKe2cEkRNbOf5neJEJ9CcNxQgk3Op+p/EFrL8a+QjO3CnTp5OgcybrgDCV2cYSYDtRoXjNVupxbcpWmDbGiXmYjD3ThhvokAUwQ7vyyUeMvB/wjlLI5Bg8p9B2W6erNvHHoyqidhM9wRSIRcpnvcP16zyMrvMBTeCFN3erPoIdcyXLCi5Q5GQhrZJatOGDlHUwbRp0d3f+urluy9eLHjWZXvjNpjhJLxWUduPHj2f5Zn66nHSvg5g6ZP9miQKzTxEybK744yWNNmPEOTqBkCFc789Wn6JSeSbG+1NWdgvdgyR7VN1UgxQsraZCPrKST6FbhPXlVZbuOu8hX75/VpYIPHWxqmHgQ5YgXN4H/SfDvD1R5cK8+Bo3/wPZTUjMw6d+NG3jsj3bwZsxrdWrkX2rIBTf8sEXl7tEI2Blfc4dUOuv8R7jhm2rRBQ/yJcFfBWgoOv/s6EgA8nsmBcPfnGggsHQWoenc01heov/lytf0csezi1zpYuRBaNHa6tTYZI+BHuz2iRIIY1/kXyVQGRoM8Met601/lJbcLhFjJEAoaE1Z9MG96yoUidnkgrAG73ZJ0IFX6fgFi9ANvTjAKjkF6/7s/j1TXoBywEgCXojLS3a/Tv1rgB9T8cKi96URSsFbUoQKC4D6UC5+cXJYzEzq6O47Gx4s1PcmNRjfOUWTtuh/2wNKcFhfknwbKEUeqfIzKVPKVBdJxfCHoCRc3ApdKP8yJS7gsREZDf7MgzLZaOX6gaprw7vaRLpiUq4SW9OnVKZK20NpjQE2Qck+QhJDIkOZyP7S19XVynAbCXglJudMQxGXSj49/VJg6+J/BiqbbLOGjX37tXfpZSB/VQChDgWUaFdOxc9ak7iYUEvmBIVJA75/skjpUdIf54tsBD+EybeRE4xDxjmbGpRcLYb7+gA8N1LoLGCQHmx2nqhIYXe8mxasamTZybdfPzIv+i+x60eWnyyFU/hBEHyslgeEx7PKwBSJt3KmMNzGhzTB152wN1oeX9KxY2CFgC6TKYagnLRp1p6vNkVQc+VAu/T5xgDHKL6MuqnJwMllfX0nsTEdJgWcprJ+2LkqrZugoWKBvkpIAN74ldvdIlgDHG85LTbhgIiwuVBB8QquA+6OdsQGc39htH0Vf8R12lTLPsqklyPYDsCT8D/4Jo7JuA13zAwmCsnasTzeG1wvZ0I/CeYsL4arF2o0tHkDzLqpQ5sruh0Ov++Z34XnODYwU4hsov3/ri1S9dVCPijQoQo2PrDlV2+xkhUKnUzvLT+TEXl4oV7+h4qHkAXUFCHSDLQ3SUK+vGxbJJrx7waVISXhXHlzzpXg== 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)(1800799024)(36860700013)(82310400026)(13003099007);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2025 14:59:52.1067 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b6040790-586a-46d3-0ff3-08ddd8e7b9ba 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: MN1PEPF0000ECD7.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4472 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 ; Mon, 11 Aug 2025 15:00:17 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1937 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 Mon Aug 11 14:59: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: 68364 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 2DA1BCA0EC1 for ; Mon, 11 Aug 2025 15:00:17 +0000 (UTC) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.107.223.84]) by mx.groups.io with SMTP id smtpd.web10.50428.1754924396416830151 for ; Mon, 11 Aug 2025 07:59: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=45wttJtG; 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.84, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FFyoTxByCqfAUUWvW5sqXUeKzbVD07JYRUnj6Q83vIyITOfyGNeksUHefNhs0fA6Ue+OXMq/sA5roXi+QsPkDab25WkT8odYSc54o9a0pYjn/MnrsCUMF0j7h/aYRQp575r3tl6zBH+frMdhxOiapU4mX0tficAZPG+7Hsqdd5/UaWEfTLFnhqIUuUB3DGnxF6NjoMHL4O6SoBu/LDCvL/ItDb64ghJM8oe0laZh+MXjo58+i7650vTSH9tPV3iFza6yNYh0Ewk+57qNTqOdC7dP5njfqcwt5rt/Vd10MIrgNE4dNqtSBWdhhAYVdY+K4SwNBTMDAJzIiMeg/L0AaQ== 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=fjruiCg2VqPPCZZaYKgya9wY1q373IMoGp4EgBGT/YhFgIFUKe5lLUOFbD/BFf/pfcR9BtZB5PmrREfSeUjE5F4+8DgAXaUtN/eUeoIt+DO4bLCUpm3bDWjIE6ILm8sD/8eMTR781xIKH1xFeTcTgHd+3ZtYZ3BCErE+Lr8+ZQ8EQySMDl/PXu0AUcSDg6hBM7da5LWjvmUaYjzwcPHU8dCDlNIjmDATo17sY9DjN/hNK8ZOWeaoL78olRmVfv5iicLxaAfy5z6UZF8p36HiUIvvbV5uXDCJNpWPFJIatQ2e9C3GOSCwA6189Q9HhZNe92OcQrxZxRn5Fs3KE27Mcg== 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=45wttJtGVZQ2ctm7L9eRggkx+exxipUseF6JTmPhC6befqk54UH6hq43dUk4Eo+zgCgKBti260aYkcV1Fy8cG+oR02KVw4R1bZs/aILWb/JQee/WLR/637U64KwZHxhSLbT9t9b4DKPX5it1RDtbVb0Q+1mAOIabNvt23MOECyw= Received: from BLAPR05CA0003.namprd05.prod.outlook.com (2603:10b6:208:36e::10) by CH1PR12MB9647.namprd12.prod.outlook.com (2603:10b6:610:2b0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Mon, 11 Aug 2025 14:59:52 +0000 Received: from MN1PEPF0000ECD7.namprd02.prod.outlook.com (2603:10b6:208:36e:cafe::80) by BLAPR05CA0003.outlook.office365.com (2603:10b6:208:36e::10) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.13 via Frontend Transport; Mon, 11 Aug 2025 14:59:52 +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 MN1PEPF0000ECD7.mail.protection.outlook.com (10.167.242.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Mon, 11 Aug 2025 14:59:52 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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; Mon, 11 Aug 2025 09:59:49 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 11 Aug 2025 09:59:49 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v3 10/13] zephyr-kernel: Use relative path Date: Mon, 11 Aug 2025 08:59:38 -0600 Message-ID: <20250811145941.2553838-11-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> References: <20250811145941.2553838-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: MN1PEPF0000ECD7:EE_|CH1PR12MB9647:EE_ X-MS-Office365-Filtering-Correlation-Id: da496f06-e65b-42fe-2cd6-08ddd8e7b9e5 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: x1bctZ2dD/+G+5mJqWVQBQsdvisJHA7BI9pIoRG6d4p32c49JHG3rfXZmXe+gW60ZP/PjZFhhcT99ZZ5ZF0F60wjT/uVrCltZtmNYjvubn35jb7mdKyIiChF9p6eVhCjK4N9MFp9fvYJmSWdsU4LgB6pACmNJNIgpI7NdzNIRRdyiXgMJb1QV/IAwYZXxJXsn/Wdp97L6XhGLy9IdbnAoChiv5sTtsgXbVioi9zEl1akI9Cq3BaDz7MbQ/JM4C/n2CTF2CFaoSz489poIaAHikWHLjsageGX9f2ict9WuQB8OjiyTyxEVO9VJInvY5EjrGj1lM6IWEPmnPIQQaiv8VawAXlhk0e0KwRhyEe/IJMSBXuqwBFjeUidvOT/uQQPXzNjU5Z7whw9Vtd/hZaBZ1sLq2nriJ86Phza1aKQwQAY/XrtW4dVsJneh3d8P6dXiEVf7NcP8Y3T+YhpHytk6Pz/j62Upq3KyR0bDZCwyFfRal8wePZH6C0jVG7Q6Rmmnv+NbZ/rSp/F8ANqlHJeTnQuPaBQU/VJFzxB8xUxiD9tTaM2MIJDQPu+cWWhdLXFFM+j5NjxjYUsdrSUp/Yq2xm+aBi7pp6D0IQAeqEdIxZwsr4cyDvW+0zDSFuGH3m8F1iG/8eyAE//KGlxdaipPYeJ1nolNQddJMYebJZfS2lHPFKHzep1ySz9BJiKeKEwgJum4iQ8Q3zzNHC+mdJfYgPKIb+D4zwoUMvVUAJHjcsB2o0jaOKNlpchVeVJXZlGqucngIz+1vcxNaT3iD/Fk3PyPPfvEOcb3/UTvnaeW66PrVpPPFx1pTuUOKToSV/tI5RGsctkOmCr+Qk98BryAfXg9Y+CgX9iFpvw7SJi3slG4iLHGVl6oSzw6unhmpotEozVajaShyTYhgUgDURFgX6mj40XJ+TVwkR/IrTrT7dEsRgmlVEjmNP3NNiPlRF0PRDDYpGgbiFoE96G9OXAQVSvpAE4mE1Dyt9myA9Jy+zSr0hkeOGfdEhn4WZvaSZvpszH/fJS1BbalOQfeyhp9S5ZtKU550bkUNB0fG11MN3xjDzeKtYE6eHQvlXvglF+WatAa/YDzN+2EC6S5qvSduAm4cN2gKG6aIRx811PcHvIsNfsvlkmlHZIYNDrOGpcKug7TwOvljqQgz4MYUZv5h+lpmTFmwp1LS8m8JykQhn7gop+EPyDInS5576PLRbOoBzY5OIhHemV6jDVA/hrQDAzCCZJ6XAlAoPh6L6q/3B25y6xN9wQgAWq4mWHyP6jeYXb+rb3PeuKCvMNm8IEUxJilEUPhV5PT2Mns3+F+ybkSTP6H1g8W3IMEyRxC2OHKxZctk8wV/wNErHrP/HTRXU/nGB3KkPqQvSDfS0mSxnQBBsSvW1EF31UEqnuhrmhE4skEWe77AvgzCEenAbtnFrh9M1X5An/cWhC5yzCpPgkpNFHAN82/5rA+5WRR6w+h/OtrIHuSiD4E90MbJ2GEiCr7JJcCOq71zbEdnKRLZNO/5FAxNjbjOl8mfv1MQq3 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: 11 Aug 2025 14:59:52.3892 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: da496f06-e65b-42fe-2cd6-08ddd8e7b9e5 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: MN1PEPF0000ECD7.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH1PR12MB9647 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 ; Mon, 11 Aug 2025 15:00:17 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1939 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 Mon Aug 11 14:59: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: 68356 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 14973CA0EC5 for ; Mon, 11 Aug 2025 14:59:57 +0000 (UTC) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (NAM10-MW2-obe.outbound.protection.outlook.com [40.107.94.79]) by mx.groups.io with SMTP id smtpd.web11.49948.1754924394808354405 for ; Mon, 11 Aug 2025 07:59:55 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=VsZrmVz7; 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.79, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sJgOkfJu3ZOYj9rFUekmYSqd67aGtXwVAKQO4DT+taY8fOOE/lAhYHLI9CFQ/hiHJ31y+/WqZfDQh6z9U6F93LZA0f1i45qDzzCJpnW5hikuQx0Ndm6mr4eD8MvzKfhnr/P+WHivybey0fSH1PdaBFSDOvN+W6FI3qJRKn2GN6o8ja9S4lquLKxJywo23xIroqbqXk9lQs7acA9cE1i94QQ2TXL4KsZ1VPwe3aKC3GT2r/NKm/D5WeYfE9RT8f8/zszeICPkU/X1iFGOoy4Sc+3mwdAIQLaWeAcYWAdteg7+3AkTR08MQBi38MV540G4BKjvBQsbHZuDwguFMgfyKw== 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=ej0hFUsDvPJolOmAhlftqsR5cpGVs4h6uzgbSRMEiEcXK4OkCzBaS6KHNiwY5j0yIzvTp+sWCJG+y5DqlltlgupjTQT6KmpacVRXGBcRirvrVrqMN4wcZQF+mjsqdh4L7nRnxLhheiNvNklVlzgqNLwt45R2ssm519Vl56UTT6L7hkiRRc40JlSfyNjl74FDGw++cUKrZTT3JvoF8uO4/a/ypNV4g4GG0VT38E7Bifq/B/odlpTuDcH1desRbzBOai1h8yIkWo4KLICjsarASKpbgyWYw+m9Mc8LRcRm4/Zhu+7BkBNWY+kjN9z9HHZ2dKtnk1SFQCPNjsomVGMOzg== 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=VsZrmVz7kZJNozHVBfCJVYsaYFstun1zCGZZk033iS71vILeaSTnnksv8gvuS44MPa/P+F04lbDut3gw2y7KFaM++QTSHUp/LKmjll9bcWeJPX+L1oD2gOjNgs7a3jMUWBzj66Wcgf2FVVTGIolLcdXk4fDyq1m7PPVSM55t+dw= Received: from BN9PR03CA0250.namprd03.prod.outlook.com (2603:10b6:408:ff::15) by IA4PR12MB9835.namprd12.prod.outlook.com (2603:10b6:208:54f::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Mon, 11 Aug 2025 14:59:52 +0000 Received: from BL02EPF00021F6E.namprd02.prod.outlook.com (2603:10b6:408:ff:cafe::93) by BN9PR03CA0250.outlook.office365.com (2603:10b6:408:ff::15) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9009.21 via Frontend Transport; Mon, 11 Aug 2025 14:59:51 +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 BL02EPF00021F6E.mail.protection.outlook.com (10.167.249.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Mon, 11 Aug 2025 14:59:51 +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; Mon, 11 Aug 2025 09:59:50 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) 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; Mon, 11 Aug 2025 09:59:50 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 11 Aug 2025 09:59:50 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v3 11/13] classes-recipe: Convert zephyr-sample inc file to bbclass Date: Mon, 11 Aug 2025 08:59:39 -0600 Message-ID: <20250811145941.2553838-12-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> References: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF00021F6E:EE_|IA4PR12MB9835:EE_ X-MS-Office365-Filtering-Correlation-Id: c8144311-d3a4-472f-eb83-08ddd8e7b948 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: VU4MuURHaRoy8kXAMobHt1KemDrk7t5kG095S2zztfniuk8FPfnWNbhlQHpFRFsqBIrq0zJV8xQTJJwiswIxBDFr8XoxVxYhm8rsDAYSv1xhSXDXbabkegjmIZQotqi4F1NFicxL0LQNzWihfGe4nmyh3OR7ACW0u1wUABi3VPs7IGYz5v1J4j32LN4dphrvJWuIeRz6P6ciOaM1L+yP9SotRrOHlFkPRYPoemYCWN5nHKIpno92qsZGDh1I45YBTLj7SMwA9OZoZ/Xik+J/avdggPBuMGkJsllwcttRe+tcJyE/hm9VQBelVXzCZGpX4JnIPPgvF7EnyMtbbkN6IpYNYZdhm2NfyXVHqP3uEq+w2zPt5jU7PIVi6GtaP81KUeMjRJPGrM0F8cRGthtSOeuSINdoEde+CMjqLahw7jVEy9Q/cp2kFVB0yrMgSd87hb1gxV4HcEJ9ao/zmCYlR707/41/Hyw7krQhqh6TfNWYD8Q6QB0htdVZaZVD1tIK74nIjZIG1EWRHiYOxIFg6/znPhGORrYkH2UXCH5jtF96F9cg0SVYYIbMQN9nkgyIu2OvxZ1m7NdxSBwZlYAKB606nmXWb5FvG0LCkQgGcGH+64WODE7scPoC+MLM/E+30uTdETeENK/5BCDgZKOE/BTunqN3g6b4cEZtqD9zVeR+l1gKJWp3Llz98McrwPdZWasXwQ42xwoIzMpJixEwP63/cuBK5kaON6MMuEkpAv27qmVQO8wCyf/AeIPM0xxuf//cWcrxuFjGEEXCpJ3Lqjkijec1/LwF3gI6o97wPeliWOfCSrCiL7FQgUOffUYPQNSQFCRCD5294zJ3VM8aWwh5A7POBFBx84VdqGMknEsBD0d+1bnF+fdLyNhoRINLqZZ4/LSyrDdXR2hhUC49mZcQbcSuX0y83BoeA+fezVD5gIjeNTcyGntADHwvmsv5Y7xt/0J0v1Bu1QwjhdjP0UNsbzWqsoUjHyoMAtYyxs8CmTpesAhw2Tamkoa26vzfUEI4sf3RJusyX5ZRZ34YCksELgLzrXqQTNJzZUboa+rolIAEgQUZAYaes4W7NS6r7dy2reNu5QyFcDhOjLlUEYpGMFbigVjjOzB9kIxLtyvQYxZySCH3FsMcY2WOXdRYFUTJFbxF7Qxrg5ROv12rRoXQSx9jaiDcWIJMO87EhKeFAsCJLLeEaiKfyLKWOzd3Oc4v1rxcdLyO/FeSnPoiw3dG5L+Cnfau3EumW/ViL+jQV+/6fO7IDF8a9Yy0/G9BlL3K8ddA2cGd3Fx0EaL+87fvNoDY5bapKcuG+oCz08a793nrRH31rtjTyOdoWV3v3CsvpRH8S27oZLOxH9ZgQcIKyzsFZc1aFG9Q0+3Eia/bVWnCyUbUM3diq/Nl9zO5uI8gH/B8LonDb6ZuVn7k7gyzAIvB6GXeGzJosB/ZTCyn+j9F1HpbXezDTt05kHeudXeD6YnmU9RC6uwD5aczeK7o179Jv/hDXg5YbXGt/dL7cOGEG0g9FLfg04PkBvDr 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)(1800799024)(36860700013)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2025 14:59:51.3618 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c8144311-d3a4-472f-eb83-08ddd8e7b948 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: BL02EPF00021F6E.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA4PR12MB9835 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 ; Mon, 11 Aug 2025 14:59:57 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1936 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 Mon Aug 11 14:59: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: 68361 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 28EE6CA0EC1 for ; Mon, 11 Aug 2025 15:00:07 +0000 (UTC) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.80]) by mx.groups.io with SMTP id smtpd.web10.50429.1754924397330447766 for ; Mon, 11 Aug 2025 07:59:57 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=OEt85dlJ; 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.80, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=eSolHPdXkqnikcJVnAvSoo3mcmLEl9eTTK/RYyWpNVgYwW/rtp0MItYQTssZbFwBwzdiMBziBlR8rvkqXXL2XJcQzGqIaDCse+M1QGA6uqZbXSv47YiQEnbeoolYKrc1NRHplEhwcXY0EnzVeRIZ4VbZHzSSMlANxog/EuZ/p3HzYX8HqrRRnsCwEUtsjL9E8NIYGpCtdqpBOlGjzE1rjkN3nNubFryTlEgEzSOw3C4O0Alk7+JOBN39ejPQSws6d/I0o10fLwmIcK5GlhxOwTCVTkRfbtKadHrzTY2aSCTG6EGmoFldrRqesj9f1zOhTR7BVlUhZXsbNiNi0OW5ig== 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=ttZPjY2QYdbxen/nKIcWWy1DZ4lTaVhCg02ikXd6z8s=; b=WLaF1fbjGPO8ljXpfumXHsqB+92cYV8K+ZqdZEamXCCpVEGgI91YB9jUQHQJAJBevGmSuG3bID8OwtEJzIfe10R6uleEbFhBVfFAJYuDaEM/6gq+GqGSIPM6Ji7+TFZs97/Sv5EIhK3+n2kHooHSF63AUlrYrnMiwpfFpg0whZ/RgTilgfQALqZuMWumM0EnUsrGYIFLmzgvY7YdQ2lojEn7SWcaWlOrtJJXepDrfkHYuHILQ9E20GhhrkY9na4VBRDg1zB0e7zZ0aYavfanXdVEBaGQPwhemkUaxzB8adxybPNTELfIDzUgZ0n+Mei4y4Ick5kIwpfujFL4vNnUYg== 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=ttZPjY2QYdbxen/nKIcWWy1DZ4lTaVhCg02ikXd6z8s=; b=OEt85dlJ7+XGgaurysLP2FJK6uCGh0tMjfKaUO6qxIxbA+U9XuOiyFLNELVyCvNqGXEWMkiqkOnb+j/zkpFM71n5dUrOPTOygOdP0b+LL8VgS4XIz+x8Vp/9KPnTwsfLj0Jt5MMJy4YnXJYXWhiLp1/Q9A423mei+THKYantPPQ= Received: from BLAPR05CA0007.namprd05.prod.outlook.com (2603:10b6:208:36e::7) by PH8PR12MB6676.namprd12.prod.outlook.com (2603:10b6:510:1c3::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Mon, 11 Aug 2025 14:59:53 +0000 Received: from MN1PEPF0000ECD7.namprd02.prod.outlook.com (2603:10b6:208:36e:cafe::8b) by BLAPR05CA0007.outlook.office365.com (2603:10b6:208:36e::7) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.13 via Frontend Transport; Mon, 11 Aug 2025 14:59:52 +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 MN1PEPF0000ECD7.mail.protection.outlook.com (10.167.242.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Mon, 11 Aug 2025 14:59:52 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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; Mon, 11 Aug 2025 09:59:50 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 11 Aug 2025 09:59:50 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v3 12/13] zephyr-kernel: Add rpmsg multi services recipe Date: Mon, 11 Aug 2025 08:59:40 -0600 Message-ID: <20250811145941.2553838-13-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> References: <20250811145941.2553838-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: MN1PEPF0000ECD7:EE_|PH8PR12MB6676:EE_ X-MS-Office365-Filtering-Correlation-Id: 99ed1eb1-7b12-4dcd-4ff7-08ddd8e7ba30 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|36860700013|376014; X-Microsoft-Antispam-Message-Info: s7IAmekip4LDReIb+8Iz748ZBmE4NaCLw+4P7Ycvv8WNtXjkdY6X0dytxItlal4rBj6pnY6O5EUJo5AuN1X+1M936po+oRKT3yfzb+ZrEBA9Gxz2GVMz/yN/+7Uah/EjCbKdZ3gJZHm53ASei0cXi2CwrHYRSoIOpIrQstnvyWfbonxHv29Jek9VH2fxHYAajFElEpBSrCJthbPJVKRkv4mZDg6AvoHKpAkMkdJo5DBN3z6wL/Ez5zkT7X/Op5U/qYFuuJywIPCV+2psMvAhYBmRamYICK4MHmuRgIfCLL4L0DL59yRj4FSpyRK1kP+XOFBIC8mrKe0Qj3z/ne/R4xFJOnACAXJs12vnfuT8L365QXrUVv+BE9SXw2GEyLgf4F77w19k1P1NwQS7bGmbC13RNBNGAfY+SrrD2KqAXnGeUca70MPgBJ2uAgXoHOpyQk2W5JQb/fwKeGsVQsILAE6dP6XUifJytaBrU3ApBVO32i9V4besKu5HrUHGI1ufy64gW/iNBZjTJv3KfDP7dddPqWaVEwEgqqkZHFR4h+lLWtZgBNbrn4os/xkFHc39ShueuqBfMF8hzJgiI0VODlm/pQ4JCHNRDCqowwWAJ7uKzlZdZP73Cimr3nitEHR4soUdx6e4VvHjOdLyJMQ26tF8rAWeYAx6AcmRqM8j6l9lGxNEfaTAwwS8Gr7977SwpWOiWmWP7r40CA1j/2O9Q0N/YMAUHjlh00U3xkxxiwN7ELKzaDWVPujm7JgTa0CFEz5t6bfh10MMLjOzQy1uEqmWu/UNXisr7QOceZEWu+ALUNIjdHSNPvRK8GO5XQDSwHhjArAOiru2ylvXHQpJqjcQOqBj6bWqRuvdmJ2ZiQ/ub0Zgs10au/zYn6DfE4Q244ASEUbHKRBDDhnibkmynjPOSN22DpaI991Yg/43kcg2k5pkctJ0xgZa3g26SfV5oQHeqbL2Kbx14Bysb6CVaRxyQsWPch5xBDPyl1QckQ4r42axRFEZ1pVyvFxEVRewXyqeMzlJOvkqqNjInWtsA6d8BRLVueK+sbEtQ7uSwiLnR1QUQjy6HD3CGOqBwoWwTW57lqUmxB/OoAbdWNuAse+XlApCZEq9Hc/IwyUYzqlzELYjJmovI9zKqFWLq7lCfPvBOsEa/vRDg371VjrY96f3S1v0IyNWQ7JvhS5KkoLdnthdGLsil1mFFryVrpAee1WYdR1tLbgHhVP4cypKENIGCQmmx6QCHG7lQY57wl64fqX0f4be88UvAHulSAPwp2/p8gLnF7jMck++Ok6WUJvxl4pN98J8sSiBCi+hEMUePD+qVvFf/qcqMRyzm8EtH8w9LdX3rbSWXSX03ecOcqagswbQIBiJe//EcQiywdJr/2/FhDNmTy2cV++OvtHPZMqa385AhCoYZDHEv9oKyECOnFRCykskjh2tQdu8xsO9QLVTYdj2ycj4Yplz1ZuWSjrIbhhN+t9cfO44x6RrCe5DmTQAQyoIYHbvfRb9JGfWB9iUITcdUovtLX7rqLvU 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)(36860700013)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2025 14:59:52.8816 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 99ed1eb1-7b12-4dcd-4ff7-08ddd8e7ba30 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: MN1PEPF0000ECD7.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB6676 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 ; Mon, 11 Aug 2025 15:00:07 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1940 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..51152e5 --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb @@ -0,0 +1,23 @@ +SUMMARY = "Open AMP rpmsg mulit services" +DESCRIPTION = "Open AMP rpmsg mulit 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 Mon Aug 11 14:59: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: 68359 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 28E32C87FDB for ; Mon, 11 Aug 2025 15:00:07 +0000 (UTC) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (NAM02-BN1-obe.outbound.protection.outlook.com [40.107.212.68]) by mx.groups.io with SMTP id smtpd.web10.50431.1754924397505236149 for ; Mon, 11 Aug 2025 07:59:57 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=WcxUIPSI; 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.212.68, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bj4JPuZGqzwmO3341AhlI97wtnvjJl/pMJQI0akh57+irLvgXnpKkRMr/laJWqQOUhRqv8NPU6s5ySQYjC48sn7f6u6rJy9DpFibeEnxztwpZPMQFnIaz37GawuJnlmpTSvV1a99A3L+yiHuxwxBlpqWnwUO15BybTM8Yf48/RqduFpkbgTuEiVk8k+XFSDZU8XhA/jRCIoZULXjimtAFJQRhn3kmDOITnd0FA7oo0RTjOyCShFJp8cvXzJB80xN1ZlAbZ7JwMR9I/DMVdgRKD2r1dtSJDadvBNwqIv554eTzFJuFRgv2d+bAKs5Qr1Ubrqv29/t5eCuli4E5nnkHQ== 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=YD99oDCD40hOzbWWoJf/u4uta7UeJ0UAr/S3kQHht+ddOt80CdlI4fqdKbVSH1CFuZ+RGrzjc/L183su9YT+Qf4Jia5ty+Rd4FQP3F35ZHXZ2u40YZE47xmXCEmxwMoajUd+NFdG7VR5qYTO40h3npvChS/pO8ggNyNtymqk4raU6Ic15hjmKJtHvKyGzaIM7+jQt1He6Dsz51cIDUY0ExYdAE64MYeFea+tFHpSYsaU8w3cKYSfYp86uBXfvd3TPIberMpfb+U3x7zimmIvcGIpH4uV81CFNKiMYYcR2ZfCQEvYkd2KQP5fA0B6ZvW2apfhoomcCeAu4sSEuGuZBg== 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=WcxUIPSI0CYWA7THI9CzBRzhE/TWcwJLvBxAKaF0xCqZPyHVU0Qkp4JpJAcbnprx3QbWKtPva4dn6Dh1MsKLFQyVu8ix6wgPLye7aPeC96TvtDo2TR6eSQF8F1zdgZQO4tgamkxJyT6eqwTV4k01Zym0QXMPfP+s1uNL4ly2QI0= Received: from BL1PR13CA0269.namprd13.prod.outlook.com (2603:10b6:208:2ba::34) by CH2PR12MB4215.namprd12.prod.outlook.com (2603:10b6:610:ab::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.14; Mon, 11 Aug 2025 14:59:53 +0000 Received: from MN1PEPF0000ECD6.namprd02.prod.outlook.com (2603:10b6:208:2ba:cafe::10) by BL1PR13CA0269.outlook.office365.com (2603:10b6:208:2ba::34) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.13 via Frontend Transport; Mon, 11 Aug 2025 14:59:53 +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 MN1PEPF0000ECD6.mail.protection.outlook.com (10.167.242.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9031.11 via Frontend Transport; Mon, 11 Aug 2025 14:59:53 +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; Mon, 11 Aug 2025 09:59:51 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) 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; Mon, 11 Aug 2025 09:59:50 -0500 Received: from xcosswyocto01.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 11 Aug 2025 09:59:50 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v3 13/13] zephyr-kernel-common: Add Board extension support Date: Mon, 11 Aug 2025 08:59:41 -0600 Message-ID: <20250811145941.2553838-14-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> References: <20250811145941.2553838-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN1PEPF0000ECD6:EE_|CH2PR12MB4215:EE_ X-MS-Office365-Filtering-Correlation-Id: afe77edb-7ddd-45e7-e769-08ddd8e7ba4e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|1800799024|82310400026; X-Microsoft-Antispam-Message-Info: 2LlyRWz4mmyTiRvb8Q20s4IRcdgN1CAzWcl1aOyzZjWhfEqWTMkGj1JlWFCbITBocMsARHxb7aKnzICPyEme9rAGE+vFTgavDKfuBOkqX3wfgUoyHhMSbkvKwXJylxpc8eNxIP8OsbHOIGNXsDaVNh6xSfnN28onN0kxv0HqRE2ADXzWjc9YjaFU4yCOTuATR0+lqTDJRGaBjiB3YZ7/SoHIniATdy7tI69Rx1EKKA4AKqZj815LWNQqodozwnwU9ONxfZvVakazhOq729AccKNjBspwj8sxE3dXVDIx+M3lRxMkdQYTJTAiJztQljuJq1kssN4t6SotU2bFUJiul21tL+xxwIVRBk6cEKbWTj/wK6KRsVVZUzpslv0jf/BgvOBacECUihixFqe0qVcxvjf5EkozPPYG0fzO1gVIMIvfENXPaVCB5UA0u7z/byK5pLB7Wdc981vIkEtGPwGIhOwpCVXychLBvcF/JNFSG4TWL13NnLkOzM3irRwtWP9G84NEnHrnfUJIIUwYr9De8U+E4EV99C9oK7RQ1arWsA0mQzlYvHhqXqjgbVPHj7gFFy35etIzHW5tB2ncnqa3OHvrKdzaGBRlzxcroEMDdlEs7Qe2oKm04izorRNHjyzAwBgZ06kjHA8PL7f27lMcgYGxA9GBSrq1sLgoCP0XS9ri9VBWnw62KzfCah/oNFsJIelhhZxb6ajpuqWx1VQ5ASgVBBRrHeCvczSvRCrIUF1z1wrJMg6XIi9yNAF+wLgDreKJw3KUM2Az2QpTAFFyd6hholgPwkNgWi5oJSmYFing4SXgBk19YZ5SWadiM3B8647nkojmtkwFv1+D04wbcBFyiago2T9NWeri48af11SKhXgmxsl1Y12smqnf6AkXvYw+CJP5OSGWgfhu+r1el4zcMOY/qNXf1glzgqGZn9/mvkVslJx73/5/CPX3JJA2aG/YfLdcGm/1HIGauPckgSfx9UfwWxZsbV2KfWd0+rwJNjFqEG3ZX+ZONu2YWuyM5rEiqOZpr4EwTi29N4aos1XxircTcNNqqnejnn+NcTcDrExK4CTNDl/UAdR4Sj5PWSwH5OqBxpnsczXW/q0pmxyJKKAoReu56gbQQw6qX37gnLlQOZ2IIz4W0o0SywPxTUVdjJKyqjR+UYcfF6hPxQbotFlq2Hwwfvls0GhGfqnnCW2wA1UkVejImnIkE7p+yYhqwfSHTUsvceEycgqAqRN1HKDjbs+ajW28uG8f+CpVXdJ8oCjhxIg7ZblnrWpJukmT/dMx1DGu/WmEx8HLo46veArfIxsvofmhbFPfzrfDyThIVLMGA32t+ugB2sqq2H3AYjkk8LNrIeYVdETQyKHPoM9tBCbOuLPJwNebWMneExl6jrc4oFy9qPD3i/6dbPKumbWmp2MrkQT79s82NPmkUt4AokaJZ7DkGPG7hwSyMPziz1ZSW5MU3niwL0ZC/hNnn3LY7MvOaC4qbkJDnIC76l5onJ7oZ1OlWYfGaAyKJiV2h3HU+yznHEMS66XT 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)(376014)(1800799024)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2025 14:59:53.0811 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: afe77edb-7ddd-45e7-e769-08ddd8e7ba4e 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: MN1PEPF0000ECD6.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4215 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 ; Mon, 11 Aug 2025 15:00:07 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1941 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} \ "