diff mbox

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

Message ID 20150216045909.GA9201@waldemar-brodkorb.de
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Waldemar Brodkorb Feb. 16, 2015, 4:59 a.m. UTC
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@openadk.org>
---
 tools/env/fw_env.config | 3 +++
 1 file changed, 3 insertions(+)

Comments

Tom Rini Feb. 17, 2015, 7:01 p.m. UTC | #1
On Mon, Feb 16, 2015 at 05:59:09AM +0100, Waldemar Brodkorb wrote:

> 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@openadk.org>

Applied to u-boot/master, thanks!
diff mbox

Patch

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