diff mbox series

arm-bsp: add u-boot v2022.10 support

Message ID 20230127134523.11563-1-jon.mason@arm.com
State New
Headers show
Series arm-bsp: add u-boot v2022.10 support | expand

Commit Message

Jon Mason Jan. 27, 2023, 1:45 p.m. UTC
Upstream has updated u-boot to v2023.01, but the update is causing
problems with some machines.  Temporarily add a v2022.10 recipe until
the issues can be resolved.

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 meta-arm/conf/machine/qemuarm-secureboot.conf |  2 +-
 meta-arm/recipes-bsp/u-boot/u-boot_2022.10.bb | 26 +++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100644 meta-arm/recipes-bsp/u-boot/u-boot_2022.10.bb

Comments

Jon Mason Jan. 27, 2023, 6:24 p.m. UTC | #1
On Fri, 27 Jan 2023 08:45:23 -0500, Jon Mason wrote:
> Upstream has updated u-boot to v2023.01, but the update is causing
> problems with some machines.  Temporarily add a v2022.10 recipe until
> the issues can be resolved.

Applied, thanks!

[1/1] arm-bsp: add u-boot v2022.10 support
      commit: 508ed52a4f1d834f97d34ef395660a5c25d2edc4

Best regards,
diff mbox series

Patch

diff --git a/meta-arm/conf/machine/qemuarm-secureboot.conf b/meta-arm/conf/machine/qemuarm-secureboot.conf
index db02dc68..cb54fe94 100644
--- a/meta-arm/conf/machine/qemuarm-secureboot.conf
+++ b/meta-arm/conf/machine/qemuarm-secureboot.conf
@@ -23,4 +23,4 @@  IMAGE_BOOT_FILES = "${KERNEL_IMAGETYPE}"
 MACHINE_FEATURES += "optee-ftpm"
 
 PREFERRED_VERSION_optee-os ?= "3.18.%"
-
+PREFERRED_VERSION_u-boot ?= "2022.10"
diff --git a/meta-arm/recipes-bsp/u-boot/u-boot_2022.10.bb b/meta-arm/recipes-bsp/u-boot/u-boot_2022.10.bb
new file mode 100644
index 00000000..905ae552
--- /dev/null
+++ b/meta-arm/recipes-bsp/u-boot/u-boot_2022.10.bb
@@ -0,0 +1,26 @@ 
+HOMEPAGE = "http://www.denx.de/wiki/U-Boot/WebHome"
+DESCRIPTION = "U-Boot, a boot loader for Embedded boards based on PowerPC, \
+ARM, MIPS and several other processors, which can be installed in a boot \
+ROM and used to initialize and test the hardware or to download and run \
+application code."
+SECTION = "bootloaders"
+DEPENDS += "flex-native bison-native"
+
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1"
+PE = "1"
+
+# We use the revision in order to avoid having to fetch it from the
+# repo during parse
+SRCREV = "4debc57a3da6c3f4d3f89a637e99206f4cea0a96"
+
+SRC_URI = "git://git.denx.de/u-boot.git;branch=master \
+          "
+
+S = "${WORKDIR}/git"
+B = "${WORKDIR}/build"
+do_configure[cleandirs] = "${B}"
+
+require recipes-bsp/u-boot/u-boot.inc
+
+DEPENDS += "bc-native dtc-native gnutls-native"