public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] LIBFDT: bd_t and env embedding (was actual stxxtc board maintainer?)
Date: Tue, 27 Nov 2007 07:50:55 -0500	[thread overview]
Message-ID: <474C12AF.4000905@ge.com> (raw)
In-Reply-To: <20071126222506.726D2248DB@gemini.denx.de>

Wolfgang Denk wrote:
> In message <474B14C2.8030708@ge.com> you wrote:
>> Passing bd_t via the device tree is evil and should die (it probably is 
> 
> Agreed.
> 
>> Passing the u-boot env via the device tree seems like a very useful 
>> thing to keep.  IMHO, this is a better way of accessing the u-boot 
> 
> Ummm ... what would it be good for?
> 
>> variables than fw_printenv.  The problem with this concept currently is that
> 
> In which way is that better? One significant drawback is that such
> access would necessarily be read-only, while with fw_setenv you can
> modify the environment.
> 
> But really, why would an additional copy be better? TO me it seems
> just a waste of CPU cycles and memory footprint.
> 
>> I would propose we keep the ability to embed the env variables in the 
>> blob, positioning ourselves to improving (a) and (b) going forward.
> 
> I fail to see any benefit from doing that...
> 
> Best regards,
> Wolfgang Denk

Hi Wolfgang,

I'm just having a hard time letting go of my dream of FDT world 
domination, starting with using a blob to hold the u-boot env variables. :-)

If we ever /do/ have an option to store env variables in a blob, we 
won't need to have (the current) extra code to jam the non-FDT env 
variables into the blob anyway.  ;-)

I don't have any problem removing both the bd_t *and* the env embedding 
"features" since the former is evil and the latter is unused.

Best regards,
gvb

  reply	other threads:[~2007-11-27 12:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-26 16:58 [U-Boot-Users] actual stxxtc board maintainer? Kumar Gala
2007-11-26 18:00 ` Dan Malek
2007-11-26 18:23   ` Kumar Gala
2007-11-26 18:47     ` Jerry Van Baren
2007-11-26 22:25       ` Wolfgang Denk
2007-11-27 12:50         ` Jerry Van Baren [this message]
2007-11-27 22:02           ` [U-Boot-Users] LIBFDT: bd_t and env embedding (was actual stxxtc board maintainer?) Wolfgang Denk

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=474C12AF.4000905@ge.com \
    --to=gerald.vanbaren@ge.com \
    --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