mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Luotao Fu <l.fu@pengutronix.de>
To: sha@pengutronix.de
Cc: barebox@lists.infradead.org
Subject: Environment handling fixes and support for multiple environment backends
Date: Fri, 26 Mar 2010 13:52:24 +0100	[thread overview]
Message-ID: <1269607949-5336-1-git-send-email-l.fu@pengutronix.de> (raw)

Hi,
the following patch set fixes and changes the environment handling in barebox.
The main change is that we have now support for multiple environment backends in
backup. This option is configurable. Once activated, barebox will scan for all
environment backends during startup, load the environment from the first loadble
backend and than synchronize the content of all remaining (or previous)
backends. The commands savenenv and loadenv are also extended with the support
for this option.

diffstat:

commands/loadenv.c    |   51 +++++++++++++++++++++-----
commands/saveenv.c    |   94 ++++++++++++++++++++++++++---------------------
common/Kconfig        |   11 ++++++
common/environment.c  |   53 +++++++++++++++++++++++++--
common/startup.c      |   97 ++++++++++++++++++++++++++++++++++++++++++++-----
include/environment.h |    3 +-
scripts/bareboxenv.c  |    2 +-
7 files changed, 246 insertions(+), 65 deletions(-)


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2010-03-26 12:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-26 12:52 Luotao Fu [this message]
2010-03-26 12:52 ` [PATCH 1/5] fix error return value while loading environment Luotao Fu
2010-03-26 12:52 ` [PATCH 2/5] crc value handling and dry run mode in envfs_load Luotao Fu
2010-03-26 12:52 ` [PATCH 3/5] add multi environment support Luotao Fu
2010-03-26 12:52 ` [PATCH 4/5] Add multi env support to saveenv and loadenv commands Luotao Fu
2010-03-26 12:52 ` [PATCH 5/5] add general check_and_erase callback to environment handling Luotao Fu

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=1269607949-5336-1-git-send-email-l.fu@pengutronix.de \
    --to=l.fu@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=sha@pengutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox