From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Using 'ver' env var
Date: Mon, 13 Aug 2007 22:05:06 +0200 [thread overview]
Message-ID: <20070813200506.7F8D82405E@gemini.denx.de> (raw)
In-Reply-To: Your message of "Mon, 13 Aug 2007 14:55:44 CDT." <5CBE65F7D9232C47861CB09B0954861C66A911@MAIL.infinitychannel.local>
In message <5CBE65F7D9232C47861CB09B0954861C66A911@MAIL.infinitychannel.local> you wrote:
>
> This, of course, doesn't work, as 'ver' is not saveenv'ed and
What makes you think so? saveenv does not do any filtering to exclude
any variable, so of course it gets saved, too.
> So this is a 2 part question... What good is the 'ver' env var? It's
To print the U-Boot version without need to reset the board.
> apparently only useful in u-boot itself and u-boot already has a
> 'version' command that gives you the same info. And second, I'm sure
> I'm not the first person to want to see u-boot version in linux, so how
> have other accomplished this?
Just read the "ver" variable.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Es ist nicht genug zu wissen, man mu? auch anwenden; es ist nicht ge-
nug zu wollen, man mu? auch tun. -- Goethe, Maximen und Reflexionen
next prev parent reply other threads:[~2007-08-13 20:05 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-13 19:55 [U-Boot-Users] Using 'ver' env var Zach Sadecki
2007-08-13 20:05 ` Wolfgang Denk [this message]
2007-08-13 20:26 ` Zach Sadecki
2007-08-13 20:45 ` Wolfgang Denk
2007-08-13 21:41 ` Ulf Samuelsson
2007-08-13 21:25 ` Zach Sadecki
2007-08-13 22:07 ` [U-Boot-Users] PATCH: save 'ver' env var on update Zach Sadecki
2007-08-14 0:10 ` Zach Sadecki
2007-08-14 0:18 ` Wolfgang Denk
2007-08-14 0:13 ` Wolfgang Denk
2007-08-14 0:11 ` [U-Boot-Users] Using 'ver' env var Wolfgang Denk
2007-08-14 5:02 ` Ulf Samuelsson
2007-08-14 13:39 ` Wolfgang Denk
2007-08-14 14:40 ` Ulf Samuelsson
2007-08-14 15:23 ` Wolfgang Denk
2007-08-14 18:18 ` Ulf Samuelsson
2007-08-14 18:55 ` Rune Torgersen
2007-08-14 19:03 ` Wolfgang Denk
2007-08-14 19:12 ` Zach Sadecki
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=20070813200506.7F8D82405E@gemini.denx.de \
--to=wd@denx.de \
--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