Hi Just a few thoughts on the matter. There are several ways to transfer the default environment to a target device:
* Compile the environment in u-boot and run env default -a on the target device, as documented at https://docs.u-boot.org/en/latest/usage/environment.html#text-based-environment . * Install the file in /etc/u-boot-initial-env, which is used by libubootenv as the initial environment on the target device. * Install it as suggested in this patch, e.g., via wic or another flash approach during device manufacturing. It is important to enforce some consistency between all these different approaches. Ideally, all approaches should use the same environment source, which should be the file referenced by CONFIG_ENV_SOURCE_FILE. If this is not the case, when the user executes, for example, env default -a, they will get a different environment than the one initialized by wic for fw_setenv. Will this be mentioned in the documentation, or will it not be taken into account in these patches? Thank you for the patches. Regards, Adrian > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#227136): https://lists.openembedded.org/g/openembedded-core/message/227136 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]] -=-=-=-=-=-=-=-=-=-=-=-
