public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Delete all env vars except read onlys
@ 2008-02-12  8:44 Matthias Fuchs
  2008-02-12 14:49 ` Stefan Roese
  2008-02-12 22:38 ` Wolfgang Denk
  0 siblings, 2 replies; 36+ messages in thread
From: Matthias Fuchs @ 2008-02-12  8:44 UTC (permalink / raw)
  To: u-boot

Hi,

I am wondering if there is a way to delete all environment variables
but not the readonly ones. The common way to delete all variables
is to make the environment CRC invalid an do a reset. After reset
a saveenv saves a default environment. 

What I want to do is to delete all variables (preferable from an autoscr script)
but not the vendor variables like serial# and eth?addr.

Wildcards in the setenv parameters would solve this issue, 
but chars like '*' or '?' are valid chars for environment variables.

Any idea?

Matthias

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

end of thread, other threads:[~2008-03-25 21:10 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-12  8:44 [U-Boot-Users] Delete all env vars except read onlys Matthias Fuchs
2008-02-12 14:49 ` Stefan Roese
2008-02-12 22:55   ` Wolfgang Denk
2008-02-13  8:21   ` Matthias Fuchs
2008-02-13  8:56     ` Stefan Roese
2008-02-13  9:18       ` Matthias Fuchs
2008-02-13 10:02     ` Markus Klotzbücher
2008-02-13 10:13       ` Stefan Roese
2008-02-13 10:33         ` Markus Klotzbücher
2008-02-13 11:13           ` Detlev Zundel
2008-02-13 12:55             ` Markus Klotzbücher
2008-02-13 12:58               ` Stefan Roese
2008-02-13 22:43             ` Wolfgang Denk
2008-02-13 22:49               ` Scott Wood
2008-02-13 23:03                 ` Wolfgang Denk
2008-02-13 23:04                   ` Scott Wood
2008-02-13 23:11                     ` Wolfgang Denk
2008-02-15 15:37                       ` Detlev Zundel
2008-02-13 22:40         ` Wolfgang Denk
2008-02-13 22:50           ` Scott Wood
2008-02-13 23:05             ` Wolfgang Denk
2008-02-14  5:20             ` Stefan Roese
2008-02-14  7:44               ` Wolfgang Denk
2008-02-15 15:52                 ` Detlev Zundel
2008-02-15 16:11                   ` Wolfgang Denk
2008-02-15 16:40                   ` Wolfgang Denk
2008-02-15 17:12                     ` Markus Klotzbücher
2008-02-15 20:27                     ` Jean-Christophe PLAGNIOL-VILLARD
2008-02-20 21:17                       ` Matthias Fuchs
2008-02-20 21:30                         ` Ulf Samuelsson
2008-02-21  0:04                           ` Wolfgang Denk
2008-02-22 12:00                         ` Wolfgang Denk
2008-02-18  9:41                     ` Martin Krause
2008-03-25 21:10                     ` Wolfgang Denk
2008-02-13 22:38     ` Wolfgang Denk
2008-02-12 22:38 ` Wolfgang Denk

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