public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Pantelis Antoniou <panto@intracom.gr>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] dynamic setting of CONFIG_SYS_CLK_FREQ
Date: Mon, 26 Apr 2004 16:25:26 +0300	[thread overview]
Message-ID: <408D0DC6.1050602@intracom.gr> (raw)
In-Reply-To: <20040426130328.B9BE4C109F@atlas.denx.de>

Wolfgang Denk wrote:

>In message <408CF369.9050907@intracom.gr> you wrote:
>
>>>Well, but how do you present it to the user? Will "printenv" show all
>>>variables mixed? So how does the user know which get saved and  which
>>>not?  How  do  you  merge  both  with  the standard CLI and hush in a
>>>consistent way? And allthis without  (significantly)  increasing  the
>>>memory footprint _and_ keeping the code readable?
>>>
>>>
>>>
>>Well, will the user care?
>>
>
>I hope you are joking here. Of course he will.
>
>
We have a different definition of a "user" in mind it seems.
Your users appear to be much more technical inclined than mine...

>>Why should he know that the version or the clock variable is real?
>>
>
>He  must  know  which  variables  are  available  when  reading   the
>environment  under Linux. He must know which variables can be changed
>(with the changes showing some effect). Etc. etc.
>
>
>>If he tries to change a read only variable it should be denied.
>>
>
>Per definitionem there should be no variables in the environment that
>cannot be changed. Period.
>
>I know that there is the big exception of "ver" (I had a weak  moment
>when  I  alloed  for  that),  and there are the smaller exceptions of
>serial# end ethaddr which are settable  only  once  (usually  by  the
>vendor), but this is at least configurable.
>
>
Ideological purity is a worthy endeavor.
The real world has different things in mind.

>>Since the variables are present at RAM but not in persistent storage
>>the size of the environment is the same. As for the code footprint
>>this is debatable. If someone needs this "feature" he can enable
>>it explicitly. If not enabled everything should work as it were.
>>
>
>I think the concept of environment variables as we  have  so  far  is
>conceptually  pretty  clean.  What you suggest is different, and does
>not fit. That does NOT mean that your idea is bad - not at  all.  BUt
>such  "automatic"  variables must be kept separated from the environ-
>ment. They shall not be  mixed  in  the  display  of  the  "printenv"
>command, and not be settable by "setenv".
>
>Please feel free to implement new "printvar" and "setvar" commands as
>optional extension, but I really don't see that much benefit. Already
>now it is pretty ifficult to find a variable definition  in  a  long,
>multi-page "printenv" output.
>
>
>
Hmm, do I see a grep in the future? ;).

>Best regards,
>
>Wolfgang Denk
>
>
Anyway, this discussion is pretty academic at the moment.
We'll cross this bridge when we get there.

Regards

Pantelis

  reply	other threads:[~2004-04-26 13:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-22 16:02 [U-Boot-Users] dynamic setting of CONFIG_SYS_CLK_FREQ Kumar Gala
2004-04-22 17:14 ` Wolfgang Denk
2004-04-22 17:28   ` Kumar Gala
2004-04-22 19:44     ` Wolfgang Denk
2004-04-22 19:51       ` Kumar Gala
2004-04-25 14:03         ` Wolfgang Denk
2004-04-26  6:33           ` Pantelis Antoniou
2004-04-26  8:02             ` Wolfgang Denk
2004-04-26  8:16               ` Pantelis Antoniou
2004-04-26  9:14                 ` Wolfgang Denk
2004-04-26 10:18                   ` Pantelis Antoniou
2004-04-26 11:13                     ` Wolfgang Denk
2004-04-26 11:32                       ` Pantelis Antoniou
2004-04-26 13:03                         ` Wolfgang Denk
2004-04-26 13:25                           ` Pantelis Antoniou [this message]
2004-04-26 14:00                             ` Wolfgang Denk
2004-04-22 17:58 ` Dan Malek
  -- strict thread matches above, loose matches on Subject: below --
2004-04-22 17:52 VanBaren, Gerald

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=408D0DC6.1050602@intracom.gr \
    --to=panto@intracom.gr \
    --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