public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] add example for file on VFAT filesystem usage
@ 2015-02-16  4:59 Waldemar Brodkorb
  2015-02-17 19:01 ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Waldemar Brodkorb @ 2015-02-16  4:59 UTC (permalink / raw)
  To: u-boot

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(+)

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] add example for file on VFAT filesystem usage
@ 2015-02-12 13:43 Waldemar Brodkorb
  0 siblings, 0 replies; 3+ messages in thread
From: Waldemar Brodkorb @ 2015-02-12 13:43 UTC (permalink / raw)
  To: u-boot

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(+)

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-17 19:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-16  4:59 [U-Boot] [PATCH] add example for file on VFAT filesystem usage Waldemar Brodkorb
2015-02-17 19:01 ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2015-02-12 13:43 Waldemar Brodkorb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox