CONFIG_DEFAULT_ENV_FILE Question

Simon Glass sjg at chromium.org
Fri Sep 30 01:55:47 CEST 2022


Hi Jonathan,

On Wed, 28 Sept 2022 at 18:44, Jonathan DeNoon
<Jonathan.DeNoon at daktronics.com> wrote:
>
> Hello, I want to define my own default environment, so I have enabled CONFIG_USE_DEFAULT_ENV_FILE. The next step appears to be setting the path to the default environment file via CONFIG_DEFAULT_ENV_FILE. My questions are as follows:
>
>   *   Am I expected to provide an absolute path to the file, or is it a relative path with respect to the cloned U-Boot repo?
>   *   Is there a specific directory that you advise to store a default environment file in?
>   *   Are there any example default environment files and corresponding default environment file paths that I could reference?

Does this help?

https://u-boot.readthedocs.io/en/latest/usage/environment.html#text-based-environment

Regards,
Simon


More information about the U-Boot mailing list