[U-Boot] [PATCH 0/3] env: Add support for environments on arbitrary filesystems

Fiach Antaw fiach.antaw at uqconnect.edu.au
Wed Jan 25 09:53:10 CET 2017


This patch series consolidates the redundancy implementations used
by env_nand, env_mmc and env_ubi, and adds support for a generic
env_fs (also using the same redundancy implementation) that supports
all filesystems supported by the filesystem code.

env_fs should be able to replace env_fat and env_ext4 in all cases,
since it implements the same functionality.

Unfortunately, I am unable to verify the changes to env_nand, env_mmc
and env_ubi on real hardware, though I have verified that they do
compile.


Fiach Antaw (3):
  env: Add generic redundant environment implementation
  env: Switch env_nand, env_mmc and env_ubi to env_import_redund
  env: Add support for FS environment

 README                       |  22 ++++++++
 cmd/nvedit.c                 |   1 +
 common/Makefile              |   1 +
 common/env_common.c          |  51 ++++++++++++++++++
 common/env_fs.c              | 126 +++++++++++++++++++++++++++++++++++++++++++
 common/env_mmc.c             |  42 +++------------
 common/env_nand.c            |  45 +++-------------
 common/env_ubi.c             |  39 +-------------
 include/environment.h        |  21 ++++++++
 scripts/config_whitelist.txt |   5 ++
 10 files changed, 243 insertions(+), 110 deletions(-)
 create mode 100644 common/env_fs.c

-- 
2.7.4



More information about the U-Boot mailing list