public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Waldemar Brodkorb <wbx@openadk.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] add example for file on VFAT filesystem usage
Date: Thu, 12 Feb 2015 14:43:45 +0100	[thread overview]
Message-ID: <20150212134345.GA32409@waldemar-brodkorb.de> (raw)

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

             reply	other threads:[~2015-02-12 13:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-12 13:43 Waldemar Brodkorb [this message]
  -- strict thread matches above, loose matches on Subject: below --
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150212134345.GA32409@waldemar-brodkorb.de \
    --to=wbx@openadk.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox