From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] pull request for u-boot-tegra/master
Date: Mon, 11 Jun 2012 15:59:39 -0600 [thread overview]
Message-ID: <4FD66A4B.1050003@wwwdotorg.org> (raw)
In-Reply-To: <CAPnjgZ1rSBE0z+_FS9qmDUodtVXHsbnxUJQVoonMW8=eKZgX-g@mail.gmail.com>
On 06/08/2012 07:53 PM, Simon Glass wrote:
> Hi Stephen,
>
> On Fri, Jun 8, 2012 at 3:52 PM, Stephen Warren <swarren@wwwdotorg.org
> <mailto:swarren@wwwdotorg.org>> wrote:
...
> Uggh. The problem is that older versions of dtc would only accept a
> single definition of the root node; they don't allow another copy to be
> specified, which "overlays" or is "merged with" it. Put another way, dtc
> can't compile a simple:
>
> > /dts-v1/;
> >
> > / {
> > foo = "bar";
> > };
> >
> > / {
> > foo = "bar";
> > };
>
> That means we can't separate the device tree source into separate
> skeleton.dtsi, tegra20.dtsi, and tegra2-$board.dts.
>
> So, we have basically no choice but to require people to upgrade to a
> recent dtc. If we do that, we can also get rid of the cpp hacks, since
> the latest dtc has a -i option that can be used to set an include path.
>
>
> Oh dear, it's worse than I thought. Perhaps the first step would be to
> ask the device-tree people to issue a new release (1.4?), if they have
> not already.
At this point, given how rapidly device tree in general (and hence dtc)
is evolving, the simplest solution seems to be just to add a copy of the
dtc source into U-Boot itself. This is the approach that the kernel has
taken and ensures that everybody is working from the "same page" w.r.t. dtc.
Wolfgang, can we add the dtc source into the U-Boot source tree in order
to avoid these problems? The only alternative would be for everyone to
manually install a recent version themselves, since the version of dtc
packaged by commonly-used distros is far too old to be useful.
For reference, my copy of the U-Boot source is about 81M in >7500 files.
Adding dtc would add roughly 364K and 34 files (at least, that's the
size of the copy of dtc in the kernel, which omits the tests etc.). That
seems pretty small.
next prev parent reply other threads:[~2012-06-11 21:59 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-31 16:47 [U-Boot] pull request for u-boot-tegra/master Tom Warren
2012-06-07 16:02 ` Tom Warren
2012-06-08 19:36 ` Albert ARIBAUD
2012-06-08 19:41 ` Albert ARIBAUD
2012-06-08 21:44 ` Albert ARIBAUD
2012-06-08 22:00 ` Stephen Warren
2012-06-08 22:36 ` Stephen Warren
2012-06-08 22:52 ` Stephen Warren
2012-06-09 1:53 ` Simon Glass
2012-06-11 21:59 ` Stephen Warren [this message]
2012-06-10 8:22 ` Albert ARIBAUD
-- strict thread matches above, loose matches on Subject: below --
2012-08-31 21:28 Tom Warren
2012-09-01 6:56 ` Albert ARIBAUD
2012-08-17 23:25 Tom Warren
[not found] ` <20120818212141.3e4f5a3a@lilith>
[not found] ` <CA+m5__J7O=YYWEwTGqTBqiagTL+YU3BR-TyE5M2W_xdesVWqmA@mail.gmail.com>
[not found] ` <5032684A.2040703@ti.com>
[not found] ` <CA+m5__+prjk_GgvK5uZf1m23t3nsSiYu-nYRcci4my59q7T6-w@mail.gmail.com>
[not found] ` <CA+m5__Kiq0-ZYjarTXZRFZTC71wWV=c0fmzCJW=-Dt5fgK+dxA@mail.gmail.com>
[not found] ` <20120825103410.7fc86952@lilith>
[not found] ` <20120828165448.GD9587@nvidia.com>
[not found] ` <20120830083325.031e31d4@lilith>
[not found] ` <CA+m5__+gNxyB1nVSe-8DTE=seqBvOQTz2NsPTh=h3kTOCY9rCw@mail.gmail.com>
[not found] ` <20120830224742.678423bc@lilith>
[not found] ` <5FBF8E85CA34454794F0F7ECBA79798F379E005FB3@HQMAIL04.nvidia.com>
[not found] ` <20120830234733.1aea4c7e@lilith>
[not found] ` <5FBF8E85CA34454794F0F7ECBA79798F379E006051@HQMAIL04.nvidia.com>
2012-08-31 6:32 ` Albert ARIBAUD
2012-07-30 20:07 Tom Warren
2012-08-03 23:35 ` Tom Warren
2012-08-05 19:46 ` Albert ARIBAUD
2012-08-05 20:01 ` Albert ARIBAUD
2012-08-06 15:53 ` Tom Warren
2012-08-06 17:37 ` Allen Martin
2012-08-06 22:46 ` Allen Martin
2012-08-07 6:53 ` Albert ARIBAUD
2012-08-07 16:03 ` Tom Warren
2012-08-07 17:15 ` Allen Martin
2012-08-06 15:18 ` Tom Warren
2012-08-07 16:27 ` Tom Warren
2012-07-09 17:49 Tom Warren
2012-07-09 20:42 ` Albert ARIBAUD
2012-05-03 15:56 Tom Warren
2012-05-04 7:30 ` Albert ARIBAUD
2012-05-04 15:36 ` Tom Warren
2012-04-26 21:14 Tom Warren
2012-03-28 21:48 Tom Warren
2012-03-29 6:13 ` Albert ARIBAUD
2012-03-09 22:39 Tom Warren
2012-03-10 8:25 ` Wolfgang Denk
2012-03-10 19:34 ` Simon Glass
2012-03-12 19:30 ` Tom Warren
2012-03-12 20:24 ` Simon Glass
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=4FD66A4B.1050003@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--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