Skip to contentSkip to conversation

u-boot-bb.org: Fixes for OpenSSL 4.0

PATCH In review Ryan Eatmon 2 participants 3 messages Sep 10

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 u-boot-bb.org: Fixes for OpenSSL 4.0

With the recent move to OpenSSL 4.0 [1] we need to update the same code in the various u-boot versions that we support.

[1] https://git.openembedded.org/openembedded-core/commit/?id=20bf704e5809e95036b998f0f45145cf7205b05b

---
 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 insertions(+)
meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb +1 -0
index 23a5a3af..868baffa 100644
@@ -8,6 +8,7 @@ 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"
meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb +1 -0
index a6284193..a329f7df 100644
@@ -20,3 +20,4 @@ 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"
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/2 linux-bb.org_6.6: Backport OpenSSL 4.0 patches

Backport a set of kernel patches to 6.6 to fix the OpenSSL build failures.

---
 .../0001-move-common-SSL-helper-functions-to-a-header.patch | 2 ++
 .../0002-avoid-using-deprecated-ERR_get_error_line.patch    | 0
 .../0003-use-pkcs11-provider-for-OPENSSL-MAJOR-3.patch      | 0
 meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb        | 6 ++++++
 4 files changed, 8 insertions(+)
 copy {meta-ti-bsp => meta-beagle}/recipes-kernel/linux/files/0001-move-common-SSL-helper-functions-to-a-header.patch (99%)
 copy {meta-ti-bsp => meta-beagle}/recipes-kernel/linux/files/0002-avoid-using-deprecated-ERR_get_error_line.patch (100%)
 copy {meta-ti-bsp => meta-beagle}/recipes-kernel/linux/files/0003-use-pkcs11-provider-for-OPENSSL-MAJOR-3.patch (100%)
meta-beagle/recipes-kernel/linux/files/0001-move-common-SSL-helper-functions-to-a-header.patch renamed from meta-ti-bsp/recipes-kernel/linux/files/0001-move-common-SSL-helper-functions-to-a-header.patch +2 -0
similarity index 99%
copy from meta-ti-bsp/recipes-kernel/linux/files/0001-move-common-SSL-helper-functions-to-a-header.patch
copy to meta-beagle/recipes-kernel/linux/files/0001-move-common-SSL-helper-functions-to-a-header.patch
index 8e8ac7be..6a58b5eb 100644
@@ -11,6 +11,8 @@ Reviewed-by: Jarkko Sakkinen <[email protected]>
 Tested-by: R Nageswara Sastry <[email protected]>
 Reviewed-by: Neal Gompa <[email protected]>
 Signed-off-by: Jarkko Sakkinen <[email protected]>
+
+Upstream-Status: Inappropriate [OE specific]
 ---
  MAINTAINERS          |  1 +
  certs/Makefile       |  2 +-
meta-beagle/recipes-kernel/linux/files/0002-avoid-using-deprecated-ERR_get_error_line.patch renamed from meta-ti-bsp/recipes-kernel/linux/files/0002-avoid-using-deprecated-ERR_get_error_line.patch +0 -0
similarity index 100%
copy from meta-ti-bsp/recipes-kernel/linux/files/0002-avoid-using-deprecated-ERR_get_error_line.patch
copy to meta-beagle/recipes-kernel/linux/files/0002-avoid-using-deprecated-ERR_get_error_line.patch
meta-beagle/recipes-kernel/linux/files/0003-use-pkcs11-provider-for-OPENSSL-MAJOR-3.patch renamed from meta-ti-bsp/recipes-kernel/linux/files/0003-use-pkcs11-provider-for-OPENSSL-MAJOR-3.patch +0 -0
similarity index 100%
copy from meta-ti-bsp/recipes-kernel/linux/files/0003-use-pkcs11-provider-for-OPENSSL-MAJOR-3.patch
copy to meta-beagle/recipes-kernel/linux/files/0003-use-pkcs11-provider-for-OPENSSL-MAJOR-3.patch
meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb +6 -0
index 37626a1d..86af17d3 100644
@@ -69,3 +69,9 @@ KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
 
 SRC_URI += "file://no-fortify.cfg"
 KERNEL_CONFIG_FRAGMENTS += "${UNPACKDIR}/no-fortify.cfg"
+
+SRC_URI += "\
+    file://0001-move-common-SSL-helper-functions-to-a-header.patch \
+    file://0002-avoid-using-deprecated-ERR_get_error_line.patch \
+    file://0003-use-pkcs11-provider-for-OPENSSL-MAJOR-3.patch \
+"
Signature · 1 line
2.43.0
#2 lore raw
In reply to Ryan Eatmon

meta-ti / na / 20260910025416.3648241-1-reatmon

PRC Results: FAIL

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed

=========================================================
apply-yocto-patch: FAIL
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH 1/2] u-boot-bb.org: Fixes for OpenSSL 4.0
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Wed, 9 Sep 2026 21:54:15 -0500
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: e02872e0c4e7a86c648604cd0b5869bb83bbd45d

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.master.202609011013
- Commit SHA: 0424eea6b0f3f37e57500b6a65a24cbe39427ad8

Patches
----------------------------------------
FAIL - [meta-ti][master][PATCH 2/2] linux-bb.org_6.6: Backport OpenSSL 4.0 patches
error: meta-ti-bsp/recipes-kernel/linux/files/0001-move-common-SSL-helper-functions-to-a-header.patch: does not exist in index
error: meta-ti-bsp/recipes-kernel/linux/files/0002-avoid-using-deprecated-ERR_get_error_line.patch: does not exist in index
error: meta-ti-bsp/recipes-kernel/linux/files/0003-use-pkcs11-provider-for-OPENSSL-MAJOR-3.patch: does not exist in index
Applying: linux-bb.org_6.6: Backport OpenSSL 4.0 patches
Patch failed at 0001 linux-bb.org_6.6: Backport OpenSSL 4.0 patches