u-boot-qcom: enable libubootenv environment access tool - #2808
Open
aswinm94 wants to merge 2 commits into
Open
Conversation
Install u-boot-fw-utils (libubootenv's fw_printenv/fw_setenv tools) and u-boot-qcom-env (the sub-package carrying fw_env.config) into images built with ci/u-boot-qcom.yml, so the U-Boot environment can be read/written from userspace. Add a fw_env.config that points to the environment partition used to store U-Boot environment variables. Add fw_env.config into u-boot-qcom's SRC_URI so the existing u-boot.inc packaging logic installs/deploys it automatically. Signed-off-by: Aswin Murugan <aswin.murugan@oss.qualcomm.com>
UBOOT_INITIAL_ENV was previously hard-set to "" for all qcom
machines, disabling generation of the U-Boot default/initial
environment reference file entirely.
Re-enable it and override the recipe-level default
(${PN}-initial-env, e.g. "u-boot-qcom-initial-env") with a fixed
"u-boot-initial-env" base name. libubootenv's fw_printenv/fw_setenv
tools look up the default/initial environment specifically under
the name "u-boot-initial-env", so using the provider-specific name
would leave that default-environment lookup unable to find the file.
Signed-off-by: Aswin Murugan <aswin.murugan@oss.qualcomm.com>
Test Results 68 files 319 suites 7h 9m 6s ⏱️ For more details on these failures, see this check. Results for commit 00e996f. |
Koen Kooi (koenkooi)
requested changes
Jul 27, 2026
Koen Kooi (koenkooi)
left a comment
Contributor
There was a problem hiding this comment.
Drop the 'meta-qcom: ' from the leader, and start explaining the problem you're solving, not describe what the commit does.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enable userspace access to the U-Boot environment variable on U-Boot based builds using libubootenv (fw_printenv/fw_setenv) tools.
Changes