[U-Boot] [PATCH] add example for file on VFAT filesystem usage

Waldemar Brodkorb wbx at openadk.org
Thu Feb 12 14:43:45 CET 2015


For example on a raspberry pi the u-boot environment can be
saved in a file on the first VFAT partition.
This example illustrates how to use it with fw_printenv/fw_setenv.

Signed-off-by: Waldemar Brodkorb <wbx at openadk.org>
---
 tools/env/fw_env.config | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/env/fw_env.config b/tools/env/fw_env.config
index c9b9f6a..6f216f9 100644
--- a/tools/env/fw_env.config
+++ b/tools/env/fw_env.config
@@ -20,3 +20,6 @@
 
 # Block device example
 #/dev/mmcblk0		0xc0000		0x20000
+
+# VFAT example
+#/boot/uboot.env	0x0000          0x4000
-- 
1.9.1



More information about the U-Boot mailing list