summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2013-04-08 10:32:51 +0000
committerTom Rini <trini@ti.com>2013-04-11 15:52:55 -0400
commit2b74433f365fa677a60431a80e524b5d8d04e995 (patch)
tree4f33620eb0534e8861010fb6d8945d3da3b455a7 /README
parenta7eb1d66c704c884584bf00548cfdf68abfe68bb (diff)
downloadu-boot-imx-2b74433f365fa677a60431a80e524b5d8d04e995.zip
u-boot-imx-2b74433f365fa677a60431a80e524b5d8d04e995.tar.gz
u-boot-imx-2b74433f365fa677a60431a80e524b5d8d04e995.tar.bz2
env: Add support for UBI environment
UBI is a better place for the environment on NAND devices because it handles wear-leveling and bad blocks. Gluebi is needed in Linux to access the env as an MTD partition. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'README')
-rw-r--r--README21
1 files changed, 21 insertions, 0 deletions
diff --git a/README b/README
index da8b68a..93c7009 100644
--- a/README
+++ b/README
@@ -3548,6 +3548,27 @@ but it can not erase, write this NOR flash by SRIO or PCIE interface.
environment. If redundant environment is used, it will be copied to
CONFIG_NAND_ENV_DST + CONFIG_ENV_SIZE.
+- CONFIG_ENV_IS_IN_UBI:
+
+ Define this if you have an UBI volume that you want to use for the
+ environment. This has the benefit of wear-leveling the environment
+ accesses, which is important on NAND.
+
+ - CONFIG_ENV_UBI_PART:
+
+ Define this to a string that is the mtd partition containing the UBI.
+
+ - CONFIG_ENV_UBI_VOLUME:
+
+ Define this to the name of the volume that you want to store the
+ environment in.
+
+ - CONFIG_UBI_SILENCE_MSG
+ - CONFIG_UBIFS_SILENCE_MSG
+
+ You will probably want to define these to avoid a really noisy system
+ when storing the env in UBI.
+
- CONFIG_SYS_SPI_INIT_OFFSET
Defines offset to the initial SPI buffer area in DPRAM. The