From patchwork Tue Sep 15 19:27:37 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 98347 X-Patchwork-Delegate: reatmon@ti.com 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 0D428C88E77 for ; Tue, 15 Sep 2026 19:28:14 +0000 (UTC) Received: from mx0b-0002e601.pphosted.com (mx0b-0002e601.pphosted.com [148.163.154.28]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.4986.1789500492752437532 for ; Tue, 15 Sep 2026 12:28:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=proofpoint-05-2026 header.b=jgG0/Vpa; dkim=pass header.i=@ti.com header.s=selector1 header.b=vSGppQ42; spf=pass (domain: ti.com, ip: 148.163.154.28, mailfrom: reatmon@ti.com) Received: from pps.filterd (m0374955.ppops.net [127.0.0.1]) by mx0b-0002e601.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68FJN9bV1179387; Tue, 15 Sep 2026 14:28:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=proofpoint-05-2026; bh=FRCx7Xil7CL04 BTg0WOnSaCFbUPinApAij+n3aM6Ep4=; b=jgG0/VpaxeqK0hD7ioHcoGD74UD/p ma//ojU/XqORS7X77MGgKDqOhtYPlegRtk7Hrz9axdedFBKPKvMRtZ1RwcwEQXhf 6uzLGyWYUoTmBupxbxqVNW2utuxxRAO1gfjAPzEnPOuUY8MB0yT9uII3wWarJ/Dk JDOtZbWMZCVjk4qKOUA5W9ETIixsMEtmBhfmc2LH71Xeyel1eyaJS7/GHcw79ImZ nqOpp3emuG91NtA5YFs2tpwdCPecmKi6lIZ99PuIfJf1eWnajz8iJy8uMCuY41ge U/WVZZUf39LOxvR09xbH6gBrNpiMtjaZCmAVNg3hqeu0trx73UgRHsQiA== Received: from ch5pr02cu005.outbound.protection.outlook.com (mail-northcentralusazon11012036.outbound.protection.outlook.com [40.107.200.36]) by mx0b-0002e601.pphosted.com (PPS) with ESMTPS id 4gqc4p81my-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 15 Sep 2026 14:28:09 -0500 (CDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Z5+GXX4myEYhlD60he5cFiZGEFPmPjGxpBvrWmYZazTX/8Uvvpa1/GrKB7oBCZhJ0AyEzxOa7kTMHu1fSDA6MyhGKD0ZrRFJ3eXTTty73VTM9zehCYZmSwVkN8DCikidtjL7iYGEYQZvD7ZDsVPm28SaTfkBxPxuz1lJqJCw2Yc0C+lI3uV6EDYJrlka1Z2ZV/tGUBl2Y7MhyU9yeQqezYTuVFq16RDb4B4uAgwq+JvpfC07aBlj8HOhFgJnwzVTREUvhiyMr6US/Htk8owZK/IN/e0qEsZ9hMQJhRCyX66WT8pQqll2Js91fIZR1ioYcnFFHeaBui7fDkYWGFWO1g== 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=FRCx7Xil7CL04BTg0WOnSaCFbUPinApAij+n3aM6Ep4=; b=ICCXUxOYlxd0VtGFVaKfqoPm5L3jzx5QOkbqkg0rFTNVEzwBJUwoqrK8BBzmAP5efTbDsfkwhs5+n0JtkbujY4KRgkPzIkgkhRCpopRYhkfXbFvyDd4QU6/HiXhwAotuhhKXm+JkPl2L8VMxAH2UJnn8w6y14SzCuNCzzpMlvIkurm3BMLuWVG1rX3fgnVvNGZEt6JqDDHFtBBgjTu2mOdv6p8dinb/riGGNEI1sJ544eNusMCSNxspi832HTbhKw6k7ISuaiOIvWA0sluvPnHmYCbX9p3ZAq3os7ZmNPCCCZrlb+Ut+6urBIxMzwutk1eP+gZO70LJiwbGHKaXk4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 198.47.23.195) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=ti.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=ti.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FRCx7Xil7CL04BTg0WOnSaCFbUPinApAij+n3aM6Ep4=; b=vSGppQ42Rn6yaJimNiX95Avxkwi8rN9C6cZ78/g3f51K/BhDx8Mj4B9R8sGRqNA/Dgk4yMQHLjRC4R2QjZTYLsi4IhSlcoGm3YHGC29A/v9o3sOLXMphLb85UCO3JGHLlZUiTBZa6DletSQRdfzrT6dCEtnASfkxd8aNdFnG9Vo= Received: from SJ0PR03CA0072.namprd03.prod.outlook.com (2603:10b6:a03:331::17) by PH3PPF539203119.namprd10.prod.outlook.com (2603:10b6:518:1::79e) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.428.9; Tue, 15 Sep 2026 19:27:59 +0000 Received: from BY1PEPF00026957.namprd05.prod.outlook.com (2603:10b6:a03:331:cafe::89) by SJ0PR03CA0072.outlook.office365.com (2603:10b6:a03:331::17) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.428.9 via Frontend Transport; Tue, 15 Sep 2026 19:27:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 198.47.23.195) smtp.mailfrom=ti.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ti.com; Received-SPF: Pass (protection.outlook.com: domain of ti.com designates 198.47.23.195 as permitted sender) receiver=protection.outlook.com; client-ip=198.47.23.195; helo=lewvzet201.ext.ti.com; pr=C Received: from lewvzet201.ext.ti.com (198.47.23.195) by BY1PEPF00026957.mail.protection.outlook.com (10.167.244.167) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.428.7 via Frontend Transport; Tue, 15 Sep 2026 19:27:59 +0000 Received: from DLEE209.ent.ti.com (157.170.170.98) by lewvzet201.ext.ti.com (10.4.14.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Tue, 15 Sep 2026 14:27:39 -0500 Received: from DLEE211.ent.ti.com (157.170.170.113) by DLEE209.ent.ti.com (157.170.170.98) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Tue, 15 Sep 2026 14:27:39 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DLEE211.ent.ti.com (157.170.170.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45 via Frontend Transport; Tue, 15 Sep 2026 14:27:39 -0500 Received: from grumpy (grumpy.dhcp.ti.com [128.247.81.229]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 68FJRdFY575809; Tue, 15 Sep 2026 14:27:39 -0500 Received: from reatmon by grumpy with local (Exim 4.97) (envelope-from ) id 1x6Yod-00000009wLM-0X6Z; Tue, 15 Sep 2026 14:27:39 -0500 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-ti][master][PATCH 1/3] Revert "u-boot-ti-staging: Fixes for OpenSSL 4.0" Date: Tue, 15 Sep 2026 14:27:37 -0500 Message-ID: <20260915192739.2369213-1-reatmon@ti.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PEPF00026957:EE_|PH3PPF539203119:EE_ X-MS-Office365-Filtering-Correlation-Id: 655b49c8-7d50-44d7-deb4-08df135f7393 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700016|23010399003|376014|82310400026|1800799024|10067099003|56012099006|6133799003|3023799007|18002099003|13003099007; X-Microsoft-Antispam-Message-Info: g4PjwnxSzE0pVYXvvkb2G9aq8+9yIYggRxjKhUszNLKNvhOHoulJ2he14rqNv3fxt83sDcQOxywgKixUmz74+UXi+BrLkrZ1htydXfy3UXH8b0bpp+MUAlipTKrs2f+zRIU6+jmcPiNeTBT0pOZIwVOli68gmgFg4I7zlxIUd9TGCoBAG8G+QJ7pL5G+VsqI5WCMJ58gCZmEOckYm/5c1iXaizOAVSO5fy6cN1i+7HjgdKoslB/V4mwCyT9pmeTzTG+JLnNk0M0dsjMZABxqTNvE+5FIqmQXv3LriTm3X/XOOVI4EZx+husE1ZFrg8UCWTIJ0spIyf2ZD2qJ0qVbUzWqK7vKkyoUmgMT9/obrXiNlkwtDSuGO3ak9NRVnkInkqk8CZChuXleVw6psrEyr3I5z8BHvoj7MvyRQeA0zDToEfiPuGHY0b0U+b9QUtge/Qw23bWAqWVvpm5SS6yxTWAXwJy0KGhs9Q4OpkFS3zm8OcT2oL2SxzqpN7WNYf5cz+UQrnF5jcUjM19vk7ll+mv111X2tNynW1mQDhNWig9dr//FJUgr80HVK4ueC8FRQ/w1cPRZZYRlMvoDajGREmyWR9GZasM4MzRpFxi56KIoBr3BotPTaIITpkSn1KhzlskN3dCm9N6TyH0WoTIIgFvWjN+7Bs2ucKp2MdpcwoqeNlcTBY5obu8pv4xPfsb4na7Bxsva4Hz8ex+HX1bM9w== X-Forefront-Antispam-Report: CIP:198.47.23.195;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:lewvzet201.ext.ti.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700016)(23010399003)(376014)(82310400026)(1800799024)(10067099003)(56012099006)(6133799003)(3023799007)(18002099003)(13003099007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: GHwyBLWuUcUxPDuf/7MIqwtGSXqotWxQxsWFy+9nPgd2kkxMV4sYu+KXLCT5CU61efT5RmzlFuHGqe8odriv9v0D/4mdEblE/Csl6wM0m4Y2k5RBFSHodhFpL95fDXHXVe6AKcFJntE2EWKXl3frd57r9Ntt7zgqm7uybRQLQ5BsDelDaNiT2Szp+YM81l8dC82Daf3C6F8sA/0zdSWCb56zc8UrfUeMK94gMhsnTU1/XVxCwgHvUo6va+/PeL/xB1We2HYZRgUEYW4dXGrGGQro5BSoOiDjsYqEaVPzaqez02DcHro2MBoyiJF5tiBoKcK+FCeEg61ay9pb/899ZyXHeHcII0JFKSdd4eByfGVrrRJb/jVwwNv7GSTzRp4udIG6SzRFh6V0sDGbqVy2jxuZEGqGeL/Bkdb9k0WGb2T5OSNd2c6eWF3vAsc9H/vO X-Exchange-RoutingPolicyChecked: auRbXT6f6+4uV1BRgG6Xrcl7TdSoXV4qzAkPWm/valYWHIUunf3dp3MTb5DVSc70kz43dYADZ5HYFJLX3swjZxzj4zM3plfq1trDJ+P/imduMwkOyuBD2451MDF/hX7zuOK0BjIOgoCwm51zmhzDbvkjzVeGvIRaQwBam6h6AM9Yln6nMTiEeW6RzIZ+3gqb/9+8dyJ5u8WzwqhYEocIhPcZcwLQwA1cYuA/i674iOaBFEbW9tyyehcRrzgOfMo/kLEEYxgLvJMHMMOimJTBql2gHwuKghDu7mOXykty8qnAhGKM7xvb5RJADRMTxdNWjNOU+r7Kv1dUY9nEZFa3Yg== X-OriginatorOrg: ti.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2026 19:27:59.0425 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 655b49c8-7d50-44d7-deb4-08df135f7393 X-MS-Exchange-CrossTenant-Id: e5b49634-450b-4709-8abb-1e2b19b982b7 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e5b49634-450b-4709-8abb-1e2b19b982b7;Ip=[198.47.23.195];Helo=[lewvzet201.ext.ti.com] X-MS-Exchange-CrossTenant-AuthSource: BY1PEPF00026957.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH3PPF539203119 X-Authority-Analysis: v=2.4 cv=HP9WhYtv c=1 sm=1 tr=0 ts=6aa99c49 cx=c_pps a=CQGnQshk6KQL3sGkhxSvaQ==:117 a=f+v6EHfkeJbVwR46tk4DMg==:17 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=VdqzKS8jKosA:10 a=s63m1ICgrNkA:10 a=V5UXEbMT0ywA:10 a=VkNPw1HP01LnGYTKEx00:22 a=Z8NIEmU8O1QQgoT56wFK:22 a=fPAWb5peG099m5CrUpKH:22 a=VwQbUJbxAAAA:8 a=20KFwNOVAAAA:8 a=sozttTNsAAAA:8 a=ptNznvi-AAAA:8 a=eXIX07nra3o8fY77v5kA:9 a=__MQohX_fo54y4GeBRKl:22 X-Proofpoint-GUID: lwhV3xiKk3R99dM-fe4XUwL_doHy5RZE X-Proofpoint-ORIG-GUID: lwhV3xiKk3R99dM-fe4XUwL_doHy5RZE X-Proofpoint-Spam-Info: AW1haW4tMjYwOTE1MDI4NCBTYWx0ZWRfX8a792cPoAaC/ XSL6L5mbHxzwHsux2nPteHM2sfTPt2SyoSd4LRadjoYLSAH7+Nii7fJVDPm6awQoGjrgw0irdAK sZqGfM9FyKwFKc5XrV8KeFWepk9/TCo= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTE1MDI4NCBTYWx0ZWRfXzYsl8ZTFQzsu X1GzkuIHHd6QfMPJJ9OZ9IAYF+SI53//ROsm5wb4WId2D4OBpRL3pcrwJhKCBDeubecL7Yyu7DQ ducuBC+lduBVfvzmWE5JQ7R6xMmI6no1gU4KXK3OODQr8YoWMECbSm/pZRWYXqYeKHvPTaWY/ch aXcI+6VuJVcSUFjpXkL3NBFSS6SY7OUABxyjOsIljItD3GF/36miwvEARWhQJ7yrODc8xg1wbuM 6aJJnLMh8eJi9FEVduHnllAFknB4nrp5UePcmpAO470XOICtqMyYODxWQDT98yf8VptOYuy5aNR OUxZjBmG/4okpViJLMpItBCRh9ZYYKsZItXPD/1DfE8V2Ugue7tsa9zAYH6A1jtnqniIW3C9JKl GQD5wqb8/BHozsBTFeoZJSIEmvgnyGOWf0av//7prCqnVVl7s0zLid9pJBTKokkbPrboxicxe9F chpXJmiZjLWlMj5d7Cg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-15_05,2026-09-15_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 malwarescore=0 spamscore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 priorityscore=1501 adultscore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609150284 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 15 Sep 2026 19:28:14 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/20376 This reverts commit f06fbe6712395dff2df8fdc145c9c24db7101c50. --- ...ort-for-OpenSSL-Provider-API-2024-04.patch | 300 ---------------- ...ort-for-OpenSSL-Provider-API-2025-01.patch | 300 ---------------- ...ort-for-OpenSSL-Provider-API-2026-01.patch | 340 ------------------ .../u-boot/u-boot-ti-staging_2024.04.bb | 6 +- .../u-boot/u-boot-ti-staging_2025.01.bb | 1 - .../u-boot/u-boot-ti-staging_2026.01.bb | 2 - meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 1 - 7 files changed, 2 insertions(+), 948 deletions(-) delete mode 100644 meta-ti-bsp/recipes-bsp/u-boot/files/0001-Add-support-for-OpenSSL-Provider-API-2024-04.patch delete mode 100644 meta-ti-bsp/recipes-bsp/u-boot/files/0001-Add-support-for-OpenSSL-Provider-API-2025-01.patch delete mode 100644 meta-ti-bsp/recipes-bsp/u-boot/files/0001-Add-support-for-OpenSSL-Provider-API-2026-01.patch diff --git a/meta-ti-bsp/recipes-bsp/u-boot/files/0001-Add-support-for-OpenSSL-Provider-API-2024-04.patch b/meta-ti-bsp/recipes-bsp/u-boot/files/0001-Add-support-for-OpenSSL-Provider-API-2024-04.patch deleted file mode 100644 index 9f67644b..00000000 --- a/meta-ti-bsp/recipes-bsp/u-boot/files/0001-Add-support-for-OpenSSL-Provider-API-2024-04.patch +++ /dev/null @@ -1,300 +0,0 @@ -From 401c19f6b0a7c63afad92e9d3f2cbb75d6ed8566 Mon Sep 17 00:00:00 2001 -From: Ryan Eatmon -Date: Wed, 9 Sep 2026 10:04:50 -0500 -Subject: [PATCH] Add support for OpenSSL Provider API - -Backport from 2026.01 patch [1] by Ryan Eatmon - -Upsatream-Status: Inappropriate [OE-specific] - -The Engine API has been deprecated since the release of OpenSSL 3.0. End -users have been advised to migrate to the new Provider interface. -Several distributions have already removed support for engines, which is -preventing U-Boot from being compiled in those environments. - -Add support for the Provider API while continuing to support the existing -Engine API on distros shipping older releases of OpenSSL. - -This is based on similar work contributed by Jan Stancek updating Linux -to use the Provider interface. - - commit 558bdc45dfb2669e1741384a0c80be9c82fa052c - Author: Jan Stancek - Date: Fri Sep 20 19:52:48 2024 +0300 - - sign-file,extract-cert: use pkcs11 provider for OPENSSL MAJOR >= 3 - -The changes have been tested with the FIT signature verification vboot -tests on Fedora 42 and Debian 13. All 30 tests pass with both the legacy -Engine library installed and with the Provider API. - -Signed-off-by: Eddie Kovsky - -Upstream-Status: Submitted [https://lore.kernel.org/u-boot/20260429180247.83091-1-ekovsky@redhat.com/] - -Note: Modified to make pkcs11 provider loading optional. The upstream -patch unconditionally requires the pkcs11 provider, which is not -available in the OE build environment. File-based key signing only needs -the default provider; pkcs11 is only required for pkcs11: URI keys. -Changes from upstream: - - Load default provider first (was pkcs11 first) - - Make pkcs11 provider load failure non-fatal (ERR_clear_error instead - of ERR(1, ...) which calls errx/abort) - -Signed-off-by: Jaipaul Cheernam - -Signed-off-by: Ryan Eatmon ---- - lib/aes/aes-encrypt.c | 4 +- - lib/rsa/rsa-sign.c | 95 ++++++++++++++++++++++++++++++++++++++++++- - 2 files changed, 97 insertions(+), 2 deletions(-) - -diff --git a/lib/aes/aes-encrypt.c b/lib/aes/aes-encrypt.c -index e74e35eaa28..8a6f7715df9 100644 ---- a/lib/aes/aes-encrypt.c -+++ b/lib/aes/aes-encrypt.c -@@ -16,7 +16,9 @@ - #include - #include - #include --#include -+#if !defined(OPENSSL_NO_ENGINE) && !defined(OPENSSL_NO_DEPRECATED_3_0) -+# include -+#endif - #include - - #if OPENSSL_VERSION_NUMBER >= 0x10000000L -diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c -index 2304030e32f..29b3bd3dbb1 100644 ---- a/lib/rsa/rsa-sign.c -+++ b/lib/rsa/rsa-sign.c -@@ -19,7 +19,47 @@ - #include - #include - #include --#include -+#if OPENSSL_VERSION_MAJOR >= 3 -+# define USE_PKCS11_PROVIDER -+# include -+# include -+# include -+#else -+# if !defined(OPENSSL_NO_ENGINE) && !defined(OPENSSL_NO_DEPRECATED_3_0) -+# define USE_PKCS11_ENGINE -+# include -+# endif -+#endif -+ -+#ifdef USE_PKCS11_PROVIDER -+#define ERR(cond, fmt, ...) \ -+ do { \ -+ bool __cond = (cond); \ -+ drain_openssl_errors(__LINE__, 0); \ -+ if (__cond) { \ -+ errx(1, fmt, ## __VA_ARGS__); \ -+ } \ -+ } while (0) -+ -+static void drain_openssl_errors(int l, int silent) -+{ -+ const char *file; -+ char buf[120]; -+ int e, line; -+ -+ if (ERR_peek_error() == 0) -+ return; -+ if (!silent) -+ fprintf(stderr, "At main.c:%d:\n", l); -+ -+ while ((e = ERR_peek_error_line(&file, &line))) { -+ ERR_error_string(e, buf); -+ if (!silent) -+ fprintf(stderr, "- SSL %s: %s:%d\n", buf, file, line); -+ ERR_get_error(); -+ } -+} -+#endif - - static int rsa_err(const char *msg) - { -@@ -98,6 +138,7 @@ err_cert: - * @evpp Returns EVP_PKEY object, or NULL on failure - * Return: 0 if ok, -ve on error (in which case *evpp will be set to NULL) - */ -+#ifdef USE_PKCS11_ENGINE - static int rsa_engine_get_pub_key(const char *keydir, const char *name, - ENGINE *engine, EVP_PKEY **evpp) - { -@@ -157,6 +198,7 @@ static int rsa_engine_get_pub_key(const char *keydir, const char *name, - - return 0; - } -+#endif - - /** - * rsa_get_pub_key() - read a public key -@@ -170,8 +212,10 @@ static int rsa_engine_get_pub_key(const char *keydir, const char *name, - static int rsa_get_pub_key(const char *keydir, const char *name, - ENGINE *engine, EVP_PKEY **evpp) - { -+#ifdef USE_PKCS11_ENGINE - if (engine) - return rsa_engine_get_pub_key(keydir, name, engine, evpp); -+#endif - return rsa_pem_get_pub_key(keydir, name, evpp); - } - -@@ -207,6 +251,38 @@ static int rsa_pem_get_priv_key(const char *keydir, const char *name, - return -ENOENT; - } - -+#ifdef USE_PKCS11_PROVIDER -+ EVP_PKEY *private_key = NULL; -+ OSSL_STORE_CTX *store; -+ -+ if (!OSSL_PROVIDER_try_load(NULL, "default", true)) -+ ERR(1, "OSSL_PROVIDER_try_load(default)"); -+ /* pkcs11 provider is optional; only needed for pkcs11: URIs */ -+ if (!OSSL_PROVIDER_try_load(NULL, "pkcs11", true)) -+ ERR_clear_error(); -+ -+ store = OSSL_STORE_open(path, NULL, NULL, NULL, NULL); -+ ERR(!store, "OSSL_STORE_open"); -+ -+ while (!OSSL_STORE_eof(store)) { -+ OSSL_STORE_INFO *info = OSSL_STORE_load(store); -+ -+ if (!info) { -+ drain_openssl_errors(__LINE__, 0); -+ continue; -+ } -+ if (OSSL_STORE_INFO_get_type(info) == OSSL_STORE_INFO_PKEY) { -+ private_key = OSSL_STORE_INFO_get1_PKEY(info); -+ ERR(!private_key, "OSSL_STORE_INFO_get1_PKEY"); -+ } -+ OSSL_STORE_INFO_free(info); -+ if (private_key) -+ break; -+ } -+ OSSL_STORE_close(store); -+ -+ *evpp = private_key; -+#else - if (!PEM_read_PrivateKey(f, evpp, NULL, path)) { - rsa_err("Failure reading private key"); - fclose(f); -@@ -214,6 +290,7 @@ static int rsa_pem_get_priv_key(const char *keydir, const char *name, - } - fclose(f); - -+#endif - return 0; - } - -@@ -226,6 +303,7 @@ static int rsa_pem_get_priv_key(const char *keydir, const char *name, - * @evpp Returns EVP_PKEY object, or NULL on failure - * Return: 0 if ok, -ve on error (in which case *evpp will be set to NULL) - */ -+#ifdef USE_PKCS11_ENGINE - static int rsa_engine_get_priv_key(const char *keydir, const char *name, - const char *keyfile, - ENGINE *engine, EVP_PKEY **evpp) -@@ -293,6 +371,7 @@ static int rsa_engine_get_priv_key(const char *keydir, const char *name, - - return 0; - } -+#endif - - /** - * rsa_get_priv_key() - read a private key -@@ -306,9 +385,11 @@ static int rsa_engine_get_priv_key(const char *keydir, const char *name, - static int rsa_get_priv_key(const char *keydir, const char *name, - const char *keyfile, ENGINE *engine, EVP_PKEY **evpp) - { -+#ifdef USE_PKCS11_ENGINE - if (engine) - return rsa_engine_get_priv_key(keydir, name, keyfile, engine, - evpp); -+#endif - return rsa_pem_get_priv_key(keydir, name, keyfile, evpp); - } - -@@ -325,6 +406,7 @@ static int rsa_init(void) - return 0; - } - -+#ifdef USE_PKCS11_ENGINE - static int rsa_engine_init(const char *engine_id, ENGINE **pe) - { - const char *key_pass; -@@ -372,6 +454,7 @@ err_engine_init: - ENGINE_free(e); - return ret; - } -+#endif - - static void rsa_engine_remove(ENGINE *e) - { -@@ -471,11 +554,13 @@ int rsa_sign(struct image_sign_info *info, - if (ret) - return ret; - -+#ifdef USE_PKCS11_ENGINE - if (info->engine_id) { - ret = rsa_engine_init(info->engine_id, &e); - if (ret) - return ret; - } -+#endif - - ret = rsa_get_priv_key(info->keydir, info->keyname, info->keyfile, - e, &pkey); -@@ -487,16 +572,20 @@ int rsa_sign(struct image_sign_info *info, - goto err_sign; - - EVP_PKEY_free(pkey); -+#ifdef USE_PKCS11_ENGINE - if (info->engine_id) - rsa_engine_remove(e); -+#endif - - return ret; - - err_sign: - EVP_PKEY_free(pkey); - err_priv: -+#ifdef USE_PKCS11_ENGINE - if (info->engine_id) - rsa_engine_remove(e); -+#endif - return ret; - } - -@@ -636,11 +725,13 @@ int rsa_add_verify_data(struct image_sign_info *info, void *keydest) - ENGINE *e = NULL; - - debug("%s: Getting verification data\n", __func__); -+#ifdef USE_PKCS11_ENGINE - if (info->engine_id) { - ret = rsa_engine_init(info->engine_id, &e); - if (ret) - return ret; - } -+#endif - ret = rsa_get_pub_key(info->keydir, info->keyname, e, &pkey); - if (ret) - goto err_get_pub_key; -@@ -717,8 +808,10 @@ done: - err_get_params: - EVP_PKEY_free(pkey); - err_get_pub_key: -+#ifdef USE_PKCS11_ENGINE - if (info->engine_id) - rsa_engine_remove(e); -+#endif - - if (ret) - return ret; --- -2.43.0 - diff --git a/meta-ti-bsp/recipes-bsp/u-boot/files/0001-Add-support-for-OpenSSL-Provider-API-2025-01.patch b/meta-ti-bsp/recipes-bsp/u-boot/files/0001-Add-support-for-OpenSSL-Provider-API-2025-01.patch deleted file mode 100644 index c5f3655e..00000000 --- a/meta-ti-bsp/recipes-bsp/u-boot/files/0001-Add-support-for-OpenSSL-Provider-API-2025-01.patch +++ /dev/null @@ -1,300 +0,0 @@ -From 0525693750b1b7a8fb7228dbb97bf592a21322fc Mon Sep 17 00:00:00 2001 -From: Ryan Eatmon -Date: Wed, 9 Sep 2026 10:04:50 -0500 -Subject: [PATCH] Add support for OpenSSL Provider API - -Backport from 2026.01 patch [1] by Ryan Eatmon - -Upsatream-Status: Inappropriate [OE-specific] - -The Engine API has been deprecated since the release of OpenSSL 3.0. End -users have been advised to migrate to the new Provider interface. -Several distributions have already removed support for engines, which is -preventing U-Boot from being compiled in those environments. - -Add support for the Provider API while continuing to support the existing -Engine API on distros shipping older releases of OpenSSL. - -This is based on similar work contributed by Jan Stancek updating Linux -to use the Provider interface. - - commit 558bdc45dfb2669e1741384a0c80be9c82fa052c - Author: Jan Stancek - Date: Fri Sep 20 19:52:48 2024 +0300 - - sign-file,extract-cert: use pkcs11 provider for OPENSSL MAJOR >= 3 - -The changes have been tested with the FIT signature verification vboot -tests on Fedora 42 and Debian 13. All 30 tests pass with both the legacy -Engine library installed and with the Provider API. - -Signed-off-by: Eddie Kovsky - -Upstream-Status: Submitted [https://lore.kernel.org/u-boot/20260429180247.83091-1-ekovsky@redhat.com/] - -Note: Modified to make pkcs11 provider loading optional. The upstream -patch unconditionally requires the pkcs11 provider, which is not -available in the OE build environment. File-based key signing only needs -the default provider; pkcs11 is only required for pkcs11: URI keys. -Changes from upstream: - - Load default provider first (was pkcs11 first) - - Make pkcs11 provider load failure non-fatal (ERR_clear_error instead - of ERR(1, ...) which calls errx/abort) - -Signed-off-by: Jaipaul Cheernam - -Signed-off-by: Ryan Eatmon ---- - lib/aes/aes-encrypt.c | 4 +- - lib/rsa/rsa-sign.c | 95 ++++++++++++++++++++++++++++++++++++++++++- - 2 files changed, 97 insertions(+), 2 deletions(-) - -diff --git a/lib/aes/aes-encrypt.c b/lib/aes/aes-encrypt.c -index e74e35eaa28..8a6f7715df9 100644 ---- a/lib/aes/aes-encrypt.c -+++ b/lib/aes/aes-encrypt.c -@@ -16,7 +16,9 @@ - #include - #include - #include --#include -+#if !defined(OPENSSL_NO_ENGINE) && !defined(OPENSSL_NO_DEPRECATED_3_0) -+# include -+#endif - #include - - #if OPENSSL_VERSION_NUMBER >= 0x10000000L -diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c -index fa9e143b4ca..af5b18e0c95 100644 ---- a/lib/rsa/rsa-sign.c -+++ b/lib/rsa/rsa-sign.c -@@ -19,7 +19,47 @@ - #include - #include - #include --#include -+#if OPENSSL_VERSION_MAJOR >= 3 -+# define USE_PKCS11_PROVIDER -+# include -+# include -+# include -+#else -+# if !defined(OPENSSL_NO_ENGINE) && !defined(OPENSSL_NO_DEPRECATED_3_0) -+# define USE_PKCS11_ENGINE -+# include -+# endif -+#endif -+ -+#ifdef USE_PKCS11_PROVIDER -+#define ERR(cond, fmt, ...) \ -+ do { \ -+ bool __cond = (cond); \ -+ drain_openssl_errors(__LINE__, 0); \ -+ if (__cond) { \ -+ errx(1, fmt, ## __VA_ARGS__); \ -+ } \ -+ } while (0) -+ -+static void drain_openssl_errors(int l, int silent) -+{ -+ const char *file; -+ char buf[120]; -+ int e, line; -+ -+ if (ERR_peek_error() == 0) -+ return; -+ if (!silent) -+ fprintf(stderr, "At main.c:%d:\n", l); -+ -+ while ((e = ERR_peek_error_line(&file, &line))) { -+ ERR_error_string(e, buf); -+ if (!silent) -+ fprintf(stderr, "- SSL %s: %s:%d\n", buf, file, line); -+ ERR_get_error(); -+ } -+} -+#endif - - static int rsa_err(const char *msg) - { -@@ -98,6 +138,7 @@ err_cert: - * @evpp Returns EVP_PKEY object, or NULL on failure - * Return: 0 if ok, -ve on error (in which case *evpp will be set to NULL) - */ -+#ifdef USE_PKCS11_ENGINE - static int rsa_engine_get_pub_key(const char *keydir, const char *name, - ENGINE *engine, EVP_PKEY **evpp) - { -@@ -157,6 +198,7 @@ static int rsa_engine_get_pub_key(const char *keydir, const char *name, - - return 0; - } -+#endif - - /** - * rsa_get_pub_key() - read a public key -@@ -170,8 +212,10 @@ static int rsa_engine_get_pub_key(const char *keydir, const char *name, - static int rsa_get_pub_key(const char *keydir, const char *name, - ENGINE *engine, EVP_PKEY **evpp) - { -+#ifdef USE_PKCS11_ENGINE - if (engine) - return rsa_engine_get_pub_key(keydir, name, engine, evpp); -+#endif - return rsa_pem_get_pub_key(keydir, name, evpp); - } - -@@ -207,6 +251,38 @@ static int rsa_pem_get_priv_key(const char *keydir, const char *name, - return -ENOENT; - } - -+#ifdef USE_PKCS11_PROVIDER -+ EVP_PKEY *private_key = NULL; -+ OSSL_STORE_CTX *store; -+ -+ if (!OSSL_PROVIDER_try_load(NULL, "default", true)) -+ ERR(1, "OSSL_PROVIDER_try_load(default)"); -+ /* pkcs11 provider is optional; only needed for pkcs11: URIs */ -+ if (!OSSL_PROVIDER_try_load(NULL, "pkcs11", true)) -+ ERR_clear_error(); -+ -+ store = OSSL_STORE_open(path, NULL, NULL, NULL, NULL); -+ ERR(!store, "OSSL_STORE_open"); -+ -+ while (!OSSL_STORE_eof(store)) { -+ OSSL_STORE_INFO *info = OSSL_STORE_load(store); -+ -+ if (!info) { -+ drain_openssl_errors(__LINE__, 0); -+ continue; -+ } -+ if (OSSL_STORE_INFO_get_type(info) == OSSL_STORE_INFO_PKEY) { -+ private_key = OSSL_STORE_INFO_get1_PKEY(info); -+ ERR(!private_key, "OSSL_STORE_INFO_get1_PKEY"); -+ } -+ OSSL_STORE_INFO_free(info); -+ if (private_key) -+ break; -+ } -+ OSSL_STORE_close(store); -+ -+ *evpp = private_key; -+#else - if (!PEM_read_PrivateKey(f, evpp, NULL, path)) { - rsa_err("Failure reading private key"); - fclose(f); -@@ -214,6 +290,7 @@ static int rsa_pem_get_priv_key(const char *keydir, const char *name, - } - fclose(f); - -+#endif - return 0; - } - -@@ -226,6 +303,7 @@ static int rsa_pem_get_priv_key(const char *keydir, const char *name, - * @evpp Returns EVP_PKEY object, or NULL on failure - * Return: 0 if ok, -ve on error (in which case *evpp will be set to NULL) - */ -+#ifdef USE_PKCS11_ENGINE - static int rsa_engine_get_priv_key(const char *keydir, const char *name, - const char *keyfile, - ENGINE *engine, EVP_PKEY **evpp) -@@ -293,6 +371,7 @@ static int rsa_engine_get_priv_key(const char *keydir, const char *name, - - return 0; - } -+#endif - - /** - * rsa_get_priv_key() - read a private key -@@ -306,9 +385,11 @@ static int rsa_engine_get_priv_key(const char *keydir, const char *name, - static int rsa_get_priv_key(const char *keydir, const char *name, - const char *keyfile, ENGINE *engine, EVP_PKEY **evpp) - { -+#ifdef USE_PKCS11_ENGINE - if (engine) - return rsa_engine_get_priv_key(keydir, name, keyfile, engine, - evpp); -+#endif - return rsa_pem_get_priv_key(keydir, name, keyfile, evpp); - } - -@@ -325,6 +406,7 @@ static int rsa_init(void) - return 0; - } - -+#ifdef USE_PKCS11_ENGINE - static int rsa_engine_init(const char *engine_id, ENGINE **pe) - { - const char *key_pass; -@@ -372,6 +454,7 @@ err_engine_init: - ENGINE_free(e); - return ret; - } -+#endif - - static void rsa_engine_remove(ENGINE *e) - { -@@ -480,11 +563,13 @@ int rsa_sign(struct image_sign_info *info, - if (ret) - return ret; - -+#ifdef USE_PKCS11_ENGINE - if (info->engine_id) { - ret = rsa_engine_init(info->engine_id, &e); - if (ret) - return ret; - } -+#endif - - ret = rsa_get_priv_key(info->keydir, info->keyname, info->keyfile, - e, &pkey); -@@ -496,16 +581,20 @@ int rsa_sign(struct image_sign_info *info, - goto err_sign; - - EVP_PKEY_free(pkey); -+#ifdef USE_PKCS11_ENGINE - if (info->engine_id) - rsa_engine_remove(e); -+#endif - - return ret; - - err_sign: - EVP_PKEY_free(pkey); - err_priv: -+#ifdef USE_PKCS11_ENGINE - if (info->engine_id) - rsa_engine_remove(e); -+#endif - return ret; - } - -@@ -645,11 +734,13 @@ int rsa_add_verify_data(struct image_sign_info *info, void *keydest) - ENGINE *e = NULL; - - debug("%s: Getting verification data\n", __func__); -+#ifdef USE_PKCS11_ENGINE - if (info->engine_id) { - ret = rsa_engine_init(info->engine_id, &e); - if (ret) - return ret; - } -+#endif - ret = rsa_get_pub_key(info->keydir, info->keyname, e, &pkey); - if (ret) - goto err_get_pub_key; -@@ -726,8 +817,10 @@ done: - err_get_params: - EVP_PKEY_free(pkey); - err_get_pub_key: -+#ifdef USE_PKCS11_ENGINE - if (info->engine_id) - rsa_engine_remove(e); -+#endif - - if (ret) - return ret; --- -2.43.0 - diff --git a/meta-ti-bsp/recipes-bsp/u-boot/files/0001-Add-support-for-OpenSSL-Provider-API-2026-01.patch b/meta-ti-bsp/recipes-bsp/u-boot/files/0001-Add-support-for-OpenSSL-Provider-API-2026-01.patch deleted file mode 100644 index 346d0584..00000000 --- a/meta-ti-bsp/recipes-bsp/u-boot/files/0001-Add-support-for-OpenSSL-Provider-API-2026-01.patch +++ /dev/null @@ -1,340 +0,0 @@ -From a81cb0932dce109af44d7245d47489fe54ae390f Mon Sep 17 00:00:00 2001 -From: Eddie Kovsky -Date: Mon, 23 Feb 2026 09:43:22 -0700 -Subject: [PATCH] Add support for OpenSSL Provider API - -The Engine API has been deprecated since the release of OpenSSL 3.0. End -users have been advised to migrate to the new Provider interface. -Several distributions have already removed support for engines, which is -preventing U-Boot from being compiled in those environments. - -Add support for the Provider API while continuing to support the existing -Engine API on distros shipping older releases of OpenSSL. - -This is based on similar work contributed by Jan Stancek updating Linux -to use the Provider interface. - - commit 558bdc45dfb2669e1741384a0c80be9c82fa052c - Author: Jan Stancek - Date: Fri Sep 20 19:52:48 2024 +0300 - - sign-file,extract-cert: use pkcs11 provider for OPENSSL MAJOR >= 3 - -The changes have been tested with the FIT signature verification vboot -tests on Fedora 42 and Debian 13. All 30 tests pass with both the legacy -Engine library installed and with the Provider API. - -Signed-off-by: Eddie Kovsky - -Upstream-Status: Submitted [https://lore.kernel.org/u-boot/20260429180247.83091-1-ekovsky@redhat.com/] - -Note: Modified to make pkcs11 provider loading optional. The upstream -patch unconditionally requires the pkcs11 provider, which is not -available in the OE build environment. File-based key signing only needs -the default provider; pkcs11 is only required for pkcs11: URI keys. -Changes from upstream: - - Load default provider first (was pkcs11 first) - - Make pkcs11 provider load failure non-fatal (ERR_clear_error instead - of ERR(1, ...) which calls errx/abort) - -Signed-off-by: Jaipaul Cheernam ---- - doc/build/gcc.rst | 4 +- - lib/aes/aes-encrypt.c | 4 +- - lib/rsa/rsa-sign.c | 102 +++++++++++++++++++++++++++++++++++++++--- - tools/docker/Dockerfile | 1 + - 4 files changed, 103 insertions(+), 8 deletions(-) - -diff --git a/doc/build/gcc.rst b/doc/build/gcc.rst -index 1fef718ceecb..29a6a632e7e3 100644 ---- a/doc/build/gcc.rst -+++ b/doc/build/gcc.rst -@@ -25,8 +25,8 @@ Depending on the build targets further packages maybe needed - - sudo apt-get install bc bison build-essential coccinelle \ - device-tree-compiler dfu-util efitools flex gdisk graphviz imagemagick \ -- libgnutls28-dev libguestfs-tools libncurses-dev \ -- libpython3-dev libsdl2-dev libssl-dev lz4 lzma lzma-alone openssl \ -+ libgnutls28-dev libguestfs-tools libncurses-dev libpython3-dev \ -+ libsdl2-dev libssl-dev lz4 lzma lzma-alone openssl pkcs11-provider \ - pkg-config python3 python3-asteval python3-coverage python3-filelock \ - python3-pkg-resources python3-pycryptodome python3-pyelftools \ - python3-pytest python3-pytest-xdist python3-sphinxcontrib.apidoc \ -diff --git a/lib/aes/aes-encrypt.c b/lib/aes/aes-encrypt.c -index 90e1407b4f09..4fc4ce232478 100644 ---- a/lib/aes/aes-encrypt.c -+++ b/lib/aes/aes-encrypt.c -@@ -16,7 +16,9 @@ - #include - #include - #include --#include -+#if !defined(OPENSSL_NO_ENGINE) && !defined(OPENSSL_NO_DEPRECATED_3_0) -+# include -+#endif - #include - - #if OPENSSL_VERSION_NUMBER >= 0x10000000L -diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c -index 0e38c9e802fd..f456f3c58e65 100644 ---- a/lib/rsa/rsa-sign.c -+++ b/lib/rsa/rsa-sign.c -@@ -19,7 +19,47 @@ - #include - #include - #include --#include -+#if OPENSSL_VERSION_MAJOR >= 3 -+# define USE_PKCS11_PROVIDER -+# include -+# include -+# include -+#else -+# if !defined(OPENSSL_NO_ENGINE) && !defined(OPENSSL_NO_DEPRECATED_3_0) -+# define USE_PKCS11_ENGINE -+# include -+# endif -+#endif -+ -+#ifdef USE_PKCS11_PROVIDER -+#define ERR(cond, fmt, ...) \ -+ do { \ -+ bool __cond = (cond); \ -+ drain_openssl_errors(__LINE__, 0); \ -+ if (__cond) { \ -+ errx(1, fmt, ## __VA_ARGS__); \ -+ } \ -+ } while (0) -+ -+static void drain_openssl_errors(int l, int silent) -+{ -+ const char *file; -+ char buf[120]; -+ int e, line; -+ -+ if (ERR_peek_error() == 0) -+ return; -+ if (!silent) -+ fprintf(stderr, "At main.c:%d:\n", l); -+ -+ while ((e = ERR_peek_error_line(&file, &line))) { -+ ERR_error_string(e, buf); -+ if (!silent) -+ fprintf(stderr, "- SSL %s: %s:%d\n", buf, file, line); -+ ERR_get_error(); -+ } -+} -+#endif - - static int rsa_err(const char *msg) - { -@@ -94,10 +134,11 @@ static int rsa_pem_get_pub_key(const char *keydir, const char *name, EVP_PKEY ** - * - * @keydir: Key prefix - * @name Name of key -- * @engine Engine to use -+ * @engine Engine to use or NULL when using pkcs11 provider - * @evpp Returns EVP_PKEY object, or NULL on failure - * Return: 0 if ok, -ve on error (in which case *evpp will be set to NULL) - */ -+#ifdef USE_PKCS11_ENGINE - static int rsa_engine_get_pub_key(const char *keydir, const char *name, - ENGINE *engine, EVP_PKEY **evpp) - { -@@ -157,21 +198,24 @@ static int rsa_engine_get_pub_key(const char *keydir, const char *name, - - return 0; - } -+#endif - - /** - * rsa_get_pub_key() - read a public key - * - * @keydir: Directory containing the key (PEM file) or key prefix (engine) - * @name Name of key file (will have a .crt extension) -- * @engine Engine to use -+ * @engine Engine to use or NULL when using pkcs11 provider - * @evpp Returns EVP_PKEY object, or NULL on failure - * Return: 0 if ok, -ve on error (in which case *evpp will be set to NULL) - */ - static int rsa_get_pub_key(const char *keydir, const char *name, - ENGINE *engine, EVP_PKEY **evpp) - { -+#ifdef USE_PKCS11_ENGINE - if (engine) - return rsa_engine_get_pub_key(keydir, name, engine, evpp); -+#endif - return rsa_pem_get_pub_key(keydir, name, evpp); - } - -@@ -207,13 +251,45 @@ static int rsa_pem_get_priv_key(const char *keydir, const char *name, - return -ENOENT; - } - -+#ifdef USE_PKCS11_PROVIDER -+ EVP_PKEY *private_key = NULL; -+ OSSL_STORE_CTX *store; -+ -+ if (!OSSL_PROVIDER_try_load(NULL, "default", true)) -+ ERR(1, "OSSL_PROVIDER_try_load(default)"); -+ /* pkcs11 provider is optional; only needed for pkcs11: URIs */ -+ if (!OSSL_PROVIDER_try_load(NULL, "pkcs11", true)) -+ ERR_clear_error(); -+ -+ store = OSSL_STORE_open(path, NULL, NULL, NULL, NULL); -+ ERR(!store, "OSSL_STORE_open"); -+ -+ while (!OSSL_STORE_eof(store)) { -+ OSSL_STORE_INFO *info = OSSL_STORE_load(store); -+ -+ if (!info) { -+ drain_openssl_errors(__LINE__, 0); -+ continue; -+ } -+ if (OSSL_STORE_INFO_get_type(info) == OSSL_STORE_INFO_PKEY) { -+ private_key = OSSL_STORE_INFO_get1_PKEY(info); -+ ERR(!private_key, "OSSL_STORE_INFO_get1_PKEY"); -+ } -+ OSSL_STORE_INFO_free(info); -+ if (private_key) -+ break; -+ } -+ OSSL_STORE_close(store); -+ -+ *evpp = private_key; -+#else - if (!PEM_read_PrivateKey(f, evpp, NULL, path)) { - rsa_err("Failure reading private key"); - fclose(f); - return -EPROTO; - } - fclose(f); -- -+#endif - return 0; - } - -@@ -226,6 +301,7 @@ static int rsa_pem_get_priv_key(const char *keydir, const char *name, - * @evpp Returns EVP_PKEY object, or NULL on failure - * Return: 0 if ok, -ve on error (in which case *evpp will be set to NULL) - */ -+#ifdef USE_PKCS11_ENGINE - static int rsa_engine_get_priv_key(const char *keydir, const char *name, - const char *keyfile, - ENGINE *engine, EVP_PKEY **evpp) -@@ -293,22 +369,25 @@ static int rsa_engine_get_priv_key(const char *keydir, const char *name, - - return 0; - } -+#endif - - /** - * rsa_get_priv_key() - read a private key - * - * @keydir: Directory containing the key (PEM file) or key prefix (engine) - * @name Name of key -- * @engine Engine to use for signing -+ * @engine Engine to use or NULL when using pkcs11 provider - * @evpp Returns EVP_PKEY object, or NULL on failure - * Return: 0 if ok, -ve on error (in which case *evpp will be set to NULL) - */ - static int rsa_get_priv_key(const char *keydir, const char *name, - const char *keyfile, ENGINE *engine, EVP_PKEY **evpp) - { -+#ifdef USE_PKCS11_ENGINE - if (engine) - return rsa_engine_get_priv_key(keydir, name, keyfile, engine, - evpp); -+#endif - return rsa_pem_get_priv_key(keydir, name, keyfile, evpp); - } - -@@ -325,6 +404,7 @@ static int rsa_init(void) - return 0; - } - -+#ifdef USE_PKCS11_ENGINE - static int rsa_engine_init(const char *engine_id, ENGINE **pe) - { - const char *key_pass; -@@ -380,6 +460,7 @@ static void rsa_engine_remove(ENGINE *e) - ENGINE_free(e); - } - } -+#endif - - static int rsa_sign_with_key(EVP_PKEY *pkey, struct padding_algo *padding_algo, - struct checksum_algo *checksum_algo, -@@ -480,11 +561,13 @@ int rsa_sign(struct image_sign_info *info, - if (ret) - return ret; - -+#ifdef USE_PKCS11_ENGINE - if (info->engine_id) { - ret = rsa_engine_init(info->engine_id, &e); - if (ret) - return ret; - } -+#endif - - ret = rsa_get_priv_key(info->keydir, info->keyname, info->keyfile, - e, &pkey); -@@ -496,16 +579,21 @@ int rsa_sign(struct image_sign_info *info, - goto err_sign; - - EVP_PKEY_free(pkey); -+ -+#ifdef USE_PKCS11_ENGINE - if (info->engine_id) - rsa_engine_remove(e); -+#endif - - return ret; - - err_sign: - EVP_PKEY_free(pkey); - err_priv: -+#ifdef USE_PKCS11_ENGINE - if (info->engine_id) - rsa_engine_remove(e); -+#endif - return ret; - } - -@@ -645,11 +733,13 @@ int rsa_add_verify_data(struct image_sign_info *info, void *keydest) - ENGINE *e = NULL; - - debug("%s: Getting verification data\n", __func__); -+#ifdef USE_PKCS11_ENGINE - if (info->engine_id) { - ret = rsa_engine_init(info->engine_id, &e); - if (ret) - return ret; - } -+#endif - ret = rsa_get_pub_key(info->keydir, info->keyname, e, &pkey); - if (ret) - goto err_get_pub_key; -@@ -726,8 +816,10 @@ int rsa_add_verify_data(struct image_sign_info *info, void *keydest) - err_get_params: - EVP_PKEY_free(pkey); - err_get_pub_key: -+#ifdef USE_PKCS11_ENGINE - if (info->engine_id) - rsa_engine_remove(e); -+#endif - - if (ret) - return ret; -diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile -index 73bf6cdd2c52..50e98e83dc20 100644 ---- a/tools/docker/Dockerfile -+++ b/tools/docker/Dockerfile -@@ -122,6 +122,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ - openssl \ - picocom \ - parted \ -+ pkcs11-provider \ - pkg-config \ - python-is-python3 \ - python3 \ diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb index 5812b914..d3a78d8b 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb @@ -4,8 +4,6 @@ PR = "r0" BRANCH = "ti-u-boot-2024.04" -SRCREV_uboot = "29d0c23d67ee7b88e46fe1753cd020e2b04c2ef6" - SRC_URI += "file://0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch" -SRC_URI += "file://0001-binman-migrate-form-pkg_resources-to-importlib.patch" -SRC_URI += "file://0001-Add-support-for-OpenSSL-Provider-API-2024-04.patch" + +SRCREV_uboot = "29d0c23d67ee7b88e46fe1753cd020e2b04c2ef6" diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb index af4b1b77..f7475c2b 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb @@ -7,4 +7,3 @@ BRANCH = "ti-u-boot-2025.01" SRCREV_uboot = "4ca322ca563a21cccad8c9ba65e386b9fd34dd16" SRC_URI += "file://0001-binman-migrate-form-pkg_resources-to-importlib.patch" -SRC_URI += "file://0001-Add-support-for-OpenSSL-Provider-API-2025-01.patch" diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb index d1ef241d..7637cfaf 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb @@ -5,5 +5,3 @@ PR = "r0" BRANCH = "ti-u-boot-2026.01" SRCREV_uboot = "2a85f4bcffc50ddc8b443d8e4162e9e46ed0f200" - -SRC_URI += "file://0001-Add-support-for-OpenSSL-Provider-API-2026-01.patch" diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc index 8213ac60..3d6769bf 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc @@ -25,7 +25,6 @@ UBOOT_GIT_PROTOCOL ?= "https" UBOOT_GIT_BRANCH ?= "branch=${BRANCH}" SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};${UBOOT_GIT_BRANCH};name=uboot" -SRC_URI:append:bsp-ti-6_6 = " file://0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.patch" SRC_URI:append:bsp-ti-6_12 = " file://0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.patch" SRC_URI:append:bsp-ti-6_18 = " file://0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.patch" From patchwork Tue Sep 15 19:27:38 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 98346 X-Patchwork-Delegate: reatmon@ti.com 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 1CB6FC88E7D for ; Tue, 15 Sep 2026 19:28:14 +0000 (UTC) Received: from mx0b-0002e601.pphosted.com (mx0b-0002e601.pphosted.com [148.163.154.28]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.5205.1789500492841757561 for ; Tue, 15 Sep 2026 12:28:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=proofpoint-05-2026 header.b=A5ECPZja; dkim=pass header.i=@ti.com header.s=selector1 header.b=OrHXAao2; spf=pass (domain: ti.com, ip: 148.163.154.28, mailfrom: reatmon@ti.com) Received: from pps.filterd (m0374956.ppops.net [127.0.0.1]) by mx0b-0002e601.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68FIuJXl703861; Tue, 15 Sep 2026 14:28:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= proofpoint-05-2026; bh=m7Spfy6OImZMl4L1nuMwn2SjTOSS9AT++DnFm0qNq Ig=; b=A5ECPZjaxtdqOfhyst/4lKkJO7JAlwpJlOihJJueo5mAtiyvzPhkTZBkw /P5+AZRpWbImwPGpcap+z+WqgofWgcjptZsDWTXsxQ9/IznbYSN+2bXG87BVKzOi PUcajQfSMtZj5Rb7BHpwjxmA0JRto/wDvVGdGUMYBstvC18daIQubW4kKIQCvbW/ COehQqBSrBXFOZd7lXYBcIuyrMGjEmmNLHmUc25j624pergrpUQU9BEueVCR894a AYqe8FzECD9hLwW4S/3U63exgN50jU9+yCcW65ByZWa6DjtQ3pllkHnW5vEF+5J8 QRIiBn7+xHeCXuwYIkfuTjoP66pmQ== Received: from co1pr03cu002.outbound.protection.outlook.com (mail-westus2azon11010003.outbound.protection.outlook.com [52.101.46.3]) by mx0b-0002e601.pphosted.com (PPS) with ESMTPS id 4gq362v768-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 15 Sep 2026 14:28:10 -0500 (CDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vPwu1K1Azqrcy8cud64JuMnW6jAzlrtN7D0fJ1z9Gu+a4QDUhssgZxRMq3fhlMckYJbPXRNM3MaurX+AzYDEioEo2odxASnu/ULr1zjX0xmQYU3fV6ztUK1PLFhuJTaPw57yDrj//nL/KsCnf4NPHeU63Mm5gswCWA4wd+nIyvXILRC5vnd8ljMHHFBG2p2JY2cgFQQE80kljtEu2X3nGRuMugAFDDPkTAmJBw18C5foZcEyiSbSPvXq9th/D0DdONafwjHFSaA3okmROUNP6c4HM0Aa4aCYKAMnBQtwsGmiJIqjjopZq1cGVu+x6hTpqIfLF3ehlp6JGfnmbfKJzw== 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=m7Spfy6OImZMl4L1nuMwn2SjTOSS9AT++DnFm0qNqIg=; b=mBy1t52xDjme4pWtKJNtuP1igwFOeoGe9afurj/ULYgmBox+2IOE+0Oe1WgD5mX1Erxi0A00Zk23iC6Jm33q1L5TpalA2vmlm1+5nCd0S5WgJImGoXG5aCC0mJ0DqA+2hS52PBBbuQKRf2Sx4UK4ahP/3JD6LNFvnxTJ5uEK5KfJDXsj7Rtc7DOkvQpphYg2drZecmUDptfGU9ynMh+ZuoKEjqEZADJnvUEwuiEccufW+zkMNPorREvVCUpriAuqlJTj7D34D2V1taiGHnkIPhekO0G0od7hCJYIlRWXwWedbKJ8uXxF26XtyGhHUpvqErjvlWWmTHS0EFXw/qatDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 198.47.21.195) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=ti.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=ti.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m7Spfy6OImZMl4L1nuMwn2SjTOSS9AT++DnFm0qNqIg=; b=OrHXAao2SifbYKoxsdiw/ZHr4iCC3KK57Y/6RgWdUc9YJAo3BRHGrqlxMc9OzJa9exNzDx51n/3TANl6REX/e9SBnYIjYL1nv2/N5O8nFTcy/6KMlIZQUWknGNfo+G0wJiQD0mU8XXn8aJGRHeJtcPeGLlVHyhc6QTSwk1BTH9Q= Received: from BL1P221CA0040.NAMP221.PROD.OUTLOOK.COM (2603:10b6:208:5b5::15) by SA2PR10MB4523.namprd10.prod.outlook.com (2603:10b6:806:113::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.428.9; Tue, 15 Sep 2026 19:28:07 +0000 Received: from BN2PEPF0000A7FE.namprd02.prod.outlook.com (2603:10b6:208:5b5:cafe::37) by BL1P221CA0040.outlook.office365.com (2603:10b6:208:5b5::15) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.428.9 via Frontend Transport; Tue, 15 Sep 2026 19:28:07 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 198.47.21.195) smtp.mailfrom=ti.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ti.com; Received-SPF: Pass (protection.outlook.com: domain of ti.com designates 198.47.21.195 as permitted sender) receiver=protection.outlook.com; client-ip=198.47.21.195; helo=flwvzet201.ext.ti.com; pr=C Received: from flwvzet201.ext.ti.com (198.47.21.195) by BN2PEPF0000A7FE.mail.protection.outlook.com (10.167.245.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.428.7 via Frontend Transport; Tue, 15 Sep 2026 19:28:06 +0000 Received: from DFLE211.ent.ti.com (10.64.6.69) by flwvzet201.ext.ti.com (10.248.192.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Tue, 15 Sep 2026 14:27:39 -0500 Received: from DFLE214.ent.ti.com (10.64.6.72) by DFLE211.ent.ti.com (10.64.6.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Tue, 15 Sep 2026 14:27:39 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DFLE214.ent.ti.com (10.64.6.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45 via Frontend Transport; Tue, 15 Sep 2026 14:27:39 -0500 Received: from grumpy (grumpy.dhcp.ti.com [128.247.81.229]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 68FJRdeT575810; Tue, 15 Sep 2026 14:27:39 -0500 Received: from reatmon by grumpy with local (Exim 4.97) (envelope-from ) id 1x6Yod-00000009wLP-0dUd; Tue, 15 Sep 2026 14:27:39 -0500 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-ti][master][PATCH 2/3] Revert "u-boot-bb.org: Fixes for OpenSSL 4.0" Date: Tue, 15 Sep 2026 14:27:38 -0500 Message-ID: <20260915192739.2369213-2-reatmon@ti.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260915192739.2369213-1-reatmon@ti.com> References: <20260915192739.2369213-1-reatmon@ti.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF0000A7FE:EE_|SA2PR10MB4523:EE_ X-MS-Office365-Filtering-Correlation-Id: 0436a174-7a91-4ffc-df58-08df135f77c0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|23010399003|36860700016|376014|82310400026|1800799024|56012099006|10067099003|22082099003|18002099003|3023799007; X-Microsoft-Antispam-Message-Info: 6rwzo68LVBzhh4amLXUs3IFLc7K1EeJI1nohoz9h+vxTZatVoVAreOv/rb9U/U9cWF9oIm8PK4koNLFYZMOOaHxWGHqWt9aiveSa9taYb7rcTDGLROVtYg8oFTS07Vt8T7F/Lu/8+Ho/wuXmjLqAgOAJsvCT1q+k4zkOlO5j+9b3tnE8w9d9KsKfK5W3VOpgk9E6UuyAvmLNx1mml+qgDtbgOCmDvZp6hB8OWh+q+gRKdyfikX+yqgIaKR/DSLHWMG6aWrlQq0zIHd9HS341JGKTr5aOmxrWbht22ZVQlJQQfCHBZegULn4OynbvA8ThALjDRFNSZ+pVjDZaX/EHFktp0c09rf3I1Mp1wIaGzXNSJBkqyjEni5C3tAon6UHxDICHQx866B4ENmbN9HrETzoKPS1EZDGOEHhl986W9MkbIW7s8xO/FW17sCW9zOhjX2xMDqPVAsmAv+tuiK4Bttj4Zv6kAVe2MxPkPsKh/2Mv3gQrkMVXV08PR1ThmYU2Lh/PRmXtE6yuompyQwidLJqTMizTr+c//ba3b5NHnKAeTQpRnQnAT4dICa9cwJU+sRsLUj7r3Ypv9bIaT+s2if61tQj5crjAQZk7IMia2zCvyvx9yEzGgo3kqsRu8LvzPTxzuFERfq3A+6wXqPSM8VSoTHVQt7pBULUMyeW5i4IfaJu94A0YfPVk8ZMTk9U88T8Pm85TcW/EDayN0wC1oA== X-Forefront-Antispam-Report: CIP:198.47.21.195;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:flwvzet201.ext.ti.com;PTR:ErrorRetry;CAT:NONE;SFS:(13230040)(23010399003)(36860700016)(376014)(82310400026)(1800799024)(56012099006)(10067099003)(22082099003)(18002099003)(3023799007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NjjCsAvD83A4MylVZY6ah9ayJLfTOlA9/l25IO7hNTBW5NYD0D3UYlr8bLhcRX99Ozmf+KoqXw53nRcwcsaCtMi6ZC0vnwRRjEn9T5aSmeBcviM1v18ND4ry2e0BkSHWm7ydaa0RmuXZ/95MLSkYZ6j9w4OFwjtsU04zeRcSioeK3IVcnkDnQ3JKEydjWwAGSe11sIYFHWQvraLLMoy1ODVswtenSDqk/w+GAB3GA3w+0qk2QJJm1fbh7yqqXNfFSb8xG2nWseyGPihE80wjQcyR6r+mXT2Q7Wl/qtJ5wxptWQJTUzVDSpEFA59y6t+fQCvBHosn7A4A2CqfGa4S3xwHlMl5vnsWpB+3SvFKBTikGzPTHe0oAJFPtWZq1OX5uGtkxpHjaBXUzXP8K25GrJqoFJD4F05VbMEwNaOiPN1zHdbt698XUsCFVLWQUQAp X-Exchange-RoutingPolicyChecked: 4bV4+v/MfsoyKsiEN9QSVP5JBShV+EZGLt/o6BGFaupgBdu/eLww4yMajM/8qeaYTZH2+1bNx0bgjngZgGWMi2dROU8PwRY/3NFb5QlqhrbZvg0gCiLk3EWOnqWTffTPJnkYJoGCpEurd6jA9D9gocnf3KbFOc2Em1VBXBPtBMSpfHv4PgaW9f1xH940co/I7UVmq5TMylJPct6N6N9lxx3Y1ZYVZYLGwV7ZBBMHypEhM5BFSQByPSgeab1fdaaxP/E+8YjYqGGrRckfIZsDJxlt7/ToSE1XbrWmXoSVhUrnYanAZDMDoI2OYVLSWiCsac80hYgyoO7a8IdUlKJA9A== X-OriginatorOrg: ti.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2026 19:28:06.0598 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0436a174-7a91-4ffc-df58-08df135f77c0 X-MS-Exchange-CrossTenant-Id: e5b49634-450b-4709-8abb-1e2b19b982b7 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e5b49634-450b-4709-8abb-1e2b19b982b7;Ip=[198.47.21.195];Helo=[flwvzet201.ext.ti.com] X-MS-Exchange-CrossTenant-AuthSource: BN2PEPF0000A7FE.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4523 X-Authority-Analysis: v=2.4 cv=P9yvFSAu c=1 sm=1 tr=0 ts=6aa99c4a cx=c_pps a=AKd2An130fSphkJyqL6rzg==:117 a=tJyPKKxUohctrY4NYmUjkA==:17 a=DYtVRx_rAAAA:8 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=VdqzKS8jKosA:10 a=V5UXEbMT0ywA:10 a=VkNPw1HP01LnGYTKEx00:22 a=Z8NIEmU8O1QQgoT56wFK:22 a=jwouBfj2j3NM8CExmVVE:22 a=NEAV23lmAAAA:8 a=Sf5eaNDXQkhf0gwcruEA:9 a=K1xa12UCscBrvhdHlanD:22 X-Proofpoint-GUID: 3ktZIUfF1urNy0kuVB55KtdMfeqra6w_ X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTE1MDI4NCBTYWx0ZWRfXxsVQ7at4zPIW uT+oyrGHOWjhWa67GLEGZ/QrzvM0aVm0t+gB46TlMIkWPaFTakCCGvNzIpZqUH1v8xLnZEaBBD8 Jj1SLYJQ8oUjOa4LuDVO04Q7v2/fUso56/w4GailaQrGkwci7sd1RRg6ksXUpZLytqVgv/JWrcE g9x+yVqKGTJPCDRLMUOc5Tb/iJdmu8qWGP0ikOrq38EBjY838Ltw18/EG+EHibN8KY4JKEefjRM O//pZSelVIt13X5CHPrRqXLcaXzM3ajxjUmgQbolMTxRXo7dGp2J6PtqkS2+tf/lPQML97IYtis IAC5WJpV4LN37szZKd8wbBfd/CtMxR6GchbrjD+iEpGc4BE0BMv7LNAxSTdB7CFwL8s8s7lnxo9 zssL0+mIBzQ1TNDX9N2cwReYZdspyuNHkltEDy53s1mcn1Hxuigvf/dirH4CS0FzNhfk4LWUvB3 BwM2Q600pzDstvCkbpw== X-Proofpoint-ORIG-GUID: 3ktZIUfF1urNy0kuVB55KtdMfeqra6w_ X-Proofpoint-Spam-Info: AW1haW4tMjYwOTE1MDI4NCBTYWx0ZWRfX+7dpusyOdz1g WNVjZ1nCH/rOr+J6878sgqOTpfx3Cz3YOgv1WGxufS+YpJrVEkkbAMReD2ypPIww7+W8oRanFWC LbOvOGJPdvTIWm8hoWLyCSZc7xuZ2uM= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-15_05,2026-09-15_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 spamscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609150284 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 15 Sep 2026 19:28:14 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/20377 This reverts commit 7c0c6e2117fe312d575ca682b2935076859d20be. --- meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb | 1 - meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb | 1 - 2 files changed, 2 deletions(-) diff --git a/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb index 868baffa..23a5a3af 100644 --- a/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb +++ b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb @@ -8,7 +8,6 @@ PV = "2024.10" SRC_URI += "file://0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch" SRC_URI += "file://0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.patch" -SRC_URI += "file://0001-Add-support-for-OpenSSL-Provider-API-2024-04.patch" UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git" UBOOT_GIT_PROTOCOL = "https" diff --git a/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb index a329f7df..a6284193 100644 --- a/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb +++ b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb @@ -20,4 +20,3 @@ SRC_URI:append:pocketbeagle2 = " file://bootcmd-ti-mmc.cfg" SRC_URI:append:beaglebone = " file://0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch" SRC_URI += "file://0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.patch" -SRC_URI += "file://0001-Add-support-for-OpenSSL-Provider-API-2025-01.patch" From patchwork Tue Sep 15 19:27:39 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 98348 X-Patchwork-Delegate: reatmon@ti.com 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 D854DC88E77 for ; Tue, 15 Sep 2026 19:28:23 +0000 (UTC) Received: from mx0a-0002e601.pphosted.com (mx0a-0002e601.pphosted.com [148.163.150.75]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.5207.1789500499919992373 for ; Tue, 15 Sep 2026 12:28:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=proofpoint-05-2026 header.b=jD/58mhq; dkim=pass header.i=@ti.com header.s=selector1 header.b=StLcKTaV; spf=pass (domain: ti.com, ip: 148.163.150.75, mailfrom: reatmon@ti.com) Received: from pps.filterd (m0384305.ppops.net [127.0.0.1]) by m0384305.ppops.net (8.18.1.11/8.18.1.11) with ESMTP id 68FItueR2525248; Tue, 15 Sep 2026 14:28:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= proofpoint-05-2026; bh=q1neIHmQ1mUFXV4B+ac2u1eVqPG68janiXOZHgwSN ug=; b=jD/58mhqqa2XXLAy0M3sXLjrJyKedrk931wHHGV/nxWGoscoJcs/fZoKB xUvE5UyIzgaFxnUP7JwqUEuUfMeCFiTb5dUvZHlONSEkPUhuxITjNNiA0QdCaUjH lqyuGZ24+mMJp+Y5+6CjdGoV/pTMeJoV4PGouemgxWaDGrmxAhRwFMVaatdi328C Q2ZtSI/VPk+9NHmnBHCII4bZcLfn+Yk6hvWrQY3MX3kuqEvKuutMd1HXPDOx9kuV U7+UTJUseIcX+4akQIydsVl3NrPcSjo7K4nePPHD5SxGX7R5Yj1iquAXL7+aCSjM ixxqGkE6AivGJAmEWwgRLZmpDPfow== Received: from bn1pr04cu002.outbound.protection.outlook.com (mail-eastus2azon11010039.outbound.protection.outlook.com [52.101.56.39]) by m0384305.ppops.net (PPS) with ESMTPS id 4gpvpa6dbx-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 15 Sep 2026 14:28:17 -0500 (CDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Tr0y0kXrmmJaD+Ul77b162Jbe7RYZY5nIX/ox+XG23/0CGY3fFPh4nCKaOXKflOPRIkYIavi33vZP+vZzFQ/E73WSxYFSouvk3GXs06sAEDZUtaw2rr2FrIFyUZnsWCqGU9/TuUNTo9RGqUd277tP0febMYgSm323WK8EL86FDNcSVEvVgqXj6gmQ2ErbzqMmgiE1Eo7zw7/XZUsQJF++MfqVWgQms+wnZEiJfgQ0tPter/wgZC40rb0oP3Y/lrJLSVVX7qOVqMlFm9RiMw+dX6sPb82WENAYu9AdGLAJKWfhn4cQmHs93A528W9IIK8REIGcEpeyE7xCr16Le0zeA== 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=q1neIHmQ1mUFXV4B+ac2u1eVqPG68janiXOZHgwSNug=; b=GNioaZ6B/yxtXJy98UK3gHsrqEz+Qhi7E1DwcXx4a8SqBrQmwn788au/oW5oCxCTWfCwXBgmgKN8HIUcsxsS/yVa15PTSEkfFglyyCqZi2wLC5CtlIAKEfF0QFXquWHK5Dy/glneMwy1Xu/rS3bGnGPpJSygRxgv2pNk2fJFuwdsnlGFl7VRgBgbHSRXXLZLOKDKxDjo2vCRR5EpzfPnl3WivNrFJMN9OoO9jAQNQwUdDwPIXNxFDEaBysg+6LcVTP9J2ZuhAzl5XWczRJaBO7nUpLBkFnxywvTH9sRzZt8W12FU35PxaVrZ5B0bkcJx/W55+WlAVDE75SNt7tgTlg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 198.47.23.194) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=ti.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=ti.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=q1neIHmQ1mUFXV4B+ac2u1eVqPG68janiXOZHgwSNug=; b=StLcKTaVEdMzFAhcsNiSbK41URYspJ55yuFpWOwNpAdrbe/zui+6k+shtDrIGx3KBOE8dvVM/JHUajC7bVM/GyTQKtbExd05McI24wEGBNsgbYFZyQIU2E3j3dkLLfM3/9XGWGK3LOO6u1m0ro3Tmdxvz+RRJpYZh4sO+6o1Fyc= Received: from CH2PR02CA0023.namprd02.prod.outlook.com (2603:10b6:610:4e::33) by CH2PR10MB4248.namprd10.prod.outlook.com (2603:10b6:610:7e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.428.9; Tue, 15 Sep 2026 19:28:04 +0000 Received: from CH2PEPF0000009C.namprd02.prod.outlook.com (2603:10b6:610:4e:cafe::3) by CH2PR02CA0023.outlook.office365.com (2603:10b6:610:4e::33) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.406.12 via Frontend Transport; Tue, 15 Sep 2026 19:28:04 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 198.47.23.194) smtp.mailfrom=ti.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ti.com; Received-SPF: Pass (protection.outlook.com: domain of ti.com designates 198.47.23.194 as permitted sender) receiver=protection.outlook.com; client-ip=198.47.23.194; helo=lewvzet200.ext.ti.com; pr=C Received: from lewvzet200.ext.ti.com (198.47.23.194) by CH2PEPF0000009C.mail.protection.outlook.com (10.167.244.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.428.7 via Frontend Transport; Tue, 15 Sep 2026 19:28:04 +0000 Received: from DLEE211.ent.ti.com (157.170.170.113) by lewvzet200.ext.ti.com (10.4.14.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Tue, 15 Sep 2026 14:27:39 -0500 Received: from DLEE207.ent.ti.com (157.170.170.95) by DLEE211.ent.ti.com (157.170.170.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Tue, 15 Sep 2026 14:27:39 -0500 Received: from lelvem-mr06.itg.ti.com (10.180.75.8) by DLEE207.ent.ti.com (157.170.170.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45 via Frontend Transport; Tue, 15 Sep 2026 14:27:39 -0500 Received: from grumpy (grumpy.dhcp.ti.com [128.247.81.229]) by lelvem-mr06.itg.ti.com (8.18.1/8.18.1) with ESMTP id 68FJRdkH3809065; Tue, 15 Sep 2026 14:27:39 -0500 Received: from reatmon by grumpy with local (Exim 4.97) (envelope-from ) id 1x6Yod-00000009wLT-0irA; Tue, 15 Sep 2026 14:27:39 -0500 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-ti][master][PATCH 3/3] u-boot-*: Change openssl fix to build option Date: Tue, 15 Sep 2026 14:27:39 -0500 Message-ID: <20260915192739.2369213-3-reatmon@ti.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260915192739.2369213-1-reatmon@ti.com> References: <20260915192739.2369213-1-reatmon@ti.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PEPF0000009C:EE_|CH2PR10MB4248:EE_ X-MS-Office365-Filtering-Correlation-Id: 60cdf2f0-8173-414e-4718-08df135f76de X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|1800799024|23010399003|36860700016|376014|18002099003|22082099003|13003099007|3023799007|56012099006|10067099003; X-Microsoft-Antispam-Message-Info: MKUdg2chf52ogtHXnpYp8uN2QMHPGd+6Ab13tkadaI3KdcXkgnqntIT6ie1Rkc12C0/z25jvsZBRVIPvygbE0mnK3JRR+p68d3xL8b14a5vgunU8GFk9BkeT195VxJZBgTjE1Lfm3L9omH6JyKKU14N8ghQ1M47VhWpIZNqtcZNB8qCSmM4Z+0Uuv2Mo/yNzpygyE6o1q47lm8oAHmm3bwEGPLsL7yNAXWKNB3UdkQ8OPqHwX7p4kuKua2VqYboCu0izu5lQulwEkInGe1Z+yCWwq8Q3QZzsepAbgFxAU74uuliiPUFC3GkpCx/XFE3jfRjL5PML7lB9SzrzbMzsqgubtCgxqRxbveqRhGXndjzAamMJofeGcfI7Ue6zJFnYGpMxm5b4qMa+oZBs4dMjSsoGjbbq0WriSf5qZyZdMMttzVnCblfZeMxvk6V+3rM5Pa5Ugq6aToPemFocMZHkljOOmPbaSf0T5Lk96Pbl1nQuuTF9Z96n0velHHnSbueCFChALIncrW6p3aNlAL+2OyqqbZ5aZSgxsh+7kcDglO+LhiXyeBpkQfSNWKsbNi+vZW1WpJvoF33RqKD6La3UvWIt4FOBIY8cYFvyB82nUbhybVGP//yPJO2B83Cc5gzUcOI0/umIsmOdUmTLQmqb2Q== X-Forefront-Antispam-Report: CIP:198.47.23.194;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:lewvzet200.ext.ti.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(1800799024)(23010399003)(36860700016)(376014)(18002099003)(22082099003)(13003099007)(3023799007)(56012099006)(10067099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: S3eBtPRt+BkwsSrHFHA+Utbn1IbqphuR9ODBlD74neAERgQpi77147eFImXWXrQIoXnnWJ/n6W+f16REvb+jb/kMIflcpKz0PwkTDXucywm+i7zaSE17WzZ5/bC3l2au1NSFQAFY0DzemunC7aVvZjUFzhMUzI0ZzTLXX6MOvwJLzpNvY7ncyJivZ9/lxv5Tc5OUvviZSTJuiBtBD61Nkh6E9f2BtoIbz8m84zn4X+x5o4JCJQSKUxbhBF+fiJ6yM7rPiFn9BCOCons0lAutXTjBuRdbb3Yk65LEBE6v7Zzla8rysoX5dKBa/5PtDoMVYuw2ynPd5Gu1ICrGyIaWOlTxlNXGew9zKs837p1PKyVuVQOiewpa1lgH/a5Ffy3NzOTFpl3c0tHJXGZ4V26eqe4O34Bzkvi91sjCJpKE0vQPoq2nZCrGYkA0BIIyxkjw X-Exchange-RoutingPolicyChecked: 2Rb/FvLbWQ8zfGI89v1XIstSiREIRQwukAN5/jgJGA0uxLtds1vsN60/h93WDGBlpJ6jdVyGxXO/jUk0j5ALMC5dB5QT3e3QJwfDm0qo8nCaCtv91uZjIurDSKBhuk5hHQLjiIV9Gxz341cwYDzQZQvjt9K6buu/HonBXaeVUgTR69bpYS8b2r0Ad+VNUTcg1hCtwQv/kGLGS2Dt4X6hoAciijvhEHELSkkolPJpYgQN3rXW2UD9UlaTgjCpB4+/kKscQmVhP35Cu/MH4dt7Rcd8fW2CbJ3w0HEDKxj3gxUw1lUA2+mxWbE6A/jQ+cUg0tca4vSev6ibFPS8UMEgNQ== X-OriginatorOrg: ti.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2026 19:28:04.6067 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 60cdf2f0-8173-414e-4718-08df135f76de X-MS-Exchange-CrossTenant-Id: e5b49634-450b-4709-8abb-1e2b19b982b7 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e5b49634-450b-4709-8abb-1e2b19b982b7;Ip=[198.47.23.194];Helo=[lewvzet200.ext.ti.com] X-MS-Exchange-CrossTenant-AuthSource: CH2PEPF0000009C.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR10MB4248 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTE1MDI4NCBTYWx0ZWRfX2dJLaTCW70vV TqCPICcvYF0MuwSPE46IyafpKtEYM6lrQ7MVZRje4qa7dkVhY+Hdop4tHXBxykjATliAdFcxrwX s+NqcnWMGrvyyrefHK0/X1Wt4pwLfHAdcS7gqdIFvex8DMai7sZpfvRAKhOx0IueYOghPlsSSrO ofkTR3k8W/dPMneXl5/jH2N6IriYykHAvIpg27/NrSARZXR7t8dEFJwT2/V9xOaTTDXvqJc34Jl 68DnvXmLQaQDxJxIEd18WMc6iGw2O4Y9gMx6NAF8l7/87LeI1DSbsCUnk7q1Nl4p/HEZaQLMsfD gjVHZN7lg/mhu8Vm800vIoZ47CbXHoGAST2BkeBAE7ozIdFDo5CePdZSmLTKFJAKavnaVSTrgmJ 9rLex1AbMKd3SnxDr9i3ASYJ54ZRCpyV09NFtQdIzDG8Qi+Z/8rbaXEwYSCKXVygUyZ53VNTFgy N+WJCFJxlPGLN822R5A== X-Proofpoint-ORIG-GUID: GL6jSLts2MZ0w-qPXXAsrlyUBLb9ZPEu X-Authority-Analysis: v=2.4 cv=U7cHnuru c=1 sm=1 tr=0 ts=6aa99c51 cx=c_pps a=BlIXLFXQXelmgi4pYy3AOQ==:117 a=WotqVVQAdb04rnGuttW3Kw==:17 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=VdqzKS8jKosA:10 a=s63m1ICgrNkA:10 a=V5UXEbMT0ywA:10 a=VkNPw1HP01LnGYTKEx00:22 a=Z8NIEmU8O1QQgoT56wFK:22 a=taLDd7a_hP9WKsMzeGRc:22 a=iGHA9ds3AAAA:8 a=7CQSdrXTAAAA:8 a=k-42gJp3AAAA:8 a=sozttTNsAAAA:8 a=NEAV23lmAAAA:8 a=xVlQdPV1REGw4ApZ5fQA:9 a=nM-MV4yxpKKO9kiQg6Ot:22 a=a-qgeE7W1pNrGK8U0ZQC:22 a=uCSXFHLys93vLW5PjgO_:22 X-Proofpoint-GUID: GL6jSLts2MZ0w-qPXXAsrlyUBLb9ZPEu X-Proofpoint-Spam-Info: AW1haW4tMjYwOTE1MDI4NCBTYWx0ZWRfX/lZNa9AGnOTa VrxQt+0XiY5ylTniYYjClCD8pPRa57+Z16ImBsmrQieNhTq4mWX2RHekFpV7Opuog2E5bsOeiB4 dLG848OUDKmXJH/8aEpgz0enYon6zw8= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-15_05,2026-09-15_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 suspectscore=0 impostorscore=0 malwarescore=0 bulkscore=0 clxscore=1015 spamscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609150284 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 15 Sep 2026 19:28:23 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/20378 Rather than carrying multiple patches for the same fix for all of the u-boot versions, we should copy the meta-arm solution [1] of just adding a build option to turn on the engine stubs. [1] https://patchwork.yoctoproject.org/project/arm/patch/20260909180341.3858400-1-ross.burton@arm.com/ Suggested-by: Denys Dmytriyenko (TI) Signed-off-by: Ryan Eatmon --- meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb | 5 +++++ meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb | 5 +++++ meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb | 5 +++++ meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb | 5 +++++ meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb | 5 +++++ 5 files changed, 25 insertions(+) diff --git a/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb index 23a5a3af..58108945 100644 --- a/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb +++ b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb @@ -13,3 +13,8 @@ UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git" UBOOT_GIT_PROTOCOL = "https" BRANCH = "v2024.10-Beagle" SRCREV = "bf0e9d0b7274d2b561bd24c858affec2038250f9" + +# u-boot/lib/rsa/rsa-sign.c uses the OpenSSL engine API, but this has been +# removed from OpenSSL 4. Upstream u-boot has been fixed but we can enable +# the stub engine API in OpenSSL until this recipe is removed. +BUILD_CFLAGS += "-DOPENSSL_ENGINE_STUBS" diff --git a/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb index a6284193..5070eef4 100644 --- a/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb +++ b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb @@ -20,3 +20,8 @@ SRC_URI:append:pocketbeagle2 = " file://bootcmd-ti-mmc.cfg" SRC_URI:append:beaglebone = " file://0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch" SRC_URI += "file://0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.patch" + +# u-boot/lib/rsa/rsa-sign.c uses the OpenSSL engine API, but this has been +# removed from OpenSSL 4. Upstream u-boot has been fixed but we can enable +# the stub engine API in OpenSSL until this recipe is removed. +BUILD_CFLAGS += "-DOPENSSL_ENGINE_STUBS" diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb index d3a78d8b..8d641bbe 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb @@ -7,3 +7,8 @@ BRANCH = "ti-u-boot-2024.04" SRC_URI += "file://0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch" SRCREV_uboot = "29d0c23d67ee7b88e46fe1753cd020e2b04c2ef6" + +# u-boot/lib/rsa/rsa-sign.c uses the OpenSSL engine API, but this has been +# removed from OpenSSL 4. Upstream u-boot has been fixed but we can enable +# the stub engine API in OpenSSL until this recipe is removed. +BUILD_CFLAGS += "-DOPENSSL_ENGINE_STUBS" diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb index f7475c2b..2b28383b 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb @@ -7,3 +7,8 @@ BRANCH = "ti-u-boot-2025.01" SRCREV_uboot = "4ca322ca563a21cccad8c9ba65e386b9fd34dd16" SRC_URI += "file://0001-binman-migrate-form-pkg_resources-to-importlib.patch" + +# u-boot/lib/rsa/rsa-sign.c uses the OpenSSL engine API, but this has been +# removed from OpenSSL 4. Upstream u-boot has been fixed but we can enable +# the stub engine API in OpenSSL until this recipe is removed. +BUILD_CFLAGS += "-DOPENSSL_ENGINE_STUBS" diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb index 7637cfaf..f5bddad8 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb @@ -5,3 +5,8 @@ PR = "r0" BRANCH = "ti-u-boot-2026.01" SRCREV_uboot = "2a85f4bcffc50ddc8b443d8e4162e9e46ed0f200" + +# u-boot/lib/rsa/rsa-sign.c uses the OpenSSL engine API, but this has been +# removed from OpenSSL 4. Upstream u-boot has been fixed but we can enable +# the stub engine API in OpenSSL until this recipe is removed. +BUILD_CFLAGS += "-DOPENSSL_ENGINE_STUBS"