scarthgap/u-boot: upgrade to 2025.04
cover scarthgap/u-boot: upgrade to 2025.04
From: Tim Orling <[email protected]>
Apply selected patches from "master" on top of existing 2024.04
NOTE: There are features in 2025.07-rcX that are desired, but we will wait until 2025.07 upgrade lands in "master".
The following changes since commit 66ceeebd047d7fdfc8668b300319a76da8ae257d:
u-boot: update to final v2024.04 release (2024-04-05 07:38:57 -0700)
are available in the Git repository at:
https://github.com/moto-timo/meta-lts-mixins scarthgap/u-boot-2025.04
https://github.com/moto-timo/meta-lts-mixins/tree/scarthgap/u-boot-2025.04
Fabio Estevam (5):
u-boot: upgrade 2024.04 -> 2024.07
u-boot: upgrade 2024.07 -> 2024.10
u-boot: Update Upstream-Status
u-boot: upgrade 2024.10 -> 2025.01
u-boot: upgrade 2025.01 -> 2025.04
Florian Amstutz (1):
u-boot: Fix potential index error issues in do_deploy with multiple
u-boot configurations
Maik Otto (1):
u-boot: Set CVE_PRODUCT
Markus Volk (1):
u-boot: Add patch to use SWIG_AppendOutput
Otavio Salvador (1):
u-boot: Ensure we use BFD as linker even if using GCC for it
Ryan Eatmon (1):
u-boot.inc: Refactor do_* steps into functions that can be overridden
Tim Orling (1):
u-boot-tools.inc: Fix variable assignment whitespace
recipes-bsp/u-boot/u-boot-common.inc | 4 +-
recipes-bsp/u-boot/u-boot-configure.inc | 36 ++-
recipes-bsp/u-boot/u-boot-tools.inc | 2 +-
...ols_2024.04.bb => u-boot-tools_2025.04.bb} | 0
recipes-bsp/u-boot/u-boot.inc | 287 ++++++++++++------
recipes-bsp/u-boot/u-boot_2024.04.bb | 5 -
recipes-bsp/u-boot/u-boot_2025.04.bb | 4 +
7 files changed, 220 insertions(+), 118 deletions(-)
rename recipes-bsp/u-boot/{u-boot-tools_2024.04.bb => u-boot-tools_2025.04.bb} (100%)
delete mode 100644 recipes-bsp/u-boot/u-boot_2024.04.bb
create mode 100644 recipes-bsp/u-boot/u-boot_2025.04.bbSignature · 1 line
2.43.0
PATCH 1/11 u-boot: Fix potential index error issues in do_deploy with multiple u-boot configurations
From: Florian Amstutz <[email protected]>
If i or j have not been unset in do_deploy:prepend functions, images are not correctly copied to DEPLOYDIR.
(From OE-Core rev: 5a0764eaac90bd62dac4a387eed5eb68f556412f)
--- recipes-bsp/u-boot/u-boot.inc | 1 + 1 file changed, 1 insertion(+)
recipes-bsp/u-boot/u-boot.inc +1 -0
@@ -217,6 +217,7 @@ RDEPENDS:${PN} += "${PN}-env" do_deploy () { if [ -n "${UBOOT_CONFIG}" ] then + unset i j for config in ${UBOOT_MACHINE}; do i=$(expr $i + 1); for type in ${UBOOT_CONFIG}; do
Signature · 1 line
2.43.0
PATCH 2/11 u-boot: upgrade 2024.04 -> 2024.07
In reply to [email protected]From: Fabio Estevam <[email protected]>
Upgrade to U-Boot 2024.07.
(From OE-Core rev: 377e8d7fc019b0b2a0fd020e51741a4543f5f209)
---
recipes-bsp/u-boot/u-boot-common.inc | 2 +-
.../u-boot/{u-boot-tools_2024.04.bb => u-boot-tools_2024.07.bb} | 0
recipes-bsp/u-boot/{u-boot_2024.04.bb => u-boot_2024.07.bb} | 0
3 files changed, 1 insertion(+), 1 deletion(-)
rename recipes-bsp/u-boot/{u-boot-tools_2024.04.bb => u-boot-tools_2024.07.bb} (100%)
rename recipes-bsp/u-boot/{u-boot_2024.04.bb => u-boot_2024.07.bb} (100%)recipes-bsp/u-boot/u-boot-common.inc +1 -1
@@ -12,7 +12,7 @@ PE = "1" # We use the revision in order to avoid having to fetch it from the # repo during parse -SRCREV = "25049ad560826f7dc1c4740883b0016014a59789" +SRCREV = "3f772959501c99fbe5aa0b22a36efe3478d1ae1c" SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master"
recipes-bsp/u-boot/u-boot-tools_2024.07.bb renamed from recipes-bsp/u-boot/u-boot-tools_2024.04.bb +0 -0
recipes-bsp/u-boot/u-boot_2024.07.bb renamed from recipes-bsp/u-boot/u-boot_2024.04.bb +0 -0
Signature · 1 line
2.43.0
PATCH 3/11 u-boot.inc: Refactor do_* steps into functions that can be overridden
In reply to [email protected]From: Ryan Eatmon <[email protected]>
The looping logic for handling (and not handling) UBOOT_CONFIG has led to the various do_* functions to be large and unwieldy. In order to modify one of the functional blocks inside of a loop (or in the else condition) means you either have to replace the function entirely, or append the function and undo something it did and then do what you need for your change.
This refactor breaks out all of the inner loops and else clauses into new functions that themselves can be overridden without needing to worry about the bulk of the looping logic.
It should not break any existing recipes doing prepends, appends, or overrides. None of the functional blocks were changed, just refactored out into new functions.
(From OE-Core rev: 937bcc229502fcc154cc676b4fcc93c561873def)
--- recipes-bsp/u-boot/u-boot-configure.inc | 36 ++- recipes-bsp/u-boot/u-boot.inc | 281 ++++++++++++++++-------- 2 files changed, 208 insertions(+), 109 deletions(-)
recipes-bsp/u-boot/u-boot-configure.inc +24 -12
@@ -16,23 +16,35 @@ do_configure () { for type in ${UBOOT_CONFIG}; do j=$(expr $j + 1); if [ $j -eq $i ]; then - oe_runmake -C ${S} O=${B}/${config} ${config} - if [ -n "${@' '.join(find_cfgs(d))}" ]; then - merge_config.sh -m -O ${B}/${config} ${B}/${config}/.config ${@" ".join(find_cfgs(d))} - oe_runmake -C ${S} O=${B}/${config} oldconfig - fi + uboot_configure_config $config $type fi done unset j done unset i else - if [ -n "${UBOOT_MACHINE}" ]; then - oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE} - else - oe_runmake -C ${S} O=${B} oldconfig - fi - merge_config.sh -m .config ${@" ".join(find_cfgs(d))} - cml1_do_configure + uboot_configure fi } + +uboot_configure_config () { + config=$1 + type=$2 + + oe_runmake -C ${S} O=${B}/${config} ${config} + if [ -n "${@' '.join(find_cfgs(d))}" ]; then + merge_config.sh -m -O ${B}/${config} ${B}/${config}/.config ${@" ".join(find_cfgs(d))} + oe_runmake -C ${S} O=${B}/${config} oldconfig + fi +} + +uboot_configure () { + if [ -n "${UBOOT_MACHINE}" ]; then + oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE} + else + oe_runmake -C ${S} O=${B} oldconfig + fi + merge_config.sh -m .config ${@" ".join(find_cfgs(d))} + cml1_do_configure +} +
recipes-bsp/u-boot/u-boot.inc +184 -97
387 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH 4/11 u-boot: Ensure we use BFD as linker even if using GCC for it
In reply to [email protected]From: Otavio Salvador <[email protected]>
If we are using 'ld-is-gold' as DISTRO_FEATURE, the U-Boot Makefile has mechanisms to ensure that we use BFD as linker. However, this does not work for the GCC when it is used as linking tool.
To support that, we added explicit BFD use whenever we have the DISTRO_FEATURE feature enabled.
(From OE-Core rev: d36ee7a87c0d89b2820eea4bfcdae342adc75019)
--- recipes-bsp/u-boot/u-boot.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-bsp/u-boot/u-boot.inc +2 -1
@@ -9,7 +9,8 @@ inherit uboot-config uboot-extlinux-config uboot-sign deploy python3native kerne DEPENDS += "swig-native" -EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${DEBUG_PREFIX_MAP}" V=1' +EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} V=1' +EXTRA_OEMAKE += 'CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)} ${DEBUG_PREFIX_MAP}"' EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"' EXTRA_OEMAKE += 'STAGING_INCDIR=${STAGING_INCDIR_NATIVE} STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE}'
Signature · 1 line
2.43.0
PATCH 5/11 u-boot: upgrade 2024.07 -> 2024.10
In reply to [email protected]From: Fabio Estevam <[email protected]>
Upgrade to U-Boot 2024.10.
Add the gnutls-native dependency because now U-Boot needs it installed on the host machine to handle the CONFIG_TOOLS_MKEFICAPSULE option.
(From OE-Core rev: e3ece22060725c9eebc0feed9b2be2d00ce4bf8e)
---
recipes-bsp/u-boot/u-boot-common.inc | 2 +-
.../{u-boot-tools_2024.07.bb => u-boot-tools_2024.10.bb} | 0
recipes-bsp/u-boot/u-boot_2024.07.bb | 5 -----
recipes-bsp/u-boot/u-boot_2024.10.bb | 4 ++++
4 files changed, 5 insertions(+), 6 deletions(-)
rename recipes-bsp/u-boot/{u-boot-tools_2024.07.bb => u-boot-tools_2024.10.bb} (100%)
delete mode 100644 recipes-bsp/u-boot/u-boot_2024.07.bb
create mode 100644 recipes-bsp/u-boot/u-boot_2024.10.bbrecipes-bsp/u-boot/u-boot-common.inc +1 -1
@@ -12,7 +12,7 @@ PE = "1" # We use the revision in order to avoid having to fetch it from the # repo during parse -SRCREV = "3f772959501c99fbe5aa0b22a36efe3478d1ae1c" +SRCREV = "f919c3a889f0ec7d63a48b5d0ed064386b0980bd" SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master"
recipes-bsp/u-boot/u-boot-tools_2024.10.bb renamed from recipes-bsp/u-boot/u-boot-tools_2024.07.bb +0 -0
recipes-bsp/u-boot/u-boot_2024.07.bb deleted +0 -5
@@ -1,5 +0,0 @@ -require u-boot-common.inc -require u-boot.inc - -DEPENDS += "bc-native dtc-native python3-pyelftools-native" -
recipes-bsp/u-boot/u-boot_2024.10.bb new file +4 -0
@@ -0,0 +1,4 @@ +require u-boot-common.inc +require u-boot.inc + +DEPENDS += "bc-native dtc-native gnutls-native python3-pyelftools-native"
Signature · 1 line
2.43.0
PATCH 6/11 u-boot: Add patch to use SWIG_AppendOutput
In reply to [email protected]From: Markus Volk <[email protected]>
Swig has changed language specific AppendOutput functions. The helper macro SWIG_AppendOutput remains unchanged. Use that instead of SWIG_Python_AppendOutput, which would require an extra parameter since swig 4.3.0.
(From OE-Core rev: 4eae7888e91c7c864bf490dee38716267be6202e)
--- ...bfdt-libfdt.i_shipped-Use-SWIG_Appen.patch | 60 +++++++++++++++++++ recipes-bsp/u-boot/u-boot-common.inc | 1 + 2 files changed, 61 insertions(+) create mode 100644 recipes-bsp/u-boot/files/0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch
recipes-bsp/u-boot/files/0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch new file +60 -0
@@ -0,0 +1,60 @@ +From e093607e9a08e9c29b7bbaa6aeb137036db798a6 Mon Sep 17 00:00:00 2001 +From: Markus Volk <[email protected]> +Date: Wed, 30 Oct 2024 05:46:00 +0100 +Subject: [PATCH] scripts/dtc/pylibfdt/libfdt.i_shipped: Use SWIG_AppendOutput +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Swig has changed language specific AppendOutput functions. The helper +macro SWIG_AppendOutput remains unchanged. Use that instead +of SWIG_Python_AppendOutput, which would require an extra parameter +since swig 4.3.0. + +/home/flk/poky/build-test/tmp/work/qemux86_64-poky-linux/u-boot/2024.10/git/arch/x86/cpu/u-boot-64.lds +| scripts/dtc/pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_next_node’: +| scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ +| 5581 | resultobj = SWIG_Python_AppendOutput(resultobj, val); +| | ^~~~~~~~~~~~~~~~~~~~~~~~ + +Upstream-Status: Submitted + +Signed-off-by: Markus Volk <[email protected]> +--- + scripts/dtc/pylibfdt/libfdt.i_shipped | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/scripts/dtc/pylibfdt/libfdt.i_shipped b/scripts/dtc/pylibfdt/libfdt.i_shipped +index 56cc5d48f4..e4659489a9 100644 +--- a/scripts/dtc/pylibfdt/libfdt.i_shipped ++++ b/scripts/dtc/pylibfdt/libfdt.i_shipped +@@ -1037,7 +1037,7 @@ typedef uint32_t fdt32_t; + fdt_string(fdt1, fdt32_to_cpu($1->nameoff))); + buff = PyByteArray_FromStringAndSize( + (const char *)($1 + 1), fdt32_to_cpu($1->len)); +- resultobj = SWIG_Python_AppendOutput(resultobj, buff); ++ resultobj = SWIG_AppendOutput(resultobj, buff); + } + } + +@@ -1076,7 +1076,7 @@ typedef uint32_t fdt32_t; + + %typemap(argout) int *depth { + PyObject *val = Py_BuildValue("i", *arg$argnum); +- resultobj = SWIG_Python_AppendOutput(resultobj, val); ++ resultobj = SWIG_AppendOutput(resultobj, val); + } + + %apply int *depth { int *depth }; +@@ -1092,7 +1092,7 @@ typedef uint32_t fdt32_t; + if (PyTuple_GET_SIZE(resultobj) == 0) + resultobj = val; + else +- resultobj = SWIG_Python_AppendOutput(resultobj, val); ++ resultobj = SWIG_AppendOutput(resultobj, val); + } + } + +-- +2.47.0 +
recipes-bsp/u-boot/u-boot-common.inc +1 -0
@@ -15,6 +15,7 @@ PE = "1" SRCREV = "f919c3a889f0ec7d63a48b5d0ed064386b0980bd" SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master" +SRC_URI += "file://0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch" S = "${WORKDIR}/git" B = "${WORKDIR}/build"
Signature · 1 line
2.43.0
PATCH 7/11 u-boot: Update Upstream-Status
In reply to [email protected]From: Fabio Estevam <[email protected]>
0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch is now applied in U-Boot upstream.
Update the Upstream-Status accordingly.
(From OE-Core rev: 718f97d90b13c190e2b1852447764c31464ebdf1)
--- ...1-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/u-boot/files/0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch +1 -1
@@ -17,7 +17,7 @@ since swig 4.3.0. | 5581 | resultobj = SWIG_Python_AppendOutput(resultobj, val); | | ^~~~~~~~~~~~~~~~~~~~~~~~ -Upstream-Status: Submitted +Upstream-Status: Backport [https://github.com/u-boot/u-boot/commit/a63456b9191fae2fe49f4b121e025792022e3950] Signed-off-by: Markus Volk <[email protected]> ---
Signature · 1 line
2.43.0
PATCH 8/11 u-boot: Set CVE_PRODUCT
In reply to [email protected]From: Maik Otto <[email protected]>
The CPE vendor is "denx" and the CPE product is "u-boot". Set CVE_PRODUCT for properly matching in the NVD database.
(From OE-Core rev: d2e5d427de13b33694a1d802f5ac833b2c04ced6)
--- recipes-bsp/u-boot/u-boot.inc | 2 ++ 1 file changed, 2 insertions(+)
recipes-bsp/u-boot/u-boot.inc +2 -0
@@ -20,6 +20,8 @@ PACKAGECONFIG ??= "openssl" # a host build dependency. PACKAGECONFIG[openssl] = ",,openssl-native" +CVE_PRODUCT = "denx:u-boot" + # Allow setting an additional version string that will be picked up by the # u-boot build system and appended to the u-boot version. If the .scmversion # file already exists it will not be overwritten.
Signature · 1 line
2.43.0
PATCH 9/11 u-boot: upgrade 2024.10 -> 2025.01
In reply to [email protected]From: Fabio Estevam <[email protected]>
Upgrade to U-Boot 2025.01.
Remove the patch as it has been upstreamed.
(From OE-Core rev: e16a24f04b56ca3fec6509a3286e2e3bb5c21c1e)
---
...bfdt-libfdt.i_shipped-Use-SWIG_Appen.patch | 60 -------------------
recipes-bsp/u-boot/u-boot-common.inc | 3 +-
...ols_2024.10.bb => u-boot-tools_2025.01.bb} | 0
.../{u-boot_2024.10.bb => u-boot_2025.01.bb} | 0
4 files changed, 1 insertion(+), 62 deletions(-)
delete mode 100644 recipes-bsp/u-boot/files/0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch
rename recipes-bsp/u-boot/{u-boot-tools_2024.10.bb => u-boot-tools_2025.01.bb} (100%)
rename recipes-bsp/u-boot/{u-boot_2024.10.bb => u-boot_2025.01.bb} (100%)recipes-bsp/u-boot/files/0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch deleted +0 -60
@@ -1,60 +0,0 @@ -From e093607e9a08e9c29b7bbaa6aeb137036db798a6 Mon Sep 17 00:00:00 2001 -From: Markus Volk <[email protected]> -Date: Wed, 30 Oct 2024 05:46:00 +0100 -Subject: [PATCH] scripts/dtc/pylibfdt/libfdt.i_shipped: Use SWIG_AppendOutput -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Swig has changed language specific AppendOutput functions. The helper -macro SWIG_AppendOutput remains unchanged. Use that instead -of SWIG_Python_AppendOutput, which would require an extra parameter -since swig 4.3.0. - -/home/flk/poky/build-test/tmp/work/qemux86_64-poky-linux/u-boot/2024.10/git/arch/x86/cpu/u-boot-64.lds -| scripts/dtc/pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_next_node’: -| scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ -| 5581 | resultobj = SWIG_Python_AppendOutput(resultobj, val); -| | ^~~~~~~~~~~~~~~~~~~~~~~~ - -Upstream-Status: Backport [https://github.com/u-boot/u-boot/commit/a63456b9191fae2fe49f4b121e025792022e3950] - -Signed-off-by: Markus Volk <[email protected]> ---- - scripts/dtc/pylibfdt/libfdt.i_shipped | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/scripts/dtc/pylibfdt/libfdt.i_shipped b/scripts/dtc/pylibfdt/libfdt.i_shipped -index 56cc5d48f4..e4659489a9 100644 ---- a/scripts/dtc/pylibfdt/libfdt.i_shipped -+++ b/scripts/dtc/pylibfdt/libfdt.i_shipped -@@ -1037,7 +1037,7 @@ typedef uint32_t fdt32_t; - fdt_string(fdt1, fdt32_to_cpu($1->nameoff))); - buff = PyByteArray_FromStringAndSize( - (const char *)($1 + 1), fdt32_to_cpu($1->len)); -- resultobj = SWIG_Python_AppendOutput(resultobj, buff); -+ resultobj = SWIG_AppendOutput(resultobj, buff); - } - } - -@@ -1076,7 +1076,7 @@ typedef uint32_t fdt32_t; - - %typemap(argout) int *depth { - PyObject *val = Py_BuildValue("i", *arg$argnum); -- resultobj = SWIG_Python_AppendOutput(resultobj, val); -+ resultobj = SWIG_AppendOutput(resultobj, val); - } - - %apply int *depth { int *depth }; -@@ -1092,7 +1092,7 @@ typedef uint32_t fdt32_t; - if (PyTuple_GET_SIZE(resultobj) == 0) - resultobj = val; - else -- resultobj = SWIG_Python_AppendOutput(resultobj, val); -+ resultobj = SWIG_AppendOutput(resultobj, val); - } - } - --- -2.47.0 -
recipes-bsp/u-boot/u-boot-common.inc +1 -2
@@ -12,10 +12,9 @@ PE = "1" # We use the revision in order to avoid having to fetch it from the # repo during parse -SRCREV = "f919c3a889f0ec7d63a48b5d0ed064386b0980bd" +SRCREV = "6d41f0a39d6423c8e57e92ebbe9f8c0333a63f72" SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master" -SRC_URI += "file://0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch" S = "${WORKDIR}/git" B = "${WORKDIR}/build"
recipes-bsp/u-boot/u-boot-tools_2025.01.bb renamed from recipes-bsp/u-boot/u-boot-tools_2024.10.bb +0 -0
recipes-bsp/u-boot/u-boot_2025.01.bb renamed from recipes-bsp/u-boot/u-boot_2024.10.bb +0 -0
Signature · 1 line
2.43.0
PATCH 10/11 u-boot-tools.inc: Fix variable assignment whitespace
In reply to [email protected]From: Tim Orling <[email protected]>
Recipes are much more readable with whitespace around the assignment operators. Fix various assignments in OE-Core to show this is definitely the preferred formatting.
(From OE-Core rev: 30ea609d3357fb3de911f2f6a5e6856c151b976a)
Only apply to u-boot-tools.inc
--- recipes-bsp/u-boot/u-boot-tools.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/u-boot/u-boot-tools.inc +1 -1
@@ -2,7 +2,7 @@ SUMMARY = "U-Boot bootloader tools" DEPENDS += "gnutls openssl util-linux swig-native" inherit python3native -export STAGING_INCDIR="${STAGING_INCDIR_NATIVE}" +export STAGING_INCDIR = "${STAGING_INCDIR_NATIVE}" PROVIDES = "${MLPREFIX}u-boot-mkimage ${MLPREFIX}u-boot-mkenvimage" PROVIDES:class-native = "u-boot-mkimage-native u-boot-mkenvimage-native"
Signature · 1 line
2.43.0
PATCH 11/11 u-boot: upgrade 2025.01 -> 2025.04
In reply to [email protected]From: Fabio Estevam <[email protected]>
Upgrade to U-Boot 2025.04.
While at it, pass the tag parameter in SRC_URI.
(From OE-Core rev: 4a1671159ec05e9b013a7fd31f65d50302e657e0)
---
recipes-bsp/u-boot/u-boot-common.inc | 4 ++--
.../{u-boot-tools_2025.01.bb => u-boot-tools_2025.04.bb} | 0
recipes-bsp/u-boot/{u-boot_2025.01.bb => u-boot_2025.04.bb} | 0
3 files changed, 2 insertions(+), 2 deletions(-)
rename recipes-bsp/u-boot/{u-boot-tools_2025.01.bb => u-boot-tools_2025.04.bb} (100%)
rename recipes-bsp/u-boot/{u-boot_2025.01.bb => u-boot_2025.04.bb} (100%)recipes-bsp/u-boot/u-boot-common.inc +2 -2
@@ -12,9 +12,9 @@ PE = "1" # We use the revision in order to avoid having to fetch it from the # repo during parse -SRCREV = "6d41f0a39d6423c8e57e92ebbe9f8c0333a63f72" +SRCREV = "34820924edbc4ec7803eb89d9852f4b870fa760a" -SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master" +SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master;tag=v${PV}" S = "${WORKDIR}/git" B = "${WORKDIR}/build"
recipes-bsp/u-boot/u-boot-tools_2025.04.bb renamed from recipes-bsp/u-boot/u-boot-tools_2025.01.bb +0 -0
recipes-bsp/u-boot/u-boot_2025.04.bb renamed from recipes-bsp/u-boot/u-boot_2025.01.bb +0 -0
Signature · 1 line
2.43.0
PATCH 12/12 u-boot-common.inc: drop tag from SRC_URI
In reply to [email protected]From: Tim Orling <[email protected]>
Fixes parsing error:
WARNING: .../meta-lts-mixins/recipes-bsp/u-boot/u-boot_2025.04.bb: Exception during build_dependencies for fetcher_hashes_dummyfunc| ETA: --:--:--
WARNING: .../meta-lts-mixins/recipes-bsp/u-boot/u-boot_2025.04.bb: Error during finalise of .../meta-lts-mixins/recipes-bsp/u-boot/u-boot_2025.04.bb
ERROR: ExpansionError during parsing .../meta-lts-mixins/recipes-bsp/u-boot/u-boot_2025.04.bb | ETA: 0:01:39
bb.data_smart.ExpansionError: Failure expanding variable fetcher_hashes_dummyfunc[vardepvalue], expression was ${@bb.fetch.get_hashvalue(d)} which triggered exception FetchError: Fetcher failure: Conflicting revisions (34820924edbc4ec7803eb89d9852f4b870fa760a from SRCREV and v2025.04 from the url) found, please specify one valid value The variable dependency chain for the failure is: fetcher_hashes_dummyfunc[vardepvalue]
ERROR: Parsing halted due to errors, see error messages above
WARNING: .../meta-lts-mixins/recipes-bsp/u-boot/u-boot-tools_2025.04.bb: Exception during build_dependencies for fetcher_hashes_dummyfunc
WARNING: .../meta-lts-mixins/recipes-bsp/u-boot/u-boot-tools_2025.04.bb: Error during finalise of .../meta-lts-mixins/recipes-bsp/u-boot/u-boot-tools_2025.04.bb
--- recipes-bsp/u-boot/u-boot-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/u-boot/u-boot-common.inc +1 -1
@@ -14,7 +14,7 @@ PE = "1" # repo during parse SRCREV = "34820924edbc4ec7803eb89d9852f4b870fa760a" -SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master;tag=v${PV}" +SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master" S = "${WORKDIR}/git" B = "${WORKDIR}/build"
Signature · 1 line
2.43.0
I haven't had any feedback at all (positive or negative) on this series. But it boots for me, so I am merging it.
Quoted 61 lines · On Wed, May 28, 2025 at 7:41 PM <[email protected]> wrote:
From: Tim Orling <[email protected]>
Apply selected patches from "master" on top of existing 2024.04
NOTE: There are features in 2025.07-rcX that are desired, but we will wait until 2025.07 upgrade lands in "master".
The following changes since commit
66ceeebd047d7fdfc8668b300319a76da8ae257d:u-boot: update to final v2024.04 release (2024-04-05 07:38:57 -0700)
are available in the Git repository at:
https://github.com/moto-timo/meta-lts-mixins scarthgap/u-boot-2025.04
https://github.com/moto-timo/meta-lts-mixins/tree/scarthgap/u-boot-2025.04
Fabio Estevam (5):
u-boot: upgrade 2024.04 -> 2024.07
u-boot: upgrade 2024.07 -> 2024.10
u-boot: Update Upstream-Status
u-boot: upgrade 2024.10 -> 2025.01
u-boot: upgrade 2025.01 -> 2025.04Florian Amstutz (1):
u-boot: Fix potential index error issues indo_deploywith multiple
u-boot configurationsMaik Otto (1):
u-boot: SetCVE_PRODUCTMarkus Volk (1):
u-boot: Add patch to useSWIG_AppendOutputOtavio Salvador (1):
u-boot: Ensure we use BFD as linker even if using GCC for itRyan Eatmon (1):
u-boot.inc: Refactor do_* steps into functions that can be overriddenTim Orling (1):
u-boot-tools.inc: Fix variable assignment whitespacerecipes-bsp/u-boot/u-boot-common.inc | 4 +- recipes-bsp/u-boot/u-boot-configure.inc | 36 ++- recipes-bsp/u-boot/u-boot-tools.inc | 2 +- ...ols_2024.04.bb => u-boot-tools_2025.04.bb} | 0 recipes-bsp/u-boot/u-boot.inc | 287 ++++++++++++------ recipes-bsp/u-boot/u-boot_2024.04.bb | 5 - recipes-bsp/u-boot/u-boot_2025.04.bb | 4 + 7 files changed, 220 insertions(+), 118 deletions(-) rename recipes-bsp/u-boot/{u-boot-tools_2024.04.bb => u-boot-tools_2025.04.bb} (100%) delete mode 100644 recipes-bsp/u-boot/u-boot_2024.04.bb create mode 100644 recipes-bsp/u-boot/u-boot_2025.04.bb--
2.43.0
Merged.
Quoted 66 lines · Tim Orling
I haven't had any feedback at all (positive or negative) on this series. But it boots for me, so I am merging it.
Quoted 61 lines · On Wed, May 28, 2025 at 7:41 PM <[email protected]> wrote:
From: Tim Orling <[email protected]>
Apply selected patches from "master" on top of existing 2024.04
NOTE: There are features in 2025.07-rcX that are desired, but we will wait until 2025.07 upgrade lands in "master".
The following changes since commit
66ceeebd047d7fdfc8668b300319a76da8ae257d:u-boot: update to final v2024.04 release (2024-04-05 07:38:57 -0700)
are available in the Git repository at:
https://github.com/moto-timo/meta-lts-mixins scarthgap/u-boot-2025.04
https://github.com/moto-timo/meta-lts-mixins/tree/scarthgap/u-boot-2025.04
Fabio Estevam (5):
u-boot: upgrade 2024.04 -> 2024.07
u-boot: upgrade 2024.07 -> 2024.10
u-boot: Update Upstream-Status
u-boot: upgrade 2024.10 -> 2025.01
u-boot: upgrade 2025.01 -> 2025.04Florian Amstutz (1):
u-boot: Fix potential index error issues indo_deploywith multiple
u-boot configurationsMaik Otto (1):
u-boot: SetCVE_PRODUCTMarkus Volk (1):
u-boot: Add patch to useSWIG_AppendOutputOtavio Salvador (1):
u-boot: Ensure we use BFD as linker even if using GCC for itRyan Eatmon (1):
u-boot.inc: Refactor do_* steps into functions that can be overriddenTim Orling (1):
u-boot-tools.inc: Fix variable assignment whitespacerecipes-bsp/u-boot/u-boot-common.inc | 4 +- recipes-bsp/u-boot/u-boot-configure.inc | 36 ++- recipes-bsp/u-boot/u-boot-tools.inc | 2 +- ...ols_2024.04.bb => u-boot-tools_2025.04.bb} | 0 recipes-bsp/u-boot/u-boot.inc | 287 ++++++++++++------ recipes-bsp/u-boot/u-boot_2024.04.bb | 5 - recipes-bsp/u-boot/u-boot_2025.04.bb | 4 + 7 files changed, 220 insertions(+), 118 deletions(-) rename recipes-bsp/u-boot/{u-boot-tools_2024.04.bb => u-boot-tools_2025.04.bb} (100%) delete mode 100644 recipes-bsp/u-boot/u-boot_2024.04.bb create mode 100644 recipes-bsp/u-boot/u-boot_2025.04.bb--
2.43.0