From patchwork Mon Aug 18 22:02:54 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: 68739 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 97B6CCA0EE9 for ; Mon, 18 Aug 2025 22:03:12 +0000 (UTC) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.107.223.81]) by mx.groups.io with SMTP id smtpd.web11.2750.1755554589031245097 for ; Mon, 18 Aug 2025 15:03:09 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=Bb8MZK/X; 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.81, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=jdEVuWt7gmIQG6oyJxUlYRclW+FdULOSE4BUoiwPE+1vLOUCI+3LamWp/q8EEpV2Kg+wvJYvI4rV0eYQpwBTGIBz2kbfHhRpPYW5DzWUzyUAFFKgcwKufJtosp6NP/Sj6GNuLXf2XboESg5Nu1hAxgQPHMyi+HUpz/Xsq32hz98uTajabPMuZa59+uXnaBMgyWWasJkl1ZbaMwI9R7hqATf3kjXifaYhVp/3E4PXYH6zfsEMMoOHVrOO2Ndb/H1cg+pevErAzqs3IBSGnRA60QpdRr2CQUOzPd5P30rBQHuDd5rmV/DZXA11jm/+1iIWwcNUeFIAGz6JAiJLbRZkhA== 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=YmtsGY0W65TLUl0f7uHYYDMCRr8cfV+2KBDP9E6ZuwQSIMqgAyRUo8rW5LC0u7QRd56y63mQTLjbt3ljr4+qR0DNRE/MhMY4alRFTLtSYTrBN39s9IcqlEbvJXNU5YJHGrTOqnVcp6YCZMQuh96xVTy+B9fehpjSjrOG9I4FIHKNaezKD4nIgqg4qACSkX4MAb/+Ir5qHKPcC1mMhRpLXRx7nBkHWimb3T+s5Kk47a7SszMOZh27mXdxSzbUIPYWJI1VsnVX0ET4CNumP3IfwTKoH+2wxGkje8hAOtkBOXrACspEByClPYo2zx0/LWH5yP2xMV+XRYjqKVqNFyh+6g== 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=Bb8MZK/X481nzrcHaaNUEYFjuxVvohtZfCwXMPC/r/NsJIE1DkT0Xm13/xNuO0Q9++Vg7mno5U59ACf4aptOOqeRE26yP4k3EXcjtyl6VWp5TffFsV5bSwWVWftCEf9+lIQIsCibEBsFopUNjWGhUhQa14QH2Hw8+PXXN4gfcbk= Received: from BYAPR07CA0077.namprd07.prod.outlook.com (2603:10b6:a03:12b::18) by CH1PPF9C964DBFE.namprd12.prod.outlook.com (2603:10b6:61f:fc00::61e) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9031.24; Mon, 18 Aug 2025 22:03:06 +0000 Received: from CO1PEPF000044F7.namprd21.prod.outlook.com (2603:10b6:a03:12b:cafe::f2) by BYAPR07CA0077.outlook.office365.com (2603:10b6:a03:12b::18) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.20 via Frontend Transport; Mon, 18 Aug 2025 22:03:05 +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 CO1PEPF000044F7.mail.protection.outlook.com (10.167.241.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9073.0 via Frontend Transport; Mon, 18 Aug 2025 22:03:05 +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, 18 Aug 2025 17:03:04 -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, 18 Aug 2025 17:03:04 -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, 18 Aug 2025 17:03:04 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v6 1/11] zephyr-sdk: Add new inc file and update to 0.16.9 version Date: Mon, 18 Aug 2025 16:02:54 -0600 Message-ID: <20250818220304.2300436-2-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> References: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000044F7:EE_|CH1PPF9C964DBFE:EE_ X-MS-Office365-Filtering-Correlation-Id: e079a5bc-36d5-4d2e-f3e4-08dddea3021c 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: PHSvD0WLC72pCv2C6fPE37ZbY45O9lls5Xp681nhAuwBFI5qDPDaqNcRbur3vUtVFRPmr86UVBY0v4r8Hq2cY9ma8djFlMAWwY4zSL60OVbbMzSZ5YBuAvWyFwNxKeGxxuf0gGtkibuzAgS6BxFHxoUzgzxfevzeaHR+h1N+MS1Akw3zNyGkwhnUVrTqRRYhntkFp6NjdWPn/ud7o+GtBkO/se7id1AWsnzGbEjxshpse9Qwq1KAtVD2agDLoVTOnF8YXLcqF2f2Hcbi0j7tTFKcF5wCdyraJ6ybWdU0ze6J+3sxdLwtTZUII6RLMyJb1IQZCb6Vy8oE1TF6nrH+HA0ghCH2Fsp6nwzs5S/slQ7s9zI0zrqFJnxvppxn4HsAwPLDCiXmRa8ERdUAi8Pnkd2oCpSlIZwFH4Bdm1RvJIcG3qrsdWPMHCcyOLwT8ffWQftuQvrcNyLpgtYe6xxr/d6qHNE05yNef7g5+fCGtXJgSnNaIBayzEX2CUFfMZ90xXDHQldsxu5whOWIa1UFM+uTMy1pUn8pfgfQR9BUyS1KW1AsrdQ6J3eXpvB2J43obzjHvZFJBwg/q23FmV8boUUBSY5Yox5co2DXVP+E+vhTs5hgg7AeRwkS9oUh6dEY/DWMnOhW1/RRwpkZErd2E+MiKCv6e6CU4lMXUp2JhukhIz2eEBuLrlNgVfK74LlVMrzzKrDCPfZxFPcrQq1HFxNI7X7Y6zdw+E6It+sm9EVUc8dOhjUksZzj9/gaWUZunHYfb+DiWVVubSA3OZ247lU+m0U3/eY5TE8awxq6YitWPDO9IKR7MlvdFkFnpW+sqj19oedH34P9K8R7rkjWartcUcgj2sLvUWyQr7CzKGHJX5MRjl25RdZwNqbhqWZkj0vILdCCX2Iou1kii6FFmcSORKungBopKoqpAGcgPMw93rv66he6zlPzcEAT93HIajEyRXWGW4LN1k0nypHr+khsQEJTiLY5z3Y+UYacFeDHgYwsfOBkNwURuqVDJLuc7qIvKB4TCw+Ts5ZubIj/XBsHPe89c7enW8Nw8+QgCsPizTQ9NGe2/E2xnnYVlLF5qhCG9eTLsPifMKrv2WkCT1nW4gpuTX/Yk1/sqT0XPDQGHMCzYnne8fVn6wSaX/oko0TYKbm5G0/r1D6I//vnr0FsmvKSKhWukhhfn49RHUSz/nvo+UlTve1td3Qv5sqbQMXEgvi6/gcGyMP+qU9ufuhaVJVLlQ7XcjJUna+LS92gbw4X4EHv4ihTdB8XqCIbFlst4fKO6L/ZO/yGl32JycDTioKUCQ7JqtEywewNoW83Nk/wMHLpNtcaP1hNBgVnJGMr5hDfR5Q4HxARbEFRb7VaKQ1sGxlVjS1iQphNy/oukDbde/1D0Glki3T+MUx2zOkmZOYRK7UN4A7FkbjVj0NRVoJdKgrPhSonr7ybQ+S41hjEPGJUmGwwLCxQy5iwNHbf9o7YkTrBapkot0leDw== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(1800799024)(36860700013)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2025 22:03:05.1630 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e079a5bc-36d5-4d2e-f3e4-08dddea3021c 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: CO1PEPF000044F7.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH1PPF9C964DBFE List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 18 Aug 2025 22:03:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/2038 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 18 22:02:55 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: 68740 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 A8D85CA0EED for ; Mon, 18 Aug 2025 22:03:12 +0000 (UTC) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.78]) by mx.groups.io with SMTP id smtpd.web10.2786.1755554591028237907 for ; Mon, 18 Aug 2025 15:03:11 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=cX+FB+5k; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.243.78, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=y7IQZXNcBPbP6wEjuqV6X0bTNeHB7af+fOw26knt/GfjzTzJz+fbE9+Mow439oFNxVCVK7H/Y42X9PohiWmyamSu8l+8VFShmTaOxdtUNiaDbfq/LZubVJzW4pga9cVGJg5+swbYUR+DJQWQMJ3D8uoO6uIClRNu51c8SyiYJXWclHySvMGMaGRaPwY/TmYOs6MQo5BzPBed93Dw3FzJBdHeK0+DJTFdrgPQUp40yAwchM0miPhW/Bf4QRiTTMFSBhVYJ5242p8q5myY0P1+FpxNj6nZHzTeaIoaDszrglGsgWZocEfS/Z52cwanMxQXr4qS/muII6s/xhodOJiWaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/AjUxczb+QlNl9El3k3t4lxY78l+yzDIYGk1Hme7d4Q=; b=WKXwSeNvHY9qRitOk3pBbtfstbtplsxtjIY2s+tHPAsfnS3O+6qZZLF1DJxsXzhAX/d07uR0jYPY8uHJsksR6RdWNLS5r3EkB9J6kQ+YRf2zoWEX71a0Ooj1XNhjhlk+5LR3AsX04V3v99w+J8IHBCHr7WU6+nFUklZ/2CQMpqHTzxqvGHCH1OMLNz7DZ0W/OlP6zphgp9g5NEaOc8+EO1QYDVx8Iu/gKULeIX7XWxbBXbzLc/SzwflSEWY0butZj8x20ThXgHjut3MbEnufse24VDmf3BZYw5FSqZBtyKDbE0x+HF81+8azsaSrONAJlExVEKsHXotpzmxSPd8Tjg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/AjUxczb+QlNl9El3k3t4lxY78l+yzDIYGk1Hme7d4Q=; b=cX+FB+5km4NP0Zrdno2K7XrjATZgWLxPk73OJ/i9NFdSyD+kOT9ShFbFb3NbdRxZnw3y9lH0/zdZcrGiUvX15zpVIK+iIJC/64sNPjl9nW4Z4MNBytz/AfhymsaDXNR9L7an0Sylh/baFtuffcqKwDosDsJZ3enRfJ1/CCFMQ5E= Received: from BL1PR13CA0338.namprd13.prod.outlook.com (2603:10b6:208:2c6::13) by LV2PR12MB5872.namprd12.prod.outlook.com (2603:10b6:408:173::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9031.24; Mon, 18 Aug 2025 22:03:08 +0000 Received: from BN2PEPF00004FBA.namprd04.prod.outlook.com (2603:10b6:208:2c6:cafe::55) by BL1PR13CA0338.outlook.office365.com (2603:10b6:208:2c6::13) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9052.12 via Frontend Transport; Mon, 18 Aug 2025 22:03:08 +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 BN2PEPF00004FBA.mail.protection.outlook.com (10.167.243.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9052.8 via Frontend Transport; Mon, 18 Aug 2025 22:03:08 +0000 Received: from satlexmb08.amd.com (10.181.42.217) 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, 18 Aug 2025 17:03:05 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by satlexmb08.amd.com (10.181.42.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.1748.10; Mon, 18 Aug 2025 15:03:05 -0700 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, 18 Aug 2025 17:03:04 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v6 2/11] zephyr-kernel-src: Remove PREFERRED_VERSION_zephyr-kernel Date: Mon, 18 Aug 2025 16:02:55 -0600 Message-ID: <20250818220304.2300436-3-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> References: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF00004FBA:EE_|LV2PR12MB5872:EE_ X-MS-Office365-Filtering-Correlation-Id: 5dd7b04b-9d93-4cfe-f8c1-08dddea30432 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: lQfgDmeYbeQtI3HkGrbq7eeypolVB33VvetdUAMX38Cksa2CPVAc/yvrpT8r8rW0JpBPn3+6IALLq18CWqUXDlgnLzEeS9oCPsgtBX/0ttdDoPi2CSb4cAeSJjsYLWdve11/rHCw/tPiYMJHvlXLqegIk1pT9NCe5c64JuXrJ7Q2RAz5qDeuHyZ+N/Lg8aCj110mlWyYMrjzeg/J+uw+bfWOitRvN2OwrWfciNs5Ba5p3DVsxjPoMsr9WbChX62DG6AXsSAfzJfUh9hAFWHT0UVZxlgnr6rvnn3yBwXPbgDImICMAUsgc+xTgeXZILA2hogWnt4f8CMlJCtdbuhJNjwtlt/DbUUWk6RXA3xWe0UIPG1ZBplSxtJf/6QHMqE8jnTCtCGN7AX8shX39zVLURXEGzPYSBvMmYw8n8IFc5J+7fm6b3hFFH0mjndp9AV6SRteEOSKPAs5NQzZJIn3UB2M1Cc4s0ZablBwrA1aw2E945jiCcf8t4RpOoNfKvmX5VvOmJze2JSvG7TMPE8Z7pe5lLlwkgQnl+omHEecYiUQbGLSAW0kFwJpqCiDI2qRFkKSce1EerCccAzwW8tpVYPbyygGohWGYrI8D3gGYTJhmiUNMec3jsXYkLrreAQFwq6g1lXVBqr/oqEDqaJ3127pMU+WfozNfd1qRRVg2RK54YKKvZ6auqToenGA4BEeOwnHFP8t1+lf+iC9pG/Yg3oz27aTt/5KmUlpPxyi8d+5SAncPlXhO/w0Lh1npr0yH6iuIuPwj5K4+acT0tehbAbJkBwerbsi032Z/eZqsiK43rX4c/DATdPlmwRgOQcc9Im5a8t8PXR2sIiVqB4Vjw0wxbMQS67Ds6ldkezb621wVo4B1sZYGfabYlJmbacPH79RsbhNsB7eXj/W/vAhAL79LxDvTP7LP3UiZzXpjeRhF3fINTsshcTB0LwDCIXFAm97r5bXoeoLYGQC23/ea2DbVYCgvxFLlQINT5nvPd+SVYQ767Wm+EGc8sRF6eavksN5p33H7OIj2JyHCAJLShFH38ChD1Eq9ai91Tm5egZfZIvIUIMdM2zTKqtyJQavNaZDsbLBom139mvXaIGcp38wNQ6XJDSYidR3tkC64cMpVv2Zm489fxN6dygd8EacY94Qn4slQuGy440Bj5HXs+jGP3D3gaVAyeaQBqbJyfPZDdV9CrehxVgk/95S1X3Emq1a3VURn7ormXL6oZ/nYxo2fnzB5JYCcnyA1k5xqyXyqm3X2yEXA0gvo3ofwGaRYY+DCaKCYsZoyuJ9nC9fPqazze2Bob7OTa/HzPAlvC3pR+hA317eI3UL6nWZRbeHrCmgfUgp2AImv1+CX983kWOJoDL/WVC33yNT74HuXK4shP2a4UMpPj4/EhS/Gx/2e0pol2BITYU78FMlf7Lq8+t4ae3rYlTQfNwUAO7iH8AI1hdsoY1HolH9X8trjzXT83q5FYY/agsKJ3CLFqbuGxlUXJ1SP1aF2V0cAqalemg2LgHeLOgjD+1rq3RFC6Mr 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: 18 Aug 2025 22:03:08.7533 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5dd7b04b-9d93-4cfe-f8c1-08dddea30432 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: BN2PEPF00004FBA.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV2PR12MB5872 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, 18 Aug 2025 22:03:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/2044 Remove PREFERRED_VERSION_zephyr-kernel from zephyr-kernel-src.inc as this variable should be in global configuration file and override from local.conf file. Set default stable PREFERRED_VERSION for kernel and sdk in layer.conf file. Signed-off-by: Sandeep Gundlupet Raju --- meta-zephyr-core/conf/layer.conf | 4 ++++ .../recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-zephyr-core/conf/layer.conf b/meta-zephyr-core/conf/layer.conf index e1bb263..e355b3f 100644 --- a/meta-zephyr-core/conf/layer.conf +++ b/meta-zephyr-core/conf/layer.conf @@ -20,3 +20,7 @@ LAYERSERIES_COMPAT_zephyrcore = "kirkstone scarthgap" PYTHON3_NATIVE_SITEPACKAGES_DIR = "${libdir_native}/${PYTHON3_DIR}/site-packages" addpylib ${LAYERDIR}/lib oeqa + +# Default to a stable version +PREFERRED_VERSION_zephyr-kernel ??= "3.6.0" +PREFERRED_VERSION_zephyr-sdk ??= "0.16.9" diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc index 0b9baac..6b2b697 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc @@ -11,6 +11,4 @@ inherit cmake FILESEXTRAPATHS:prepend := "${THISDIR}/files:" S = "${WORKDIR}/git" -# Default to a stable version -PREFERRED_VERSION_zephyr-kernel ??= "3.6.0" require recipes-kernel/zephyr-kernel/zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc From patchwork Mon Aug 18 22:02:56 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: 68741 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 ADD62CA0EF3 for ; Mon, 18 Aug 2025 22:03:12 +0000 (UTC) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (NAM11-BN8-obe.outbound.protection.outlook.com [40.107.236.77]) by mx.groups.io with SMTP id smtpd.web11.2752.1755554590875321742 for ; Mon, 18 Aug 2025 15:03:11 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=qnY2YH+p; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.236.77, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=v9M7NKo7R484uiFnCJbCAbrROEFl2lqbygQTQIBZZXVOB/gBJc9ZOchDmoiFazpAwMOYkwfhQJBT6m3x11KR6JSLT9l1TtYwUOku2sOewzY31VphKpEtrL2FJVvF14GSVLSCfKTSnTtMuBc08G0HW3SwwXd59fOekIrGyeHzryWkJdAs52/17OcO9puXu5W7iI1S7Ysy2wOVXJvAi3zg1NqfLuGfEi8sK9xqRKrgBGlnqbt7Nn2XDf8wcPIE7hIxe3qK0gDIFrDRnuLwbB4TPtxvI0egpdvwomFiVekphu9iVeaf+L3ooZgzEhO8WLvUduoVscQGFZ29/pvAhNaX+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Wka75/N7XB9vRm6mv8QileLT8QNpfWhHTekeaQ5Oq7U=; b=rM2XmwHaxuAYE6e4eAw3Qjn5fIgbDavXOJ6AyXXBOn5RPssXKZeCa4ZJ0c4AQmTP/vcYLQQQ+A/PAygdZSo3FpJtiHay3rMP0vM/xYytapKsWuqfLf7rt2k+YfSx27GpUS6Dqq6o4VH1qlUgriLljGsDxcbkawtFyTWYwI/7qr+eZiB6oiBcwpUoMH/pxOOCAd/Gc3ShXwZ2P5W/ayMOI7Tz5g9bL2jUZhD8KSgHW3EDLWxWZ5h27beWhY77aRuI4pz7aSYusZNp9afOi6YXj1s6XeXnA3TTQ7Yi7nRRUJn3c23A8wtuBBACkXZeVzWSTa0t+MrkK6Pmr5h5Y/rvpQ== 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=Wka75/N7XB9vRm6mv8QileLT8QNpfWhHTekeaQ5Oq7U=; b=qnY2YH+pFeRxQBjBcUwR5STjXZcoyIEmfn4X7lOx53mUlaCOLadBE+sCewrdHuwAV/1ui6cc7A+XElmcUYnZh0D1TjpgfGedUl9hfroT078OeFw1ncvwwlMWCYjhBUFU+OvetPvQWrXCHTPqEswdcRIHOpGKISP9T5V1vn3E8Us= Received: from BL1PR13CA0347.namprd13.prod.outlook.com (2603:10b6:208:2c6::22) by LV2PR12MB5919.namprd12.prod.outlook.com (2603:10b6:408:173::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9031.24; Mon, 18 Aug 2025 22:03:09 +0000 Received: from BN2PEPF00004FBA.namprd04.prod.outlook.com (2603:10b6:208:2c6:cafe::43) by BL1PR13CA0347.outlook.office365.com (2603:10b6:208:2c6::22) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9052.12 via Frontend Transport; Mon, 18 Aug 2025 22:03:09 +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 BN2PEPF00004FBA.mail.protection.outlook.com (10.167.243.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9052.8 via Frontend Transport; Mon, 18 Aug 2025 22:03:08 +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, 18 Aug 2025 17:03:05 -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, 18 Aug 2025 17:03:05 -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, 18 Aug 2025 17:03:05 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v6 3/11] zephyr-image: Add image artifacts to output files Date: Mon, 18 Aug 2025 16:02:56 -0600 Message-ID: <20250818220304.2300436-4-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> References: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF00004FBA:EE_|LV2PR12MB5919:EE_ X-MS-Office365-Filtering-Correlation-Id: 47a63062-e364-4900-aa50-08dddea3044f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: g1ZPB/W5GGrLqpwqzwVpksO6miVKl4wBS5paeqzcD5lzc6+SqVXEr+DnrYZOpyamwsWRqHcA8aiP0pvt54uSQVpW/NYZI5avpBcI01Detjhb69db9k5RvtV5kO0joF3760lcznAI25KR1ro7ZuCDvabPcjBVV2pFiOPNwUIHOtUbwl7biIS1wPPL5zHSAP1GKVLjc19dk2Gxxww2Hqf/KnCjsBhpw0cpSN0bH5v4cGjT8VJmEkb0BTELgq0q3zKlusR+Yzly6iNnEnb8b2Ko5/qi46+CdQdbwujDqA+kSSrH9zZhvH6IpXKbW0LyzAchsS30zFPg1Ridr9NvBYOeVWPC8/rMCH1tlrC2kgLLmU2GcX24lfEqT3eK/y605FV7jOAViUxZpArUyK0E9Bt1mZEa3XtzcjFivkI1tMb7g+/ydEA62hhdt/6/jq9CbphUe5M/BVkuLXlIvla57LOtkwvYdGH8O87cqG+GJwRTC4mcOi8NtjrRxqI+COGZvvzEzBg83MNcf7PU+kHHe9MCP/+iGKFBapqZoyxPj/25j96JRtmSOXgkkeVUYcgeh7DjQVzKC1JWTziRd4oDrFS4EDMoK9KBrPEsBEpk3OL9ZskszqnUzYnGGfErPZny6ulnaimEUj/1nRMRvVGrcQVR9Ty4mODZ1P/aVqoSFoB+3EigGkJ9Lz3fXDleUFKWhD+kqNqvsCeXtf4Q59W6HKfZY59LN4c44oIypHWHX1ahXOO6c45YVE4wjpa2pkRTrql2fPWz6T0+hcSxoJJHiQe9b7I8oyEqVQZk93A2Ppa6W+k1NGpJNnux7DSGYvnUjMp92PGaQyzA8/lAKAH+IBqTD/5cbBIur9oOj7FLwAcxYMqVrU/To+mtC/qASJw3/UOmhr75yUBQkiRRNok1g3K6qzhM9EM7LneXa3Qp8/PpSCKfOCJUkA09GAtyvoGnMMyLqXlG8aB4CQ8BkGl87jVNGecqSlooxPhHaLTQXPrRHcuxWYq26EPpyQVrmO7Df1XeOeynOVk08XWrFwSPrB0Ua6Hssw8VIwn86lDiDc5fEd20iagpghnHdqzT2DSySFB7vCyjcRJyXl9fD5YumGRpPwDKdS/i+MapcqWbjlH1VVceyBq3Nim0hoCo0AFfj86yEhrJcCs/PUNBpuZ0ShY2B5Zb76lD8APSTLYPLDDIPwfC+DtPNZB/RrgAi+Yq8mCXOSwJ/TiRjwcOG8m1zwzpeNJJosDmQMsqwuCfPfgDILOuALwqivB3D1KIoaelnYZ89hng+YAgZHNsYr5rZMPA4cTVFGQAwJ+9nlp80jY8L3m8KP1o56HBSx5+YnTHwAyL46pnnvxuflr0MM0H52JiIS2Ws4ASGEhfO032UrJlvFsUI7kCP/pt7/93n/hpG6IFd9oPFFGnzrSO8Vtgex5hkQ84mfxQ/yg3ToR+job5P7sPTNKAf5nm9783J853RCkFaOUDzdeueb/fUwbPuxBOgbZYPba686ykXqYb5NpX65GfmasWJBFbtY4uQQYGiY1j 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)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2025 22:03:08.9411 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 47a63062-e364-4900-aa50-08dddea3044f 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: BN2PEPF00004FBA.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV2PR12MB5919 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, 18 Aug 2025 22:03:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/2043 Inherit image-artifact-names bbclass in zephyr-image.inc and add image artifacts to output generated files. Also keep old image artifacts nomenclature in do_deploy task for backward compatibility. Before: zephyr-helloworld.elf After: zephyr-helloworld-{MACHINE}-{DATETIME}.elf Signed-off-by: Sandeep Gundlupet Raju --- .../zephyr-kernel/zephyr-image.inc | 37 ++++++++++++++++--- 1 file changed, 32 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..15891c6 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,56 @@ 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 + + # Keep old image artifact nomenclautre for backward compatibility. + ln -sf ${ZEPHYR_IMAGE_BASE_NAME}.elf ${DEPLOYDIR}/${PN}.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 + + # Keep old image artifact nomenclautre for backward compatibility. + ln -sf ${ZEPHYR_IMAGE_BASE_NAME}.bin ${DEPLOYDIR}/${PN}.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 + + # Keep old image artifact nomenclautre for backward compatibility. + ln -sf ${ZEPHYR_IMAGE_BASE_NAME}.efi ${DEPLOYDIR}/${PN}.efi + fi + } addtask deploy after do_install From patchwork Mon Aug 18 22:02:57 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: 68746 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 C5BADCA0EE9 for ; Mon, 18 Aug 2025 22:03:22 +0000 (UTC) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.65]) by mx.groups.io with SMTP id smtpd.web11.2756.1755554593254773403 for ; Mon, 18 Aug 2025 15:03:13 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=mKS51p1V; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.243.65, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=aeHFRG4ErPLaYlL0cLqia/jctHBvxF8P+oqL/5oE9SFkQ8ohloR7g6iQwnSOxR0iN4Kah+vbhMI13DrWnzesUbLbs5IdkFzvhRtuosbo4StOil5V3hfKubCmKDpH7T2Uo0vHzpAfFxh9FBEScYffnEp+aCFViTljeptUb2Yuc6Nd6u1Uotwr31sCAaLsllR0rouND4LwrNSkUCkxgPJr++3PForkOKrwE+pvlldVDThO/zmjA7WJVSskkAHY/GH+tEvs08qTeloSGRM3mgTn5ONhmPIvz80JnvHmyEYM5zuy3nAqf6ATEQgDHMZtc97Tch4QZ9fmofb+ZYPwQO5/CA== 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=aPuSrd12Q9zZUVvPTWki5ut20WTg/kiW5Yb43P6EYWhVJ4etRhY++72Wv94VZg/08pVXIBq+kVo6svaJFmvdTrC2kB0baFpYfezLOCXbNebajMP8JEmHYq3pSXGrXDmeUVrlLEgUiR8SEkrEfcrKd9xq+p28+Jjeg5uPFKaAmbemkIlHd0z6Dr3+UrOdsvE3SpFLYcsJty/itG6mCrbiSSjkHOiuuMMC3ii/iWOhfDrhF8PBonBZ0AbbJ89xCwRC7EtfDBtUbF5KVR/Gy+KuNjig6IOBJSm1cSl1Cj6//92RToBT5K59vTtYhtnJArymZU+dmHZnxxcEmRt1sUc8mg== 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=mKS51p1VV8cAAuKkLyHZHt1WI46OmzpdFMHVrtCrzTVueRbBV3yGiSkF6Crp/50sY364uV5StOBmOTTjs+rwLyPvFmg21GB5as8c1nQP9kkXH0SiDPZAkYoMzX0DC7y6Ab2UgeXbJfQJyhZV24oLSHOd4wVU5Zmjh9lr32wkZo4= Received: from BL1PR13CA0352.namprd13.prod.outlook.com (2603:10b6:208:2c6::27) by MN0PR12MB6319.namprd12.prod.outlook.com (2603:10b6:208:3c0::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.21; Mon, 18 Aug 2025 22:03:09 +0000 Received: from BN2PEPF00004FBA.namprd04.prod.outlook.com (2603:10b6:208:2c6:cafe::74) by BL1PR13CA0352.outlook.office365.com (2603:10b6:208:2c6::27) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9052.12 via Frontend Transport; Mon, 18 Aug 2025 22:03:09 +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 BN2PEPF00004FBA.mail.protection.outlook.com (10.167.243.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9052.8 via Frontend Transport; Mon, 18 Aug 2025 22:03:09 +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, 18 Aug 2025 17:03:05 -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, 18 Aug 2025 17:03:05 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v6 4/11] classes: Move classes to match bbclass scope functionality Date: Mon, 18 Aug 2025 16:02:57 -0600 Message-ID: <20250818220304.2300436-5-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> References: <20250818220304.2300436-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: BN2PEPF00004FBA:EE_|MN0PR12MB6319:EE_ X-MS-Office365-Filtering-Correlation-Id: 4bb77ad9-1ffd-4810-43ed-08dddea3046b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|376014|36860700013|1800799024; X-Microsoft-Antispam-Message-Info: gb+zNI22MOHlMsnxQ+SR2KMAcla3+50odpoiWItVlVF9SDIL6j8FSzVN+ld8Za8+07yXoOFHWOgUf+pDLCc3hvXF73JJyuGs4W6g5xRoGDW05FYBnbrDwxVpvvaufpf8wNuQzISKREGb+eQuRcoOWRU6ErjdrMtly+0nVfRjFFw/CKAjHkdRRhlJ47DVziZpcJVA61PXArlX7Qa9Div75Yuks3Ts6w6HRndqOpfC3vp63klPdcF5Gty2LkhiT+/cVq1sc/Clr4zgPOs3r10secOWiAAN1KWrCES1KCtzN+Hpjbs1z4snpD5lg0BTFpkBsjlW4+fbwhhm9+pr5pgRl36Ds0rJYHWwe6KsbEgDaiw2Qevfp198XqAn0TakFW1AxlsIh/FLdhGLeVrYYuK71jQL0iQ3HMjyJYLkADfdKKlfi3yfluHKj5cSmHbje+uZk0SJY8T0EcFjImlSdWHkvlyoslEwIoWx71Px1ZImCuXNEoIpZ80z2YvoVvnJi4FwHz116rpPa7u+nYxna1x1jx50vifK/ZWWeoT8/nc8/qXYZFXOCquvc8Syky2MJKLGjpfabdQRJup8ZlTNv5aotz37clyNZIpXT4dt4hWgdAVjsmMPV4HE3qu8vctcNslfn1o0Mm2MTA7YfIerW8+Fl5WVXP4SyX4mKHhMpzLXiJli58nTgv5tX2X0PU+Wz1KY+EENeT8cgDWJc1Cf5KrimXptwEoTXEnKxL1aE1i3g6lfvrRT79rbhON1jItzScE0og7Dy4as5oNlcOQH9CsMuhEVzpoWDOH4SGxJVpEaoThui6vDdTg1Y1gaaEtcBd1yUCYufWeL1a/Lyw4ENAK4qSQBGIuC7y8O8561bQh3fg88eWvgh/9K71qBg2whftj4d0494Vmm5jF2XPabPSTgcGYdQxencd+3OsHrXbH6v2i6PiRCsQDNkOO2InBk4oYSjiL5R4S6mMXqsXPzrnOUnyPHFbyR4AU9NeyS2wbtCRxZoMPBSsJmd1m+u2TCzVrDGMm9/cOKKe2GMHb/7o4ZglwC2fx+wN0DdnBIP8jd1TZU9113eNzPad1aReN3rimrYUUy+V2LYqeIbWjIJpCmpHXIRGRF3sQdCx2/BoijfAWwWw0qvz7EXEyrT76pW1zyBPx5igoCFZW0vIa2AYnzD1cm0O4jdwnv+v3QD+ED8ouAdAUKeuQ4Dlb7pg2eNPZMyX8hSWz8H7FoOJYbZvaZDrZp1DcHbuXtysU22NH7Xaoxobhzbek9jM7WtTq4/0PdRqJMl3oi/uNjHwmNfCby1CCF5nHVFXNRTnWYlk3fBE7Z4fc9PuHInXUmMDM9nXEGEZ37GTY386Md7prCJAETnEpj/d6WErgEhBJnA2Q5GpV7cGLLKJBKHn9FQWne+zRtbf3Nr/4a+D6RBh/NsCyeZh5X07Z4pmuO/3mQwIxvorcBewDDAjYwC1rQl9IsJJ4KRNA+4iIdcVVgQLzWkZX/GPrLf7KL3s95HDpKdvSG3fTUouXe58iYgTzFgEnYxpZi 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)(376014)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2025 22:03:09.1232 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4bb77ad9-1ffd-4810-43ed-08dddea3046b 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: BN2PEPF00004FBA.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB6319 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, 18 Aug 2025 22:03:22 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/2048 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 18 22:02:58 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: 68745 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 BDAF5CA0EF4 for ; Mon, 18 Aug 2025 22:03:12 +0000 (UTC) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.107.92.89]) by mx.groups.io with SMTP id smtpd.web10.2784.1755554590492194979 for ; Mon, 18 Aug 2025 15:03:10 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=nlPQhULl; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.92.89, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XJQNS6dtrguGFe7FoQY6g225rfB2+sLVkxVFf+jOQ5vo9XD9iY9S1+wxGwvTf/4mFI1nGvTbHksZSYQ5TDq1/CXxzwHbkdm+d0P4fctC/OJIeUU2vTnVKLahdwAcqcn3rBN0wRMxBGhOYM8KPg6FqFjqXBA0FrkeiYnvm0Jl0It87JcUEbqeRgn+NMFpTInrrXMtkoZDYnDFLaPO5HiDUpEszWqrNC2uiZpH3xmyc5MNaak/gsiK2dV/mwQvbUmsdsFvKIO0PEPR8W77U3L43+TS9WjhJ9f2r5D4FAn8tQIjnIntWXtmzaczoBVI5x7G+B+xnRcm0giy/F4zmdpgqw== 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=ab7jmNsJ8XAeqniHvR3Zi3SZ0HAEmk2wSmp7SbFbygJtTLLEjd/c6Y03ANu/ncNd9ms9J5zgo9Wz9CmSzeRfdBZN8HUFatdc7kyE9VyepG1ztJBveIJXWLTFK1H6YIdzTPliAZXkLjYlPIvIFvAUzwLx79x2pn//vt4Wp1vn52HGo5VXkl5MCvOMPtJPlTalN50crQJB7ryy+8/t3wwZBXwibf0vEhbvIIs8dkFQ/2077T6pf16gmId41Exd2e0Mw+312GxFHLAR4kvehwY8iJEwfI3BQP0AFpGEnLOTms6XBpGObySMNUpYrKNkj+wWBLnXCN7dXFxrMPp/4M13qg== 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=nlPQhULlmYZX2uhmC1u5IsjS9uC5y15BtoYy/HAWWw4EKlmwOaQYItpfYQPbTgSZun1DzhLOPDEAprEp8+zu8XUFT85ko3Kw8vAiwxJwE/3uGoyrb96WVpdwjAMee0FSKAwiFXOS5hO03sNqCERzEIO4Xy5Xnmhmj/pg9yXGZfk= Received: from SJ0PR03CA0194.namprd03.prod.outlook.com (2603:10b6:a03:2ef::19) by SJ5PPFD525C5379.namprd12.prod.outlook.com (2603:10b6:a0f:fc02::9a3) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9031.13; Mon, 18 Aug 2025 22:03:06 +0000 Received: from CO1PEPF000044FD.namprd21.prod.outlook.com (2603:10b6:a03:2ef:cafe::cd) by SJ0PR03CA0194.outlook.office365.com (2603:10b6:a03:2ef::19) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.20 via Frontend Transport; Mon, 18 Aug 2025 22:03:06 +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 CO1PEPF000044FD.mail.protection.outlook.com (10.167.241.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9073.0 via Frontend Transport; Mon, 18 Aug 2025 22:03:06 +0000 Received: from satlexmb10.amd.com (10.181.42.219) 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, 18 Aug 2025 17:03:06 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by satlexmb10.amd.com (10.181.42.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.1748.10; Mon, 18 Aug 2025 15:03:06 -0700 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, 18 Aug 2025 17:03:05 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v6 5/11] zephyr-qemuboot: Use image artifact file in qemuimage Date: Mon, 18 Aug 2025 16:02:58 -0600 Message-ID: <20250818220304.2300436-6-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> References: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000044FD:EE_|SJ5PPFD525C5379:EE_ X-MS-Office365-Filtering-Correlation-Id: 75c7f267-93a3-4a90-a607-08dddea302f3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|82310400026|36860700013; X-Microsoft-Antispam-Message-Info: WcwowXxgKbOk7HkeWQjgrtNUGOCUBj/WLljT9YRF98nQzCbMUMPqfBjzyuNipgoi1YK/YxE7gYCm6EIb2odyYiJeDKubRKxualAL1P3kihG8YXRiSwBDrdrYPg3U+N4WcWGgg1FLNbDe11xUsOInnVo9QozlOjGppp0ju70I4krXGSHFNGh9NL3FUhiMJbpXkHc7qv8PNg0yLSiCwP9bsQVMv6P5OvRdbhWn89DjjFtiO+51lSk4/T+gaOH63uHD9NRwYBtCKJ5bSLelDrDXbHchRsCw7P1QhWavPr5s8ONkwAtpyak911OSCV5wGy+kDaY0II5wkJMN2egEwL+gdmCnhh0vYN3rCLL2IxBBZxeK1hWVl+VjgYVeGE8X/6YfQdkq82yu4qd1qWBmkUvxhmoQplRfgUXHW4kqn1BpWbtxqmN2rjMN1DaC2VzVY0ymC6ga4oqxwU9/sGWh7sFPZVtCW6yD5/9Gdd6pT+o7LC74s0MmVIizLjwhsmEwHvCWmYbYAOJiIM4VzZS0JePCZbqnN8arnOGReRglx6UcEb98tnuU88uAhFDeKqc2eVWqthRVgGaoO69YCygSc/1MnbUJ4WcEUHk/52aQ2/YR6iXegbH5CX2zGRLVW1jwx8eiCL1S1aOa2bHlintg0kNfD/3vbYremdynKluqbsNiW/B+MBdeXWfjC8QnIkPMIQvqLWN9oAvItlOteCaRSdSaqCBnuQ+8G9bqTzQUXVAfjfQZXOHtfKOrhGjn//RZpnaHpGpBA5k2Uy+T7Nt+l5VkcTDXmVLalvpSbvt1aKkfyv1ce0k3mwWiO3FQAYASH2q2hjBM7xWQtu7tDkvT2aJxfM7EADQB/jfmeAL4MwzNJP22AtCmp2e6sWV6OoboHWo51qZTAKal1FrTNAs3u0F0VRPwIHqYGk+Gn6RhsSOZSH4IGCjUb8EbwhP8m2LJTir1E8dEApWW0U2+W6A54f/nZq6rTXuvEbXLtE1uJYw8ZIzExdI9XqLOUnvBZn2gkwuTiuPvL9Cm2rAIq3Y+x/z9HO+Q+rRD9t1Z3Us4RFT7oEhi6ImkMPDe9s1LP95GQoBwlVRbfq2nThP7Hg0JL76VgNhWGj2b2bqjqz04HL+hqQLAGoLo3JgPdwHgWZz6TLQJiTkJh0tiaaBrF16YW1QOgnemKA/me12WKtG6Gb6gY4+oqbi3HsUy3WRygJkfraqJaJm7Ft/tk72pcrGMjFzLely1Y3GGyuj+D8N4khKF6SfNZQ9sLKdDPC2xDL/WIPHJcyPU3agOc06QdxpgEkb7FsvYQAG/mQK0NP0g0k8qqKZcYgeNDft4gq1a+Mu7S2BwcV/9ZQgO5Mh4ByxkYX4r9NXV9o6XSkenZ6seMd4ctNg/sJpkvBpWfF/GBJ1pUUjLzvEovyyF+FMY8pybkqd6/H6jI8JHDpihY0gTfSY1FLIkifPBDbCz4W0AfADpS0EPOhSyRwI9gyk+2fgISYc4W6eV8xWwOsqLkEx0Pp3jnLferWkRHNrl5WdSVNzY0ITJ 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)(82310400026)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2025 22:03:06.5691 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 75c7f267-93a3-4a90-a607-08dddea302f3 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: CO1PEPF000044FD.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ5PPFD525C5379 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, 18 Aug 2025 22:03:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/2041 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 18 22:02:59 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: 68744 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 A0E8CCA0EF2 for ; Mon, 18 Aug 2025 22:03:12 +0000 (UTC) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (NAM10-MW2-obe.outbound.protection.outlook.com [40.107.94.77]) by mx.groups.io with SMTP id smtpd.web10.2785.1755554590727333940 for ; Mon, 18 Aug 2025 15:03:10 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=hhyDT7La; 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.77, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=y+XZfYMQMIRvkdv/5leSlRn7R5yfBixyGyw4j1mZifMvKAxPOkfe62kQX7CIiRkmSG4Pm4UMsEVDVOPn2q8H/diI9MX9ikTg9T8WgYv5jcwK4uB1g7/Dab/A6OuzlzQDEyEvs9Qhg7H+wiTo1Q3MZArHufEH5bPeIyE1I0YTQG11oqpLP3bA8jtvXHH+9SZkaYQ/i/Cn/f80LeZa/UhHU9Ef47yVetnSLSgXV8Gqj9mphTrtm7T+1ATBfXoWm2vK/epPJFRWKNaJNOL3qzUbHOXOPkEpkBgv9sg5xfemc4YxJ+dy8BGzzDrzhfG+VN6UWixOPu85xEtfB5MA2vJJ+g== 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=W23sLQjN9W7Urx97KqWRaf/yeIaE4yam/VU6gO1ACZ+/nF4Fk6qZyLfbrsf5EEpADXAtx6vIL3yBsS1WHVyWszV6rY0ATLQ9LIzR/NKStTXl63amG/0xqwPpoNY7kfc/j36cfEmtVkS5yGYsCvmeVwfbFDUUdK/LoVx0lCU2RCK5mXat9Yuh4bp0FboKNeuS8S7qdogJnFA1H7+2YY7Bue4kiDH97XgEHuuKjFVrs/520VEmaZcfHqVEyusQ0TFrXx+LXTtQnthPzBRrA3X09fDPHsxlsAALRshUdmK9EiGndI45722Xdf+6aTtDJiU7zwaFFiLvnXfb5wAAcVmHig== 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=hhyDT7La7XENMNZsKAQFWHCKSUermFNvMryPSYy84YlrZ7JihrHlELte8SEVIdQy6XCAQhDci/DUkfkCaHBE+/SxahWyKGKb1Fav004FWyJ4/MqHasCqRIlL0kazvsMWEVinYpEibScHxZqWtrQHNc4RKdSrd9ASx8Ct5odz1kE= Received: from BY5PR17CA0058.namprd17.prod.outlook.com (2603:10b6:a03:167::35) by DM6PR12MB4058.namprd12.prod.outlook.com (2603:10b6:5:21d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9031.24; Mon, 18 Aug 2025 22:03:07 +0000 Received: from CO1PEPF000044FA.namprd21.prod.outlook.com (2603:10b6:a03:167:cafe::6c) by BY5PR17CA0058.outlook.office365.com (2603:10b6:a03:167::35) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.20 via Frontend Transport; Mon, 18 Aug 2025 22:03:07 +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 CO1PEPF000044FA.mail.protection.outlook.com (10.167.241.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9073.0 via Frontend Transport; Mon, 18 Aug 2025 22:03:06 +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, 18 Aug 2025 17:03:06 -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, 18 Aug 2025 17:03:06 -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, 18 Aug 2025 17:03:06 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v6 6/11] zephyr-kernel: Add Zephyr LTS3.7.0 support Date: Mon, 18 Aug 2025 16:02:59 -0600 Message-ID: <20250818220304.2300436-7-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> References: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000044FA:EE_|DM6PR12MB4058:EE_ X-MS-Office365-Filtering-Correlation-Id: b7b7472a-2276-4b75-40bb-08dddea3032e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|82310400026|36860700013; X-Microsoft-Antispam-Message-Info: ByTfHpAEBnn41XExqAuKEgWFTOk/iVoQ4GgZ9UiTPWFSCK9FEtUTSFRXPTMCGiX3uncoRlM8VGE7bYf9eEUDt3nAkLdMg7TONduhbZAEV835zkjbrsX13uhzEILtwUcF19Vr5WRS/UwKJzX2qApuesa6+anKyAue0iCV19vL4cv9ao6A8KM7hGnGX9wTVDyV+wCBJz0/O9puglqvGVjXdJkr43zakWe55L0eSlZL/nFvQZF4j6B5mDSv+jro6j6FP/aUxSpWbz5+0PFxTbZYJqtCtIE4wKoXIlFv6ILIRMxPSrE7mZrIYbpk09s/fHK5Q1Y6p9jgdTYuhB11ViAgAmnYsVIxau2IUNqazuPWnjU5XLE7stzqGUDgpN+GlHm4sBe7RL+6zFs8QErgcWG3vxEGGIkbcct2ulR2B4Y3QbhoBPl5YWoMJWuHgxVlfMpB2NmDmSj1icyvGzp/Dv0LiOhzrevzzr75wkY4ZpxICCaFq9mYxsmcvhgIVznhoHs5T16d0gYdoqACMLJ+uHPB2gvARJhCAOvbWULti6NMVoBGi5mVV2QFGPEugbRinqUYre4Lh/5zGEtMJFNiav6fpD++0sX+RLBspYWYj88bleofQn4lzjUqImOA9f07mJAj3/WZCoBBilCSMH/k5H0DK1Zr/xK+AwTWrRkYZmY8rSMSc9DvNbwgLKaomiYV27amcz6A8kduZ39QmFokXKMdbrBz08rt8WHLEOa5bO+ZOO1gQ5bovpmX8sMVjxOrCkQz6k5mMtp5R105KgyZq6bRrbdxJY887+2ePLXrif1ztu/W6dgs/SZnaKTLnKlyiOi4LYiptG8Qzlam1JcmdjTmYiVbGj9c2N/rjduHDU0/uGlUHVS3GjPWhUHJmO+2H8UyZwk2RcpTeLw+f/ktlAJBp0oEH3kH6EyyMJ2DWb0CzYU2GhV2F++6m1Sx7CimSnkmJrb67p0JsyEHPV/NzZTJ7vXKpy9d95J4m+/x7fbk1MSlLUjrQIiZVnp+CDZAYIU1GbDYk6Uen//IuwYGWk5MEQRqddUxPZQ3D70hBSPGOq0H4DcjAQlOiIysQKgIsJ9Cv79SSNFrsqmOVwdEv7scBL7I7Za/FlLjCGeG03S2/RZfyZSHpSMwoT7YPT0FlIx2ri+zDgx8v07SXEjt5CE1FAqgcjdmRxDRouq1okFz6wxvPgPdjhkz/KcJz33nOET3N1LxHWwiRhzxYBObNu71leOeXrb2drp8gMETqNGysu9cmBYSFVcgrFQwElWtmGHza2VHySaDOdfYnIiNUV5K8Vjrj9P6u5DdiZdE+W8H1KbfcZx3bKuM4SXmgcnskjo7BQW3srFX2rTb5GK6g9pBYsGntJj9LqjLCnufeLFDgPj/ewi+iU22/EHkz8jdjkqyeZcTW9rKcHXqPKBx0iOCUmfrEA76flzi1KJ8EyFYuvCy3mm9uAsh65AnmRUJRdRTNGgjBn3D2oH1FSCZpmg3WWMC8uSWGYJskndy5RbwZ22xvniSUcmac6getEtkaEEV 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)(82310400026)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2025 22:03:06.9542 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b7b7472a-2276-4b75-40bb-08dddea3032e 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: CO1PEPF000044FA.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4058 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, 18 Aug 2025 22:03:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/2042 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 18 22:03:00 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: 68747 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 C85CECA0EE4 for ; Mon, 18 Aug 2025 22:03:22 +0000 (UTC) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.45]) by mx.groups.io with SMTP id smtpd.web10.2789.1755554593508877785 for ; Mon, 18 Aug 2025 15:03:13 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=Q2Di8UCV; 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.45, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=clPK46tRVjieadL8Vv9jUZfpEu529/2jFxj6Hd8MmIJU8G24DXizjIpnNGpX4getDbynbnv24veogRizSG7/S60g9A+c26Zbe6Af5byzVP1VghgzFYj6iHIZdIOsPWHvxXzXkjHIl5cn4VhTNSmLevj5ccpRpc6Gll1KN/W6w8PYUqwju55ky37yxr5B5gSHXOKmq+9tgmXnksIugswIXC+Aiwb1OLxXJcz3na55k7CMKqL3VLBdFH5tDU6vFirH6YszPyiWAr02N+xNVMatZU7//204boF+CkxJb35dtPQIPPmLUN2oVkFtfUddXKGJxdyBYuCyUFrAwivUz2hzVw== 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=EmT3eEFcKvyYLfx5PIS+LJ9sGVRRdXhmRWapDxMuGe0S/1B3DUqbD2TzR+Da+AQIVmrd4WsSOwqZ5emcLHQBV1dwiS9vQa2m8nePSIXhdmVG6bF1x95h9jXPGKlomYDYyAftbLIO1WfrcRwe8rlsCZP4OtLNisZeJIashWDUeEYR5wabzW9/hEIu8cHYiswCA1Q0AbYZHENashG7J/+5ndgzOhY2J6FwMgQpnNM27lwWPBBVnZfo5AogGdCsO6iPudjt/fSiSRAsc9CNHq0lTTlzwFjOZC4ws/VC4BagzAEynrF2/Tj5103J0u/NPlhrr8wuISHe2zbaRv4RDMfw3A== 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=Q2Di8UCVVU9krIBrS/xxTBt3IbDOaPwdVYdrQVKyf9hlO+Z5C9d9gs/tzcHQVw66+hUvc7n4ge9kwBJFQSgg1ge51xwzR1B2vdkr3F2QzvIoOIGx+yDJkGExwimKHhbQGwR1DeoL2XvyLrz/8z3RExYFIlS+8ctBmPDQu+6wYTI= Received: from SJ0PR03CA0202.namprd03.prod.outlook.com (2603:10b6:a03:2ef::27) by DS7PR12MB9549.namprd12.prod.outlook.com (2603:10b6:8:24e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9031.24; Mon, 18 Aug 2025 22:03:07 +0000 Received: from CO1PEPF000044FD.namprd21.prod.outlook.com (2603:10b6:a03:2ef:cafe::4c) by SJ0PR03CA0202.outlook.office365.com (2603:10b6:a03:2ef::27) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.20 via Frontend Transport; Mon, 18 Aug 2025 22:03:07 +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 CO1PEPF000044FD.mail.protection.outlook.com (10.167.241.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9073.0 via Frontend Transport; Mon, 18 Aug 2025 22:03:07 +0000 Received: from satlexmb07.amd.com (10.181.42.216) 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, 18 Aug 2025 17:03:06 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.1748.10; Mon, 18 Aug 2025 15:03:06 -0700 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, 18 Aug 2025 17:03:06 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v6 7/11] meta-zephyr: Update README files Date: Mon, 18 Aug 2025 16:03:00 -0600 Message-ID: <20250818220304.2300436-8-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> References: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000044FD:EE_|DS7PR12MB9549:EE_ X-MS-Office365-Filtering-Correlation-Id: 011515a7-0de3-4a97-cd06-08dddea3035f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|36860700013|376014|13003099007; X-Microsoft-Antispam-Message-Info: OLSBQ/fWyG13Ldph4MuAIOuYzN7+8Bitxbt4AbUzx/uvv9XepAbRYXvhA923L8OuzbnALR9TKLVRrgweDemjqwwpK6AeKYhasPWWMtMKhOJyWqSYAEOlvXwUadJ7kOGEXijbWSzc/EyrT3LONyGp5ZAakaEro3oi3w8Q3ecIJpwDTNhiORI0b6r3KkZr/l9rASS8ihmbbQpLNxOFgIbQuvZvEsAJhfLQ356OrrZOs+TFdgDLSHb8NvcRX9Wi5sCWzuxuDOsYGsyLSHKjRa8eiAb6JNC8a/U7+xCWm9oi8rNNGVhyz5P6L66Ks6sXOEm3BrWS8BqgrzhkC4WFI1PHpfOwWwSwFmx6TPMiXUw73FYI93vRK8pxJVwIurLH34/J3s/3ljmIigAZybgz6PXq+HctzIcwvKtjlSDXJK2LMrs5JIlMV58lRpE2FWKD8toSRGnKpgH0AGwRqkUhPFZCaAkKz/RKnXoxs5Iy1yp9HrKHUKBCAqFI5D47JA1cdbsrAj5TksqhUWtjF1fFhXeuqN2ofMeP0Ubaxt01a9S/lb+eY+7HFMcQilSb/OBPjiH03saPLqKsSTt5CkpakU/l4jp+OmSo8nx4FNXBQ/DRSZjsB6GOiXy3Bh0mxgYn1qjW8xrZStar0hDzdU0oadNq4zYXwYlyI1c+qu/pizF1BBEmqzhWwru2wIS7zylYVnmAR2hegy2uGHL7QGTlSGiwsewC/b1iJzr5lQZnKFkAghapy2nBPsRzAtoyJHq5n5wHK3b68sryYU9j9nf0F2vyniV72eyb47va7DlHmE4CFPA9B7XPGM0AuFgyU1ujX6AwdO3JUVw0tfSI3z+Vet1Bp5XLus/E7J6pgs57omvsu0r5kXwfhF6F5vrtkQjZgBUM6Bb7RxwU3uP7mLX/MtMGex9MSnRsJfluDxkv3bNwxpdiAOm6z+0oeXvMorGlsNFR6hHsTbp6yJ39SmDvZEN1QiRpGp2I6VE+Fq2LGjLNLbzyjlG43lX+ja4ab/WVGLez05o5YsIrop8zyBgkYKPwgTNmmRLi08XlFwmgLkvrRBibfmxA/T0d3m2m2kpuuKmCe9f7QyOG2ieuDoRD3lUikGHs2FhZyQPXHEN82DqE0ytbWHIbViNoKZJ9bQjyayUxbrHkOGcls/ZhnzW/2GIyn5RxWqT/tmNDTNl9G8Zo5bXL1sg7cPwfPUDXaH9qWUytbhDqpeBAfEfOIBUf0NACiWezD4CdZ0c9BeBh7iB67B0q0L3/399vP2zDtUHVPcjkCIiVCDbK7vc7/x5PgZrasf/35kkvY0/GA10gWYgSmZaLF8auWG32aQEa2I61rwsD2Xoxm6Gsr67lWuNu7AeRJnHjFU9seOTer5MG0X4KPjWNLZi/WDbaBpNoNWP2/CdJO+Eqdvwd3mf8SxQDrh3DU1OrJJEOLVrJzIbjqd6ATX4pq6g4GOoAxDJxDZX/zq15RgLsoQEmnV3Nni5vuKQbGsBBaAzdd2FvCG3EDzRbb1s= 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)(13003099007);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2025 22:03:07.2780 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 011515a7-0de3-4a97-cd06-08dddea3035f 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: CO1PEPF000044FD.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB9549 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, 18 Aug 2025 22:03:22 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/2049 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 18 22:03:01 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: 68743 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 B0B14CA0EF5 for ; Mon, 18 Aug 2025 22:03:12 +0000 (UTC) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (NAM04-MW2-obe.outbound.protection.outlook.com [40.107.101.65]) by mx.groups.io with SMTP id smtpd.web10.2782.1755554589866345229 for ; Mon, 18 Aug 2025 15:03:10 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=Y9mmGL5z; 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.65, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ux4H6zYv/0wI/BKEcOYcKnKo3TyO/0YUlaN3xANqHYD2aFVyvGEKY/QV58I5QP6jmF4F8q0ipRdb7cqqome9vt/9Hg+leCXXgZQMiyUm73VqFFvNntGJ2x4NF4u1jslMpECM8nTA6XkAjlZkctdbmfPi6WL26t4AIBxdF5uVPnN4vTEnlnFwQqWNSWbPKwGpIXjbmR3e3r9IOtyaErL6+eMGwRuPT+Bc99GQbNN5sClimonL+YP0W93wC+RbAYkyc2eV5KgMGXaX+/aj3XDjBQqYMlFYJ23Sx2njkdW2z+K2YXuBQ9CWOJTtwaXjIfqH6heBy7hIRBgivu4GHkDzDg== 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=2fhIaJcV54CDkocJcr+pLcrcuEtveazxwJjPmzq/zIk=; b=TbYjnPMQEadj5D66IpHVmGBiZHEnyQfgpAKVAwfWMch7A1k2j3ZvZPqcnm7fti7XHQ7KbocPJSivD3mXSIINYfTS5LrPoLFgafIDEl4o81WVkvmnNTscoKEwb5PhMRvEvzpiTYZh5aRcOiCBUF0m4TY0owUdxtexlohU4OleXMc+0EbD66xQWOsL+L7G3Vi3N3O6mzD1qNnWkzcHdivjqNm8xKEthZ3VYt1ih+/UvwdE7p6k+qtT4Esxunm9+GIey3CVKYe6c82S7y4ktWGqWEabidPx6BpogHxY87YwQvZmjY1tUhQ7GOT5BkxE+95FnYuEjVRtVqYQXBJaFoGdSQ== 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=2fhIaJcV54CDkocJcr+pLcrcuEtveazxwJjPmzq/zIk=; b=Y9mmGL5zS7Ym5eJixpQdZZaZO3LbkfLJwrUgErCILt+CqLtMQxdHZ9U9Qpo8cCLRIiVEdRcjgkz4ZJJXW0MyQBVf8m3NuV+TinJvIPawiTLr4VMEal2zT/wcyxKfuZ4sh/ZkvXS0x6Fn6m/9BIADWt+2FC1/wNhOFVD5OE4iibc= Received: from BY3PR05CA0037.namprd05.prod.outlook.com (2603:10b6:a03:39b::12) by SA1PR12MB9491.namprd12.prod.outlook.com (2603:10b6:806:458::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9031.24; Mon, 18 Aug 2025 22:03:07 +0000 Received: from CO1PEPF000044F8.namprd21.prod.outlook.com (2603:10b6:a03:39b:cafe::aa) by BY3PR05CA0037.outlook.office365.com (2603:10b6:a03:39b::12) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9052.12 via Frontend Transport; Mon, 18 Aug 2025 22:03:07 +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 CO1PEPF000044F8.mail.protection.outlook.com (10.167.241.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9073.0 via Frontend Transport; Mon, 18 Aug 2025 22:03:07 +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, 18 Aug 2025 17:03:07 -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, 18 Aug 2025 17:03:06 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v6 8/11] zephyr-kernel: Use relative path Date: Mon, 18 Aug 2025 16:03:01 -0600 Message-ID: <20250818220304.2300436-9-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> References: <20250818220304.2300436-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: CO1PEPF000044F8:EE_|SA1PR12MB9491:EE_ X-MS-Office365-Filtering-Correlation-Id: a48e7335-fdf7-476f-9849-08dddea30389 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: UCg/8pU/uc32IFo3t/NyWTPERaViJL2Q0HiB36SveYuk/bJ2bWsneTXeH5S44rXNm8UBiIZwubfoW38Dx4/1miz4nz5tvpatcD0tT+kHRCB8vd9aZuLQF+ljJFrjwQPoiElA+EmXNX9dwmZVG4natGrGbfy7jQPo7+wdBonyP/CO9huQyZaQVlLTmLgO+HKWm0qw4M3xOVvt3/pmvtuK8XJTScAEgj30gBTUZ4rkI9wx5Qq2jNQhFxwYK+3AE2Tx6+1Cf3SsGoqDSJZCG8mZ6ezDYkA64iQ6Z0s6yFoP9Yo5y/5d6lR61sJvHBQLs1g+WSYCxeqF4phHdywG71YMZ1B7VMAQsEB42sKnsrtYVvLWe7vPJSI0gUi/+jVOoiPevLKmRkhE8TF4/sLJD5zmYzJ1uGC0MH7UP5+LKbTB7SP80u4sSF6VGBW5Y/1l9upzKJHL0BkEnOiYB+YU8+vs1OX3FNH4iL5I9zvKajWB2VWmLOkLNjaWtZK0SXi+/28eLVXJ95OqbZt5vKfkDTF5cmSol0axhu6N7mjza3lUh1sBwNVg7f9SGnjVhxj37yYCchqAKdBbWzdTpDCNpz7iI4pN/drBgK16sxT6rYCWMF0wyzUMIIROJzpi+es4uT4idk6cTiO+hskWaq/UmtqVe8Oe+0fpignikJDifZqdZ27j3A46YJ4izLu2Jeeg2f8zhmOO6zvXgBbcLJU4c/+VrPYyIFjdDjuMnByxUzkVI0ewuCQklKDxqJudrAgCh7InkHwyGW/FN2bu802S21eEBlVtCjm2NIo9UcOTg4q8L8mOEz6os3Ka4bRaojdTqb+NFoRAu7aZE0I2mGmqkEHBfYLopaTbbuI1WrJFbo2uKQuBs20DqXmdnrvMFHSRVuL+6+6+3SYZDJnzvCaZA1xgorkmRf8U+AS5cmRuVa8mSR8LTZg1Pa1K3C6D8fC6uiVb75nWXh38yprEdlXfVonVStZ/t8Lt9WSEI9v8oMuro26ATj747xogR08W1bFKBy5RrA82md5/8q8yTjFZQkx9U3lmjzKDybkqGtOiePUDZRiXaKV14Cmuglqy02ug/GMae3B1/wBqh4x1l0UD7UHjZes2wS62udJlsNZXDIvDoxsHFxBZUq/VyJgrpXkNUjIf1+dq+AQfJ/g/JRDMJ/vh9Hl7xNsLMHGGf2crIRNZdX5lJElX9aI2FneFAcyRbJcpOqXKv7vwUCUYovPC8WlU6K0lfyZ2fVHpDoK1zlWEotM2Q4ENoUie1wqlDcvPVbBNaH/4hfPUFI6SAGGvPr9g9+8Ei7f+2j/ZhAiEawzMSwuy2SkVUWGt+hoLISWZEua08d7EfyK6hp7gJOOKJw+EcL0vBy15BMpX3Mahmd5dHA/h0066xQWQ/ZLr6LJ0HXeANw9pVtyWjYyMCTYexbueYFQ3o8B4nTuYW4RJE0JsPrtsLlrWS2lTLrBNPYtl5t/FNEEbzwSFzyT/qBtxmiMDLNGp6yWlAHuvjroU7TwOcKQ8czalE2Pk8ZKAr7gKWD1T 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: 18 Aug 2025 22:03:07.5533 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a48e7335-fdf7-476f-9849-08dddea30389 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: CO1PEPF000044F8.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB9491 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, 18 Aug 2025 22:03:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/2039 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 15891c6..f6d0a91 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 18 22:03:02 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: 68742 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 A0DF8CA0EE4 for ; Mon, 18 Aug 2025 22:03:12 +0000 (UTC) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (NAM12-BN8-obe.outbound.protection.outlook.com [40.107.237.73]) by mx.groups.io with SMTP id smtpd.web10.2788.1755554591684176520 for ; Mon, 18 Aug 2025 15:03:11 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=GwP3y2bz; 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.73, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZL0AJjetLZDIkwO7nlr9TrkzQ5HgpqpEhtBxGlPUEza3RgdIYHF1NDDcTRvJhYLzhQ66aJ9FJGhgPy/uOgLu3EpD7sZ74q6cllVRn2Gg1Qx6zzTaiVxcqhammo2I3sm7Y6C70R4XaJxT3FsGEFS2f2UFV29hp5IDNDPgOTjkbuRzEhyGx7lTHEdBnbT3bw2PBRCucVvtuCK5LmasboZ3npkJKUkltYROM3/gVwqr+24YpzODhtjrXR/hW/TWmSVnhmJZDoMRR/OGbxEbJHJ1aMixnzq+0SE3uUhu50pN43lC6s5pY+Dq/1oagB9yuBnxqHfEH0BItQFX9OdXRz5ZTQ== 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=lIRLM+fkcceADd7rE2Hy/LISZVteDWQwQE1tFw2imzGjKGBWa9f2CGxFBDGm0rI1kkYIhouG34g55+ZeRh5ZPNnC1cdp+kSptJZEPFTZWdlToyyj7dRqb7/1RWNVqstGJQ2Njy+zxe7qlsNmTVYx6AbVFsBOctMkyCMarJx8ZLLd7S+zzsHcK3fd5kySDgC8ZPN+ZsfkbB+mFcAk2WLhJuU7qyX+KqbWnPG+52pbO4iFpc+cJcTrmWYdhmeMoEvfIEV9kaiU+3LCsNSR0tTk0nvMuB6yptqezOU77fziRZYMuu/nyJ9/UuCMJsapFgJiSw9Z6Cr88BtdwB3CoA4P8Q== 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=GwP3y2bz1BYjXA6QW+WPfbQ5aoiLvK6Agq5+cFEOYTHyFNSUTQOQaI5pWvCMJ+aozxM1cZY6KdT+MmOYvIKdritLj5NlONzc1Dbfyn0//IVetrtV/H2CeiubstD2qco8RIxKuL2sOTwL2E1ZCnzscJUBY6FneFO6QvuypfpK+iI= Received: from BL1PR13CA0350.namprd13.prod.outlook.com (2603:10b6:208:2c6::25) by DS7PR12MB5766.namprd12.prod.outlook.com (2603:10b6:8:75::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9031.15; Mon, 18 Aug 2025 22:03:09 +0000 Received: from BN2PEPF00004FBA.namprd04.prod.outlook.com (2603:10b6:208:2c6:cafe::47) by BL1PR13CA0350.outlook.office365.com (2603:10b6:208:2c6::25) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9052.12 via Frontend Transport; Mon, 18 Aug 2025 22:03:09 +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 BN2PEPF00004FBA.mail.protection.outlook.com (10.167.243.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9052.8 via Frontend Transport; Mon, 18 Aug 2025 22:03:09 +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, 18 Aug 2025 17:03:07 -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, 18 Aug 2025 17:03:07 -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, 18 Aug 2025 17:03:07 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v6 9/11] classes-recipe: Convert zephyr-sample inc file to bbclass Date: Mon, 18 Aug 2025 16:03:02 -0600 Message-ID: <20250818220304.2300436-10-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> References: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF00004FBA:EE_|DS7PR12MB5766:EE_ X-MS-Office365-Filtering-Correlation-Id: e824a0c9-0021-4247-e62f-08dddea30481 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|82310400026|376014; X-Microsoft-Antispam-Message-Info: f6izbR65AsbJxGS+zZqSHbJ8t16qgEHCIbPu2ssrnaSnaKFBW0Fxp7ttwtRjBaOtZfPkM53636DnRqQSvzP4Fl7c9jvkICgCcO4CZCOPyNdt+MpMcTerU+o/EsGWFfpX7i/pdWg/1J2PSzy61IPFMpsq28TZWSFZ9YQHSn2RwXSE0c3l4ER6PlwusFZZ2RImcVUH853pcyNCy4iumrrbfXOh7H3Na04n/R+mB/o/EsoIhgSjq9/T0N5fyySnMDz2ffp258wVbNm3t5FPSIgxgRIZWooX/t3V50gAQ/euj63aJ1OmMGnq1alBOeaLl1FzeVAfJvyTbVOMSwMnBY+JDi8Y4IC67iaa3TQJBiwOAYSe/nh3qHrPvG/Y9S5Emzi4kNyMo43e+vKBbvrfnm8/2PgfqPKovrFOjACX7/6u+BkK6yGtZ+3dOq6fjlGZs8XH/OPAhMCl+IZLGl8OqGaWeEJRwMtN9y2Wp8mN8o2uDooiU4ZIrPnq4dAadLqFTK0c0BT86pXiVy3I3lad/ADcs92bZCHfF9DqDS01hl+UR8ke6akx3qHyx/lOiLM+OCJz9vyexghwXY8TlUOMQjl90I1sJNCtru/6fWWyUsMXjKmPyTCcTxRF2+X9s3bqwk/5VNrbuQNjHBmC1rT85B1rCh9ZcZKDAxxQUb4CiWAs4/e9A9wxi1+yPc8SU9zdmO5/GsrKSE8sF+niNifn8EdXTeJuH7m9n07ody0bDUAn2OfpTu3GfMffnth+dxLrWKnIgq74tcCG34oB/Xsv9ySIJff/heCI9TXgjClIa//iYFfzdM/m0CTLKl/hexnGq6R+EuJ8kZ1P4D1xUYHm3f8vUEq4a4FYOztnRJHgmoPaBCPK7KkXz+AjC0VuRDG7VvZi4KgVQRyQr43KKC0FzTROU+F+x9nPmVtM4Dhm31sggyt8PhZyhs+l/AmXmbNpNOW+FdXpZis3CwDwSCkOXJhHTKYlW+j2SMAaaUoIQt1lQ57vUr+Y39lRWUqvTgv0U94sAmHd3SqvjxFeghy0ChZsfhDIex9d5bXqbWQ4YlJd/C03AOl09Uu86aMYzidt4qZzEunRPhJunoZK4SxHnPLQNElOyblmQJHI1iO4it0GlOyuloRqc6Kqf6+ZG5VXCl+Gcc3pmixSr4izovD+IRHQIV3C6lOmB0DbShEksoaNifWTZ4YAHUd5tWUL/JaUP96XF+pkGUgfQFXIkR6JaKJqZDmbzen9iXNmErtAzf2UyMrGCMGErAK4kYTQiUL0k2uxHsoIeGbS7oetZNIlbf5M8TvG/9ol8ErU+JrWNW/b4wl62OzFOU69x/tudTwd706765E3BwSX2vVRfK04sgh1W/G6gMDv+eAlpWZLgK8PH2cNZCQjsGRJPsRWXf9IgxyIn/GkV+K+0fEfKga3XB1tdULD1eNI/td5A8xLHLbCpL6jXnfGcB8Bj4RMIXRm4nM59To3/cHAGHUrOdUQYCdGqJWIIvbtQ3meeRyyY+tRVutWQnLvAKGNdZz0Y8FQgclW X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700013)(1800799024)(82310400026)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2025 22:03:09.2705 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e824a0c9-0021-4247-e62f-08dddea30481 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: BN2PEPF00004FBA.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5766 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, 18 Aug 2025 22:03:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/2046 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 18 22:03:03 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: 68748 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 C5B4FCA0ED1 for ; Mon, 18 Aug 2025 22:03:22 +0000 (UTC) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (NAM10-MW2-obe.outbound.protection.outlook.com [40.107.94.68]) by mx.groups.io with SMTP id smtpd.web11.2753.1755554592508744699 for ; Mon, 18 Aug 2025 15:03:12 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=TQhxrPHH; 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.68, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HiAopGgBo0LSRCUqbVTpw10g2qvomBzsAPrwk99c1pPerjrqdew5ch8QB+34sFcekXEoTH0zdCrnpoSKP4DWKLIWazOvhFiNezpb994FJskdO8WTCGUrcYJwCW0n7cw8xvxuTWbAg/CwaUUH4J+vf7UczgrZoF0CDhHmKifEZ71vXBr4l0P+fp84k7CsqMEMeq53JcW+0Yb2VrvkrVYV4mPY+0iI1nyHoO9uCGQ7eEHpiIsph8xC9XVXEh27p0oR9a61DrbLUV+dGj50abaXuIAaEnu74AUEsqFSgCxGSRsrWgQU7zScoapYpJfyr3/ViJn0ck3tuFB/gMTDm9P3HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=K0v1+7PrV5cYc4kqLLRPw9UGIAYS6zsfBaOL0CoePJg=; b=oTtb4ZqhL/rQDR+slDGXi1wuA/CNVo1qRCDT9I0cAWxb9jrCio6Wc7SEbT/B4lxIOsFT355Bxs8qMIJLoTI0/xMityfYfgHwSa2tTYehnE06b0OUq3C5ucZWklt7ARDTcQDrSBznVGZsLm4H+KdSHEah2JufTHsliJCVm4JUrCh3UJxvl6CJopLtCHEDqe/bkjU/IJQwZTOLoTzRRuTBBLXCrWwQQfmFZioepKlWJcQc/Ut2WqEOncOd7EAhK6yTnqdXdI/OxXO9Cx/q01Xv1nyT8wVD4ui7mqNf90nNQC4HIyrG744WwhwZXdkeYx+dtgi0A4eo/Yy3PI25ppgPag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K0v1+7PrV5cYc4kqLLRPw9UGIAYS6zsfBaOL0CoePJg=; b=TQhxrPHHK2Opu1dRuW3hx4jmDTi9biIHDt29//KJofUAw9MKIlYbTabkko+eNBkPoJmQJ49OgpZVK0Yo7w7yZ13YG8q6p/I49cmFcuOGxdF4v8ZjYQB33nFCklIeHQyqa41G1bEMBJHPcvorcn5rUUFqGAP0w1NSqIXix3juWhc= Received: from BL1PR13CA0356.namprd13.prod.outlook.com (2603:10b6:208:2c6::31) by MN6PR12MB8492.namprd12.prod.outlook.com (2603:10b6:208:472::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9031.18; Mon, 18 Aug 2025 22:03:09 +0000 Received: from BN2PEPF00004FBA.namprd04.prod.outlook.com (2603:10b6:208:2c6:cafe::61) by BL1PR13CA0356.outlook.office365.com (2603:10b6:208:2c6::31) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9052.12 via Frontend Transport; Mon, 18 Aug 2025 22:03:09 +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 BN2PEPF00004FBA.mail.protection.outlook.com (10.167.243.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9052.8 via Frontend Transport; Mon, 18 Aug 2025 22:03:09 +0000 Received: from Satlexmb09.amd.com (10.181.42.218) 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, 18 Aug 2025 17:03:08 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by satlexmb09.amd.com (10.181.42.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.1748.10; Mon, 18 Aug 2025 15:03:07 -0700 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, 18 Aug 2025 17:03:07 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v6 10/11] zephyr-kernel: Add rpmsg multi services recipe Date: Mon, 18 Aug 2025 16:03:03 -0600 Message-ID: <20250818220304.2300436-11-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> References: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF00004FBA:EE_|MN6PR12MB8492:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a63e8c2-8137-436f-8600-08dddea304a6 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: 9ZiybvZ5K1iorL+rWnq+7m9oobG/Omc7D7zvF/ICMLyVcgIM/XrEnCzw2tuREQxlg9px55oJ92oVNneeM8TpXxvx6S8E2xizpHaGE6uqn8KtNcuQn2wc9czhOQBT7MQNOqGDJhFsTQxGH/2QpfSEU75AdYc0truluIFU9Rxh354Q26e/80xXSadTl+kfPyLgd2i2rCnRRiRthYnhpcNP6BdAXgHwYYakubqSCLN/QVFQ85zW5ksYnP7tx81ut8M2BSUEdRwb9wQF72o+oWBL/44E7ArhEb/SeEV44rrDP+cXelWvWlHE4dCGdfwbv4RKIl/H/thIqlmdggcVXTrl+1AoLfZNkVREKAQilWjCstpBlUpJSTGA11IiIRtrmOO6Svd1CY8F3kw3c8nhesJudsHDoVhNseCHvapV1SDj/XfcGh3zRIMkMOpJJ4gEAdLCaxwJEXlHtjKFER3ZBsEfZ9eXmtqqjTnO/zt/6ce50AxNpTDydpkc6TrkM9kr5jEbSmKinx7wrBwzsLKi/4HHDDtD+wl2Qq4vas7ggx1SsQu3NqbSn2IbLDjqwMsU9MkSiYdxSxI6FnrYAWNi31TDOqY2ekxk+lDReXnOVP350WJk+CCVBNwxiKz/ilJRth8KGxeeIIkjACIyu5lcFT+CtYESvLmEsYJ/2R6w42oV2YRCnQwHjz5vSkhmrtJiXMk0c+njueRIWj1RXfuCT1rBbEqdvueoTCeXeghYCBLLwFZwyyMOqlCEds7mvvhYfsaWbuUntGFNzVc5KGnrks+r0WWiOJqe2r/LEH4uWTf/MdkbsMHEmHimlkvwPtjJRTDkdE5utXw9ZSqvAnuPCQ2/Yji03cPqaHFKBxsUHHptIJ4oZnlGxN/S9tydNfvfj9iggM+vuwLcGvrmaSveQ7Q8pYiy40wZf0VDXP25xMsHcmttQfjdx3O/4tOz7nZR1t5bD+ugZD5TTT6sk0AE4nFHr/cUIaGAVrjxM/6TBUZZZhcHgrZ2lHpCfYHaFQQLoB9WbJIw2+mpWe0GTrBa+Ys/azHyuEz+vOAO0tr3dR5rgZM+AEQwQ8G3J75Qsu0EISEHMedMmzmhvr1dUmHe2gj1dCJ18utZYpZDbgBjImOsmVQqXSKdb2hdrXdTaZIxc437wvrOCCKkC5DaWG25Wj7MLysy+U2DMTXIvTdKT4jAikuttGeLyl5UsouiLSLuIO6d6llNtjwJS7+BSlTKmC73z1BMW2y8u3+Gagu3ERVrsdC+TOdQ/p8Sll5ggCk2yyvHqpGCB/j9DH2t9R7DCVP9OaEeKcScyDOmHqzn/3Ov8ZhPZ6vfZjK6gVNYILa+w50eminLwrjzmoxOd38vLmiUHerHq3gzShcQOyeSfY9gSNbiS51Xmr+uXR/ukvpF+16NqCHiyE6sXNAIc5qKhTD3tX4MwV8mmRldp6hotgnDRgrrHT1BduS7ckbUsxax9zHEUYmeLMDou3G8PMHollVw0GQHYp60OX8GUNzAgKh42yz2dHw2k6MyBYnG/rB7eBdG 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: 18 Aug 2025 22:03:09.5111 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8a63e8c2-8137-436f-8600-08dddea304a6 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: BN2PEPF00004FBA.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN6PR12MB8492 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, 18 Aug 2025 22:03:22 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/2047 Add zephyr-openamp-rpmsg-mulit-services recipe to build out of tree openamp-system-reference example applications. Signed-off-by: Sandeep Gundlupet Raju --- .../zephyr-openamp-rpmsg-multi-srv.bb | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb new file mode 100644 index 0000000..222ed2b --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb @@ -0,0 +1,23 @@ +SUMMARY = "Open AMP rpmsg multi services" +DESCRIPTION = "Open AMP rpmsg multi services" + +inherit zephyr-sample + +SRC_URI_ZEPHYR_OPEN_AMP_SYS_REF ?= "git://github.com/OpenAMP/openamp-system-reference;protocol=https" + +BRANCH ?= "v2024.05" +BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" + +SRC_URI:append = " \ + ${SRC_URI_ZEPHYR_OPEN_AMP_SYS_REF};name=open-amp-sys-ref;${BRANCHARG};destsuffix=git/open-amp-sys-ref \ + " + +SRCREV_open-amp-sys-ref = "d78315763fbacba8a74552d0ad570bd01c42ccf9" + +ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/../open-amp-sys-ref/examples/zephyr/rpmsg_multi_services" + +ZEPHYR_MAKE_OUTPUT = "rpmsg_multi_services.elf" + +EXTRA_OECMAKE += " \ + -DCONF_FILE="prj.conf" \ + " From patchwork Mon Aug 18 22:03:04 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: 68738 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 96CB5CA0ED1 for ; Mon, 18 Aug 2025 22:03:12 +0000 (UTC) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (NAM11-BN8-obe.outbound.protection.outlook.com [40.107.236.68]) by mx.groups.io with SMTP id smtpd.web10.2787.1755554591336126682 for ; Mon, 18 Aug 2025 15:03:11 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@amd.com header.s=selector1 header.b=rIxb2wco; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.236.68, mailfrom: sandeep.gundlupet-raju@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TUoxoDLkEml3SQbinX/YI+s5dYYIAaExFHNYnLxwWO/nvj6xZGIQU/euT933TlhrypzPrWL0YzRaXtwFr0nrj8VA9WZnEhSBJ3ZbgDsXih57LInECoRZea96tZQc+4tQ7isT4WYXuvETLIEXNdxHdDzBM9iunTUpYjqC55dXAisgfQ0HWBtCFN9/4eGeFX/c4A8SFf1onckmw1oc3I6shYaVRc2r3IezlHHrFM5akrwEw48Xv6ZoTrMQXiIaBccOt81+I1x2npeq1TnkPk3OchvuuASi81maQq+aaWURH8EkaZu+1L5XMS3T0P2Ymkh0NjUj3cIANd7u1Z8seEnvnA== 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=uuOHvSbHwm3exyBbuQa+rSjOgLmZMEdnyVAcBnMktzG6ssO7wSxPPt0HJnoLZqlo7kIzEVGkMe9EZHguV5rS6Ap9Jgyxf+yi1VX9/GwZd4xhHyrr+AFtwF658zEvvXdAr0mRJA7FvDPyujoX/SkKOWzuBecApljV0/d3CkV1NiI/ayi9kFuhW4THp4QdHiXhpRr6aBBzRgghLeImQFPAzVSnN7s9FizRRZuomHVuI0F4s72vujF5KlkLnOUNoaBAMrj4Os8tgG8wg4b957o25qBaFnJwII/PRmYO6WXRUz6EP93W8I80gBF0F+qhWJdg4mVB4VXuTC5mY9QLqpFOzQ== 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=rIxb2wcouQBblz1WVeNKx4uk9iSfK1arxb+2fnE/gvTQHdD1wmoqMobHT1Utlx66+QBrmrjtxLZXafMUVXGyTnEpWfX9GYkneBExxudEnodHDZUo6TGrP+nszTlaMIKnWI/PINNc/1AXNZam7v8o0M+OfX+W/FiHWNRIlOn8ous= Received: from BY5PR17CA0053.namprd17.prod.outlook.com (2603:10b6:a03:167::30) by DS5PPF922753E5F.namprd12.prod.outlook.com (2603:10b6:f:fc00::65a) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9031.23; Mon, 18 Aug 2025 22:03:09 +0000 Received: from CO1PEPF000044FA.namprd21.prod.outlook.com (2603:10b6:a03:167:cafe::93) by BY5PR17CA0053.outlook.office365.com (2603:10b6:a03:167::30) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.20 via Frontend Transport; Mon, 18 Aug 2025 22:03:08 +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 CO1PEPF000044FA.mail.protection.outlook.com (10.167.241.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9073.0 via Frontend Transport; Mon, 18 Aug 2025 22:03:08 +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, 18 Aug 2025 17:03:08 -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, 18 Aug 2025 17:03:08 -0500 From: Sandeep Gundlupet Raju To: , Subject: [meta-zephyr][scarthgap][PATCH v6 11/11] zephyr-kernel-common: Add Board extension support Date: Mon, 18 Aug 2025 16:03:04 -0600 Message-ID: <20250818220304.2300436-12-sandeep.gundlupet-raju@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250818220304.2300436-1-sandeep.gundlupet-raju@amd.com> References: <20250818220304.2300436-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: CO1PEPF000044FA:EE_|DS5PPF922753E5F:EE_ X-MS-Office365-Filtering-Correlation-Id: 24d1aee5-6fae-48c6-a4a7-08dddea30420 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|82310400026|36860700013; X-Microsoft-Antispam-Message-Info: x3D7eq46yXhIZmIPreSF/YN1CKzoeJOJQ0WKK99+vQM/0DucibrumXVaSW+kGIM1X8Py2DILgSiSaryj2AIR8Fqcjku7HkimpMI/mS/6ek0Y2M1AmTB/gyf0DlOM8BIpABAdy3ahSfcZuIyUyciLLiv2Efx6HrAtIB2fgdpLvHkngVQI6oRevuNB6pRFnWxmn5bi/dTLR7ThX5M7+f/hg050iLVuCVf/QECGZxglCyo+RRip1M0apx0cajTLRTo2EpLNNUKsjdOoLXeDcnMAn9IgOH365M3DISCzy1pqtsEtxfKyFlxgMrmWR/iaEiu8nvdg1IHawHODbkWn7B4yt2odoM4qRQWYRtuSqH7vUIfasPmt6Apq+eAJuLuqXQ1792lc1mkLhYJzesCKvgBAyX48unt6qC+LuLi2tvO1N1M0dIc8WyK3dQfPPLrlITX0Rg577LUclCTlBZqd9PT2QLR+LBsdbQKvZSIqcfCIntDuRMbjxXhkSQrXXMSBfqMKPr6yUQ73ruj7oHTDEeeeZJh1KXt2Lw1/XcnZNVMFHqErdwFv56fqvy8kFVn75JF/4ndx/Ujwn88pwNgCYUKpHgJit9o25Gkqlx+O1rFLPa1orOeJR/YjlMk9sYiWU+8X4cIfIr4rTr7+FhnugHRY/2Pa1LS01Ie0IwOyB46uUqAl7ReJevBB92U0M0h7v0rXWe28Via0uG7sWQZ3n0VM/dVJAFle4mb8m8vtXQhbDepOqnalrmE7hQfZAGbcJt6W5C7MqOVVX5fUbPXvTMgArsUkbqvmxiJ08/EpS4z2qy+maeOsBhIJ24GbsbcMEuLadNriJ9IRCX59Lkw1miZ0cjTPuJU9osTzVC7ScQ8jACWNogKkq6EQTbIUxhiywLbUEbqWQAzWMKCfitkflwftOiK2FtmqRR4rGQfvaf7GsdCtRZRYbC7mSjNi5YjTMEUrzD5HkyhTiZwLT8UWMeN5PnglVUhrqqm7FSqiPyLad1NAm/n0sLkht02oAxUff2+JRyJ8OuCmAbSRhDJDcYhG7YrWMvNo+q0Lj13SwagZS4BiJYt7MMABsx1HYE6nRJSE8ggUfCuItbG4yBCM2bgWEMbC0sNiPS3YN8qzVkit/JEW6xKcCk2ZoS0fTDJtNBBum9zfbIACZ0zM2XBisJuwP2J1ctNTwcnKtgPRQjj/7hhqVM7skaMYtGyFHs+IdqeZJRbw0s2IoMcZfFvMHEhOIJYV0at45qTI1IBgN7xK7enEz/BZEzEJFhpHAa0WR5aoON+QGd/UeB7pL3JFprIRDWMZ2aRP23vlYq/bRGzPx4acpvi+bU0Vxxwo8X6S/ZLnwtVq1kQISjb+FEP8qkWeI1DT81JSGOwntq0usAtuikQCuLiT60K9AE3Pg6H9yBAVkKvSLxGRvgpHWxEBAnA8139yfQq/XP+P6NrFNl/nm/nOQOA2Jadbc6G5R7IdJW74/wnJEgaQEMGQHEIdmtaIZEAfV89NiLTHmQ4cs7rTHlV+vHMaLUVnbZPnz4mN3VxT 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)(82310400026)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2025 22:03:08.5408 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 24d1aee5-6fae-48c6-a4a7-08dddea30420 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: CO1PEPF000044FA.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS5PPF922753E5F 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, 18 Aug 2025 22:03:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/2045 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} \ "