From: "Grant Likely" <grant.likely@secretlab.ca>
To: "Leisner, Martin" <Martin.Leisner@xerox.com>
Cc: linuxppc-dev <Linuxppc-dev@ozlabs.org>
Subject: Re: embedded a default dtb in the kernel (was merge dtc)
Date: Fri, 19 Oct 2007 13:09:39 -0600 [thread overview]
Message-ID: <fa686aa40710191209u883b3d0r954e7b3d6d1b8d12@mail.gmail.com> (raw)
In-Reply-To: <556445368AFA1C438794ABDA8901891C075945FD@USA0300MS03.na.xerox.net>
On 10/19/07, Leisner, Martin <Martin.Leisner@xerox.com> wrote:
> Is there a way to embed a default dtb into the kernel?
> When I build a kernel, I want to embed a dtb into it --
> so I don't have to deal with the headaches of finding the
> right file to match the right board (its always easier to
> deal with 1 file than 2).
>
> If there is, it makes sense to put dtc into the tree.
> If there's not, there should be a way to embed dtb's; and put
> dtc and dts's into the tree.
> If there can't be (I haven't examined this but relaying my
> experiences), then it should be in a separate repository
> (but the DTS and DTC should be in one place).
> It was a little difficult to cobble together a working
> system the first time.
>
> Also, mkimage SHOULD definitely go in the tree. Its necessary
> to build, hence should be in the tree...
Why? mkimage is u-boot specific, and hence is maintained by u-boot.
If you're not using u-boot, then you don't need mkimage. What is
wrong with it being a prereq like all the other tools we use? If
you're doing embedded development, you're installing non-distribution
cross toolchain anyway.
dtc and mkimage are embedded development tools. They belong with the
embedded development toolchain. mkimage is already part of ELDK.
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195
next prev parent reply other threads:[~2007-10-19 19:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-19 18:30 embedded a default dtb in the kernel (was merge dtc) Leisner, Martin
2007-10-19 19:09 ` Grant Likely [this message]
2007-10-20 7:10 ` David Gibson
2007-10-20 7:11 ` David Gibson
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=fa686aa40710191209u883b3d0r954e7b3d6d1b8d12@mail.gmail.com \
--to=grant.likely@secretlab.ca \
--cc=Linuxppc-dev@ozlabs.org \
--cc=Martin.Leisner@xerox.com \
/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;
as well as URLs for NNTP newsgroup(s).