Re: embedding dtb file into kernel

Sam Protsenko <[email protected]>
Newsgroups org.kernel.vger.linux-embedded
Message-ID <CAJOTznW_XEwHOiYafPivR17xMvPKNgKiCrimdmE01KrHWZtvDA@mail.gmail.com>
On Thu, Feb 12, 2015 at 9:33 PM, K Richard Pixley
<[email protected]> 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 [email protected]
> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.