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] How to define CONFIG_OF_FLAT_TREE?
Date: Wed, 09 Jan 2008 14:55:04 -0500	[thread overview]
Message-ID: <47852698.50708@ge.com> (raw)
In-Reply-To: <315404.22644.qm@web15105.mail.cnb.yahoo.com>

jie han wrote:
> I define CONFIG_OF_FLAT_TREE support under u-boot.I just want to know 
> how can I get/set the third address(the address of the device-tree blob) 
> that we will use at bootm command?Thanks ahead,
> 
> Sincerely,
> Jie

Hi Jie,

Board and processor are???  U-boot version is???

You most likely want to define CONFIG_OF_LIBFDT, CONFIG_OF_FLAT_TREE is 
deprecated.

I'm presuming you are using a recent u-boot (preferably tip-o-tree).

The device tree blob will be where you load it.  :-)  TFTP is a 
convenient method...

Your question could be interpreted that you don't have a blob to load. 
If not, you need to generate a blob using a FDT source file (.dts) that 
describes your hardware and compiled it with "dtc".  Example FDT sources 
and the device tree compiler itself are now part of the linux kernel 
sources.

Good luck,
gvb

  reply	other threads:[~2008-01-09 19:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-09 19:29 [U-Boot-Users] How to define CONFIG_OF_FLAT_TREE? jie han
2008-01-09 19:55 ` Jerry Van Baren [this message]
2008-01-09 20:14   ` jie han
2008-01-09 20:37     ` Jerry Van Baren
2008-01-10 13:01       ` samppa at sundmangroup.com
2008-01-10 20:52         ` Jon Loeliger

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=47852698.50708@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