public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Haavard Skinnemoen <hskinnemoen@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] FDT intentions in u-boot
Date: Fri, 19 Oct 2007 00:08:13 +0200	[thread overview]
Message-ID: <20071019000813.21adb815@siona> (raw)
In-Reply-To: <4717B418.40904@ge.com>

On Thu, 18 Oct 2007 15:29:28 -0400
Jerry Van Baren <gerald.vanbaren@ge.com> wrote:

> I would not advocate embedding the FDT blob in u-boot but, if I were
> to do so, I would use the dtc to generate an assembly language output 
> (actually, a lot of define byte statements) and then compile that in
> the u-boot build.

Why not just generate a binary file (possibly compressed) and suck it
into an assembly file using .incbin?

> A better approach IMHO (subject to change) is to burn the FDT blob
> into a separate flash area so it can be updated later without
> rebuilding u-boot or downloading it via TFTP.  Obviously, this would
> be an engineering tradeoff and /your/ best choice for your situation
> is quite likely different from someone else's choice for their
> (different) situation.

Yes, having a mutable device tree probably makes more sense for a
development board. But embedding it in the u-boot binary could save
some space in the "production" image. Is it possible to support both?

I don't know all that much about FDT, so I could be way off. I would
like to try it out with avr32 at some point though, after all the
basics are in place.

H?vard

  reply	other threads:[~2007-10-18 22:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-17  7:12 [U-Boot-Users] [PATCH 1/2] add ft_cpu_setup(..) on mpc8260 Sergej Stepanov
2007-10-17  7:47 ` Wolfgang Denk
2007-10-17 14:34 ` [U-Boot-Users] FDT intentions in u-boot Zach Sadecki
2007-10-17 15:02   ` Jerry Van Baren
2007-10-17 16:37     ` Joakim Tjernlund
2007-10-17 17:35       ` Jerry Van Baren
2007-10-18 13:54     ` Zach Sadecki
2007-10-18 19:29       ` Jerry Van Baren
2007-10-18 22:08         ` Haavard Skinnemoen [this message]
2007-10-18 22:43           ` Jerry Van Baren
2007-10-23 19:34 ` [U-Boot-Users] [PATCH 1/2] add ft_cpu_setup(..) on mpc8260 Scott Wood
2007-10-24  7:28   ` Sergej Stepanov

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=20071019000813.21adb815@siona \
    --to=hskinnemoen@atmel.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