All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] actual stxxtc board maintainer?
Date: Mon, 26 Nov 2007 13:47:30 -0500	[thread overview]
Message-ID: <474B14C2.8030708@ge.com> (raw)
In-Reply-To: <53D5B784-D81B-454B-B40B-CC4BF255B4C6@kernel.crashing.org>

Kumar Gala wrote:
> On Nov 26, 2007, at 12:00 PM, Dan Malek wrote:
> 
>> On Nov 26, 2007, at 8:58 AM, Kumar Gala wrote:
>>
>>> I see Dan Malek's name listed as the maintainer.  I'm wondering who  
>>> actually cares about this board?
>> Well, I do care.  :-)  I still use them.
>> Pantelis did most of the kernel + u-boot FDT work
>> with this board.  It was one of the first boards
>> that used FDT properly.
>>
>>> ask because this board is one of two that define:
>>> 	CONFIG_OF_HAS_BD_T
>>> 	CONFIG_OF_HAS_UBOOT_ENV
>>>
>>> However I'm under the believe that these options aren't really used  
>>> or need by this board (i know they aren't needed for the other).
>> I don't know what those mean any more.  There were
>> a couple of iterations of passing information with
>> nicely formatted records before the FDT turned into
>> what it is today.  They may have been used for that.
> 
> They were mechanisms to pass the full u-boot environment and bd_t as  
> nodes in the device tree.  I'm not aware of any in tree kernel support  
> that actually uses this information.
> 
> Does the stxxtc use it?
> 
> - k

Passing bd_t via the device tree is evil and should die (it probably is 
already dead, it just doesn't know it yet).  Anything in linux that is 
using bd_t variables through the device tree should be fixed: the values 
formerly passed through bd_t should already be available in existing 
properties, or else they should be made available.  That is the whole 
reason for FDT - to replace bd_t.

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 
variables than fw_printenv.  The problem with this concept currently is that
a) It isn't fully developed/adopted
b) The device tree passed to linux doesn't lend itself to writing (a RAM 
copy is passed, not a pointer to the flash-based original) so we don't 
have an equivalent to fw_setenv.

I would propose we keep the ability to embed the env variables in the 
blob, positioning ourselves to improving (a) and (b) going forward.

Best regards,
gvb

  reply	other threads:[~2007-11-26 18:47 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 [this message]
2007-11-26 22:25       ` Wolfgang Denk
2007-11-27 12:50         ` [U-Boot-Users] LIBFDT: bd_t and env embedding (was actual stxxtc board maintainer?) Jerry Van Baren
2007-11-27 22:02           ` 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=474B14C2.8030708@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.