summaryrefslogtreecommitdiffstats
path: root/tools/env/fw_env.config
diff options
context:
space:
mode:
authorS. Lockwood-Childs <sjl@vctlabs.com>2017-11-14 23:01:26 -0800
committerTom Rini <trini@konsulko.com>2017-11-29 22:30:50 -0500
commit34255b92e6e68941ab1134299faa86acc5a1abc8 (patch)
tree5d55e951e6fbe88f4eff9e6fc81a6009853e73e4 /tools/env/fw_env.config
parentd36a27adbbee6f80135642a046901cc6f8c703de (diff)
downloadu-boot-34255b92e6e68941ab1134299faa86acc5a1abc8.tar.gz
u-boot-34255b92e6e68941ab1134299faa86acc5a1abc8.tar.xz
u-boot-34255b92e6e68941ab1134299faa86acc5a1abc8.zip
tools: env: Add support for direct read/write UBI volumes
Up to now we were able to read/write environment data from/to UBI volumes only indirectly by gluebi driver. This driver creates NAND MTD on top of UBI volumes, which is quite a workaroung for this use case. Add support for direct read/write UBI volumes in order to not use obsolete gluebi driver. Forward-ported from this patch: http://patchwork.ozlabs.org/patch/619305/ Original patch: Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Forward port: Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Diffstat (limited to 'tools/env/fw_env.config')
-rw-r--r--tools/env/fw_env.config8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/env/fw_env.config b/tools/env/fw_env.config
index 7916ebdb1f..053895a2c0 100644
--- a/tools/env/fw_env.config
+++ b/tools/env/fw_env.config
@@ -28,3 +28,11 @@
# VFAT example
#/boot/uboot.env 0x0000 0x4000
+
+# UBI volume
+#/dev/ubi0_0 0x0 0x1f000 0x1f000
+#/dev/ubi0_1 0x0 0x1f000 0x1f000
+
+# UBI volume by name
+#/dev/ubi0:env 0x0 0x1f000 0x1f000
+#/dev/ubi0:env-redund 0x0 0x1f000 0x1f000