From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <pierre-loup.gosse@smile.fr>, <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH v3 1/2] u-boot: make initial environment binary image
Date: Tue, 16 Dec 2025 16:28:02 +0100 [thread overview]
Message-ID: <DEZQWR3VBHRW.1RWK27DMLCU4M@bootlin.com> (raw)
In-Reply-To: <DEZQQUV9KIWU.1W2BBBFVV4DBJ@bootlin.com>
On Tue Dec 16, 2025 at 4:20 PM CET, Mathieu Dubois-Briand wrote:
> On Fri Nov 21, 2025 at 9:49 AM CET, Pierre-loup GOSSE via lists.openembedded.org wrote:
>> From: Pierre-Loup GOSSE <pierre-loup.gosse@smile.fr>
>>
>> Build the U-Boot initial environment binary image if
>> UBOOT_INITIAL_ENV_BINARY is set to "1". The environment partition size
>> (in bytes, hexadecimal or decimal) must be defined using
>> UBOOT_INITIAL_ENV_BINARY_SIZE.
>>
>> If U-Boot environment redundancy is enabled,
>> UBOOT_INITIAL_ENV_BINARY_REDUND must be set to "1".
>>
>> The resulting binary can be flashed using WIC at the environment offset,
>> overriding any existing environment if present, for example:
>>
>> part --source rawcopy --sourceparams="file=u-boot-initial-env-sd.bin" --ondisk sda --no-table --offset 4096
>>
>> Signed-off-by: Pierre-Loup GOSSE <pierre-loup.gosse@smile.fr>
>> ---
>> Note: Once merged, a patch with the new variables will be submitted to the
>> documentation mailing list.
>>
>> changes in v2:
>> - fix uboot_deploy_config (builddir was missing)
>>
>> no changes in v3
>> ---
>
> Hi Pierre-loup,
>
> After the last comments I took your series for testing, but got the
> following error during selftest:
>
> 2025-12-16 11:06:28,209 - oe-selftest - INFO - uboot.UBootTest.test_uboot_initial_env_binary (subunit.RemotedTestCase)
> 2025-12-16 11:06:28,210 - oe-selftest - INFO - ... FAIL
> ...
> 2025-12-16 11:06:05,623 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
> File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/uboot.py", line 152, in test_uboot_config_initial_env_binary
> self.assertExists(uboot_initial_env_binary_path)
> File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/case.py", line 251, in assertExists
> raise self.failureException(msg)
> AssertionError: '/srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-1145752/tmp/work/qemux86_64-poky-linux/u-boot/2025.10/deploy-u-boot/u-boot-initial-env-test.bin' does not exist
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/2838
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/2732
>
> Can you have a look at this issue?
>
> Thanks,
> Mathieu
OK, it looks like the issue is somewhere between my keyboard and my
chair. Forget this issue for now...
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2025-12-16 15:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-21 8:49 [PATCH v3 1/2] u-boot: make initial environment binary image pierre-loup.gosse
2025-11-21 8:49 ` [PATCH v3 2/2] oe-selftest: uboot: add test for building U-Boot initial env binary pierre-loup.gosse
2025-12-01 17:59 ` [OE-core] [PATCH v3 1/2] u-boot: make initial environment binary image adrian.freihofer
2025-12-11 15:36 ` Pierre-loup GOSSE
2025-12-11 23:04 ` adrian.freihofer
2025-12-12 9:39 ` Martin Schwan
2025-12-16 15:20 ` Mathieu Dubois-Briand
2025-12-16 15:28 ` Mathieu Dubois-Briand [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DEZQWR3VBHRW.1RWK27DMLCU4M@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=pierre-loup.gosse@smile.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox