linux-embedded.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sam Protsenko <semen.protsenko@globallogic.com>
To: K Richard Pixley <rpixley@graphitesystems.com>
Cc: linux-embedded@vger.kernel.org
Subject: Re: embedding dtb file into kernel
Date: Fri, 13 Feb 2015 15:31:15 +0200	[thread overview]
Message-ID: <CAJOTznW_XEwHOiYafPivR17xMvPKNgKiCrimdmE01KrHWZtvDA@mail.gmail.com> (raw)
In-Reply-To: <54DD0018.7010409@graphitesystems.com>

On Thu, Feb 12, 2015 at 9:33 PM, K Richard Pixley
<rpixley@graphitesystems.com> wrote:
> I'm having trouble figuring out how to embed a dtb file into my kernel.  I'm
> thinking that there should be a standard, architecture independent facility
> for this akin to initramfs, yes?
>
> Could someone please either point me to the standard facility, relevant doc,
> a currently building board that uses the standard facility, or outline what
> needs to be done to do this with a new board?
>
> If it matters, (I can't think why it would), I'm working with powerpc on a
> 3.10 kernel.  But if there are better facilities in other versions I'd
> appreciate hearing about that too.
>
> Thank you in advance.
>
> --rich
> --
> To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Look into Documentation/powerpc/bootwrapper.txt.
It reveals that there is "wrapper" script which does the trick and
this script should be used
via Makefile. Both "wrapper" script and Makefile resides in
arch/powerpc/boot/ directory.
I think you can figure out how to use it properly from that documentation.

      parent reply	other threads:[~2015-02-13 13:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-12 19:33 embedding dtb file into kernel K Richard Pixley
2015-02-12 22:01 ` Tim Bird
2015-02-12 22:30   ` K Richard Pixley
2015-02-13  0:56     ` Tim Bird
2015-02-13  6:10       ` Rob Landley
2015-02-13  6:15         ` Hugh Blemings
2015-02-13 13:31 ` Sam Protsenko [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=CAJOTznW_XEwHOiYafPivR17xMvPKNgKiCrimdmE01KrHWZtvDA@mail.gmail.com \
    --to=semen.protsenko@globallogic.com \
    --cc=linux-embedded@vger.kernel.org \
    --cc=rpixley@graphitesystems.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 read-only IMAP folder(s) and NNTP newsgroup(s).