mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Environment handling fixes and support for multiple environment backends
@ 2010-03-26 12:52 Luotao Fu
  2010-03-26 12:52 ` [PATCH 1/5] fix error return value while loading environment Luotao Fu
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Luotao Fu @ 2010-03-26 12:52 UTC (permalink / raw)
  To: sha; +Cc: barebox

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-03-26 12:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-26 12:52 Environment handling fixes and support for multiple environment backends Luotao Fu
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox