diff mbox series

u-boot: upgrade 2025.04 -> 2025.07

Message ID 20250708012959.77522-1-festevam@gmail.com
State New
Headers show
Series u-boot: upgrade 2025.04 -> 2025.07 | expand

Commit Message

Fabio Estevam July 8, 2025, 1:29 a.m. UTC
Upgrade to U-Boot 2025.07.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 meta/recipes-bsp/u-boot/u-boot-common.inc                       | 2 +-
 .../u-boot/{u-boot-tools_2025.04.bb => u-boot-tools_2025.07.bb} | 0
 .../recipes-bsp/u-boot/{u-boot_2025.04.bb => u-boot_2025.07.bb} | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-bsp/u-boot/{u-boot-tools_2025.04.bb => u-boot-tools_2025.07.bb} (100%)
 rename meta/recipes-bsp/u-boot/{u-boot_2025.04.bb => u-boot_2025.07.bb} (100%)

Comments

Mathieu Dubois-Briand July 8, 2025, 12:37 p.m. UTC | #1
On Tue Jul 8, 2025 at 3:29 AM CEST, Fabio Estevam via lists.openembedded.org wrote:
> Upgrade to U-Boot 2025.07.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---

Hi Fabio,

Thanks for your patch.

It looks like this is breaking selftests on the autobuilder:

2025-07-08 07:43:52,116 - oe-selftest - INFO - fitimage.UBootFitImageTests.test_sign_cascaded_uboot_fit_image (subunit.RemotedTestCase)
2025-07-08 07:43:52,118 - oe-selftest - INFO -  ... FAIL
...
ERROR: u-boot-1_2025.07-r0 do_compile: oe_runmake failed
...
| arm-poky-linux-gnueabi-ld.bfd: cannot find arch/arm/lib/lib.a: No such file or directory


Both on debian and armhost:

https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1923
https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/2077

Can you have a look at these failures please?
Fabio Estevam July 8, 2025, 5:04 p.m. UTC | #2
Hi Mathieu,

On Tue, Jul 8, 2025 at 9:37 AM Mathieu Dubois-Briand
<mathieu.dubois-briand@bootlin.com> wrote:
>
> On Tue Jul 8, 2025 at 3:29 AM CEST, Fabio Estevam via lists.openembedded.org wrote:
> > Upgrade to U-Boot 2025.07.
> >
> > Signed-off-by: Fabio Estevam <festevam@gmail.com>
> > ---
>
> Hi Fabio,
>
> Thanks for your patch.
>
> It looks like this is breaking selftests on the autobuilder:
>
> 2025-07-08 07:43:52,116 - oe-selftest - INFO - fitimage.UBootFitImageTests.test_sign_cascaded_uboot_fit_image (subunit.RemotedTestCase)
> 2025-07-08 07:43:52,118 - oe-selftest - INFO -  ... FAIL
> ...
> ERROR: u-boot-1_2025.07-r0 do_compile: oe_runmake failed
> ...
> | arm-poky-linux-gnueabi-ld.bfd: cannot find arch/arm/lib/lib.a: No such file or directory
>
>
> Both on debian and armhost:
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1923
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/2077
>
> Can you have a look at these failures please?

Thanks for the report.

I am adding some folks on CC in case they have some ideas.
Tom Rini July 8, 2025, 5:57 p.m. UTC | #3
On Tue, Jul 08, 2025 at 02:04:15PM -0300, Fabio Estevam wrote:
> Hi Mathieu,
> 
> On Tue, Jul 8, 2025 at 9:37 AM Mathieu Dubois-Briand
> <mathieu.dubois-briand@bootlin.com> wrote:
> >
> > On Tue Jul 8, 2025 at 3:29 AM CEST, Fabio Estevam via lists.openembedded.org wrote:
> > > Upgrade to U-Boot 2025.07.
> > >
> > > Signed-off-by: Fabio Estevam <festevam@gmail.com>
> > > ---
> >
> > Hi Fabio,
> >
> > Thanks for your patch.
> >
> > It looks like this is breaking selftests on the autobuilder:
> >
> > 2025-07-08 07:43:52,116 - oe-selftest - INFO - fitimage.UBootFitImageTests.test_sign_cascaded_uboot_fit_image (subunit.RemotedTestCase)
> > 2025-07-08 07:43:52,118 - oe-selftest - INFO -  ... FAIL
> > ...
> > ERROR: u-boot-1_2025.07-r0 do_compile: oe_runmake failed
> > ...
> > | arm-poky-linux-gnueabi-ld.bfd: cannot find arch/arm/lib/lib.a: No such file or directory
> >
> >
> > Both on debian and armhost:
> >
> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1923
> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/2077
> >
> > Can you have a look at these failures please?
> 
> Thanks for the report.
> 
> I am adding some folks on CC in case they have some ideas.

Interesting. How can we trigger that outside of the autobuilder?
Mathieu Dubois-Briand July 9, 2025, 8:21 a.m. UTC | #4
On Tue Jul 8, 2025 at 7:57 PM CEST, Tom Rini wrote:
> On Tue, Jul 08, 2025 at 02:04:15PM -0300, Fabio Estevam wrote:
>> Hi Mathieu,
>> 
>> On Tue, Jul 8, 2025 at 9:37 AM Mathieu Dubois-Briand
>> <mathieu.dubois-briand@bootlin.com> wrote:
>> >
>> > On Tue Jul 8, 2025 at 3:29 AM CEST, Fabio Estevam via lists.openembedded.org wrote:
>> > > Upgrade to U-Boot 2025.07.
>> > >
>> > > Signed-off-by: Fabio Estevam <festevam@gmail.com>
>> > > ---
>> >
>> > Hi Fabio,
>> >
>> > Thanks for your patch.
>> >
>> > It looks like this is breaking selftests on the autobuilder:
>> >
>> > 2025-07-08 07:43:52,116 - oe-selftest - INFO - fitimage.UBootFitImageTests.test_sign_cascaded_uboot_fit_image (subunit.RemotedTestCase)
>> > 2025-07-08 07:43:52,118 - oe-selftest - INFO -  ... FAIL
>> > ...
>> > ERROR: u-boot-1_2025.07-r0 do_compile: oe_runmake failed
>> > ...
>> > | arm-poky-linux-gnueabi-ld.bfd: cannot find arch/arm/lib/lib.a: No such file or directory
>> >
>> >
>> > Both on debian and armhost:
>> >
>> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1923
>> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/2077
>> >
>> > Can you have a look at these failures please?
>> 
>> Thanks for the report.
>> 
>> I am adding some folks on CC in case they have some ideas.
>
> Interesting. How can we trigger that outside of the autobuilder?

Hi,

It's not so easy to reproduce, as it looks like it is somehow linked
with the host environment: this have been failing on debian workers but
not on the fedora ones.
So basic instructions are below, but this was not enough to reproduce it
in the ubuntu 24.4 docker I've been using so far.

git clone git://git.yoctoproject.org/poky-ci-archive -b autobuilder.yoctoproject.org/valkyrie/a-full-1972
cd poky-ci-archive
. oe-init-build-env

Add following lines in conf/local.conf (I bet only the last one is
really needed, but let's try to be as close as possible as the
autobuilder configuration):
MACHINE = "qemux86-64"
DISTRO = "poky"
SDKMACHINE = "x86_64"
PACKAGE_CLASSES = "package_rpm"
RPM_GPG_SIGN_CHUNK = '1'
IMAGE_INSTALL:append = ' ssh-pregen-hostkeys'
SANITY_TESTED_DISTROS = ''

Add poky-ci-archive/meta-selftest in conf/bblayers.conf.

And finally, run the tests:
oe-selftest -r fitimage.UBootFitImageTests.test_sign_cascaded_uboot_fit_image
oe-selftest -r fitimage.UBootFitImageTests.test_sign_standalone_uboot_atf_tee_fit_image
Freihofer, Adrian July 9, 2025, 9:35 a.m. UTC | #5
On Tue, 2025-07-08 at 11:57 -0600, Tom Rini wrote:
> On Tue, Jul 08, 2025 at 02:04:15PM -0300, Fabio Estevam wrote:
> > Hi Mathieu,
> > 
> > On Tue, Jul 8, 2025 at 9:37 AM Mathieu Dubois-Briand
> > <mathieu.dubois-briand@bootlin.com> wrote:
> > > 
> > > On Tue Jul 8, 2025 at 3:29 AM CEST, Fabio Estevam via
> > > lists.openembedded.org wrote:
> > > > Upgrade to U-Boot 2025.07.
> > > > 
> > > > Signed-off-by: Fabio Estevam <festevam@gmail.com>
> > > > ---
> > > 
> > > Hi Fabio,
> > > 
> > > Thanks for your patch.
> > > 
> > > It looks like this is breaking selftests on the autobuilder:
> > > 
> > > 2025-07-08 07:43:52,116 - oe-selftest - INFO -
> > > fitimage.UBootFitImageTests.test_sign_cascaded_uboot_fit_image
> > > (subunit.RemotedTestCase)
> > > 2025-07-08 07:43:52,118 - oe-selftest - INFO -  ... FAIL
> > > ...
> > > ERROR: u-boot-1_2025.07-r0 do_compile: oe_runmake failed
> > > ...
> > > > arm-poky-linux-gnueabi-ld.bfd: cannot find arch/arm/lib/lib.a:
> > > > No such file or directory
> > > 
> > > 
> > > Both on debian and armhost:
> > > 
> > > https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1923
> > > https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/2077
> > > 
> > > Can you have a look at these failures please?
> > 
> > Thanks for the report.
> > 
> > I am adding some folks on CC in case they have some ideas.
> 
> Interesting. How can we trigger that outside of the autobuilder?
> 

Probably this is not related to the fit image tests as such. It's
probably just u-boot it self which does no longer compile.

The test generates a local.conf file like this:
https://git.yoctoproject.org/poky/tree/meta/lib/oeqa/selftest/cases/fitimage.py#n1414

and then it runs:

bitbake u-boot




Running the test as it runs on the AB should be possible like this:

# Start with a clean, default local.conf
git clone https://git.yoctoproject.org/poky
cd poky
. oe-init-build-env

cat << EOF >> $BUILDDIR/conf/local.conf
# oe-selftest requies that
SANITY_TESTED_DISTROS = ""

# Use Yocto's public sstate-cache
BB_HASHSERVE_UPSTREAM = 'wss://hashserv.yoctoproject.org/ws'
SSTATE_MIRRORS ?= "file://.*
http://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH"
EOF

oe-selftest -v -K -r fitimage.UBootFitImageTests.test_uboot_fit_image

The detailed log file is here:
$BUILDDIR/tmp/log/oe-selftest-results.log



Adrian
Tom Rini July 9, 2025, 2:29 p.m. UTC | #6
On Wed, Jul 09, 2025 at 10:21:34AM +0200, Mathieu Dubois-Briand wrote:
> On Tue Jul 8, 2025 at 7:57 PM CEST, Tom Rini wrote:
> > On Tue, Jul 08, 2025 at 02:04:15PM -0300, Fabio Estevam wrote:
> >> Hi Mathieu,
> >> 
> >> On Tue, Jul 8, 2025 at 9:37 AM Mathieu Dubois-Briand
> >> <mathieu.dubois-briand@bootlin.com> wrote:
> >> >
> >> > On Tue Jul 8, 2025 at 3:29 AM CEST, Fabio Estevam via lists.openembedded.org wrote:
> >> > > Upgrade to U-Boot 2025.07.
> >> > >
> >> > > Signed-off-by: Fabio Estevam <festevam@gmail.com>
> >> > > ---
> >> >
> >> > Hi Fabio,
> >> >
> >> > Thanks for your patch.
> >> >
> >> > It looks like this is breaking selftests on the autobuilder:
> >> >
> >> > 2025-07-08 07:43:52,116 - oe-selftest - INFO - fitimage.UBootFitImageTests.test_sign_cascaded_uboot_fit_image (subunit.RemotedTestCase)
> >> > 2025-07-08 07:43:52,118 - oe-selftest - INFO -  ... FAIL
> >> > ...
> >> > ERROR: u-boot-1_2025.07-r0 do_compile: oe_runmake failed
> >> > ...
> >> > | arm-poky-linux-gnueabi-ld.bfd: cannot find arch/arm/lib/lib.a: No such file or directory
> >> >
> >> >
> >> > Both on debian and armhost:
> >> >
> >> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/1923
> >> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/2077
> >> >
> >> > Can you have a look at these failures please?
> >> 
> >> Thanks for the report.
> >> 
> >> I am adding some folks on CC in case they have some ideas.
> >
> > Interesting. How can we trigger that outside of the autobuilder?
> 
> Hi,
> 
> It's not so easy to reproduce, as it looks like it is somehow linked
> with the host environment: this have been failing on debian workers but
> not on the fedora ones.
> So basic instructions are below, but this was not enough to reproduce it
> in the ubuntu 24.4 docker I've been using so far.
> 
> git clone git://git.yoctoproject.org/poky-ci-archive -b autobuilder.yoctoproject.org/valkyrie/a-full-1972
> cd poky-ci-archive
> . oe-init-build-env
> 
> Add following lines in conf/local.conf (I bet only the last one is
> really needed, but let's try to be as close as possible as the
> autobuilder configuration):
> MACHINE = "qemux86-64"
> DISTRO = "poky"
> SDKMACHINE = "x86_64"
> PACKAGE_CLASSES = "package_rpm"
> RPM_GPG_SIGN_CHUNK = '1'
> IMAGE_INSTALL:append = ' ssh-pregen-hostkeys'
> SANITY_TESTED_DISTROS = ''
> 
> Add poky-ci-archive/meta-selftest in conf/bblayers.conf.
> 
> And finally, run the tests:
> oe-selftest -r fitimage.UBootFitImageTests.test_sign_cascaded_uboot_fit_image
> oe-selftest -r fitimage.UBootFitImageTests.test_sign_standalone_uboot_atf_tee_fit_image

Yeah, looking at the logs it's not even Debian, it's Ubuntu 22.04, which
is what we use for our CI too. I guess I would suggest bisect'ing with
the autobuilder until finding out what commit breaks and then someone
from the U-Boot side of things can chime in.
diff mbox series

Patch

diff --git a/meta/recipes-bsp/u-boot/u-boot-common.inc b/meta/recipes-bsp/u-boot/u-boot-common.inc
index 617f5a60bb88..d087525edfea 100644
--- a/meta/recipes-bsp/u-boot/u-boot-common.inc
+++ b/meta/recipes-bsp/u-boot/u-boot-common.inc
@@ -12,7 +12,7 @@  PE = "1"
 
 # We use the revision in order to avoid having to fetch it from the
 # repo during parse
-SRCREV = "34820924edbc4ec7803eb89d9852f4b870fa760a"
+SRCREV = "e37de002fac3895e8d0b60ae2015e17bb33e2b5b"
 
 SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master;tag=v${PV}"
 
diff --git a/meta/recipes-bsp/u-boot/u-boot-tools_2025.04.bb b/meta/recipes-bsp/u-boot/u-boot-tools_2025.07.bb
similarity index 100%
rename from meta/recipes-bsp/u-boot/u-boot-tools_2025.04.bb
rename to meta/recipes-bsp/u-boot/u-boot-tools_2025.07.bb
diff --git a/meta/recipes-bsp/u-boot/u-boot_2025.04.bb b/meta/recipes-bsp/u-boot/u-boot_2025.07.bb
similarity index 100%
rename from meta/recipes-bsp/u-boot/u-boot_2025.04.bb
rename to meta/recipes-bsp/u-boot/u-boot_2025.07.bb