diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2013-04-08 10:32:51 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-04-11 15:52:55 -0400 |
commit | 2b74433f365fa677a60431a80e524b5d8d04e995 (patch) | |
tree | 4f33620eb0534e8861010fb6d8945d3da3b455a7 /README | |
parent | a7eb1d66c704c884584bf00548cfdf68abfe68bb (diff) |
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-- | README | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -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 |