All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] question of "flattened device tree"
Date: Sat, 19 Jul 2008 09:59:34 -0400	[thread overview]
Message-ID: <4881F346.4030702@gmail.com> (raw)
In-Reply-To: <BAY111-DS6AD91E7B43C2A5C3C0BB591880@phx.gbl>

xiangguo_li at hotmail.com wrote:
> hello,
> 
> under U-Boot, some board configuration files contain "flattened device 
> tree"
> elements, such as "OF_CPU", "OF_STDOUT_PATH", etc. while in booting 
> Linux, a
> separate file dtb is used.
> 
> if both are used, what's the relationship about them?
> 
> thanks.
> 
> -lxg

Processor and board are???

I believe your question is indicating that you are using an older 
version of u-boot with "CONFIG_OF_FLAT_TREE" defined.  This has been 
deprecated and has been removed in the latest u-boot.  The current code 
no longer defines or uses "OF_CPU", "OF_STDOUT_PATH", etc.

Please update your u-boot and switch to using CONFIG_OF_LIBFDT and dts 
files from a recent version of the linux kernel source (or edit your dts 
file to pick up the improvements shown in the linux version).

Don't forget to include an /aliases node pointing to the proper hardware 
configurations.  The u-boot code now uses that to find the fdt pieces 
for its fixups rather than "OF_CPU", "OF_STDOUT_PATH", etc.

Best regards,
gvb

      reply	other threads:[~2008-07-19 13:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-19  4:14 [U-Boot-Users] question of "flattened device tree" xiangguo_li at hotmail.com
2008-07-19 13:59 ` Jerry Van Baren [this message]

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=4881F346.4030702@gmail.com \
    --to=gvb.uboot@gmail.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.