On Fri Nov 21, 2025 at 9:49 AM CET, Pierre-loup GOSSE via
lists.openembedded.org wrote:
> From: Pierre-Loup GOSSE <[email protected]>
>
> 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 <[email protected]>
> ---
> 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
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#227967):
https://lists.openembedded.org/g/openembedded-core/message/227967
Mute This Topic: https://lists.openembedded.org/mt/116405112/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-