All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Wunderlich <frank-w@public-files.de>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Subject: extend environment with file
Date: Tue, 21 Dec 2021 13:56:02 +0100	[thread overview]
Message-ID: <trinity-4736373a-1c77-4226-81a3-2fb59638aa21-1640091361999@3c-app-gmx-bs28> (raw)

Hi,

currently i use distroboot on my board which sets some environment-variables, some other (memory addresses) were set in my soc-specific header file (include/configs/rk3568_common.h).

But distroboot is a bit too limited for my needs (no tftp, no script, ...), so imho i need to use the bootmenu way here, but for local kernel-bootup run distro_bootcmd.

I want to add some more variables (e.g. for bootmenu) and for easier maintaining i used a txt-file for it and defined

CONFIG_DEFAULT_ENV_FILE="uEnv_r2pro.txt"

but this option seems to clear the previous environment from distroboot and soc header file...i have now only the vars from the file defined.

i tried adding CONFIG_ENV_APPEND=y but i have still only the vars from the file.

Is there a way to append (distrocmd + soc-header + uenv-file) instead of overwriting?

regards Frank

             reply	other threads:[~2021-12-21 12:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21 12:56 Frank Wunderlich [this message]
2021-12-21 18:01 ` Aw: extend environment with file Frank Wunderlich

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=trinity-4736373a-1c77-4226-81a3-2fb59638aa21-1640091361999@3c-app-gmx-bs28 \
    --to=frank-w@public-files.de \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.