[meta-freescale] dts and dtb files
Mats.Karrman at tritech.se
Mon Jan 20 00:15:35 PST 2014
(Please keep the list on cc)
At Friday, January 17, 2014 11:12 PM, Niklas Molin [niklas.p.molin at gmail.com] wrote:
> So in my .conf file (machine config) I have the KERNEL_DEVICETREE, which points to some .dtb files.
> Will these .dtb files be generated by "compiling" the dts/dtsi files?
> If so, where do setup the path to where these dts/dtsi files are located.
> Right now when I look in my Sabresd directory I have dts/dtsi files in following paths:
> From which directory is it "compiling" the dts/dtsi files?
The .dtb is built as part of the Linux kernel build, not the
linux-libc-headers. On my machine I find the .dts source files at:
You need to make a patch for the linux kernel source or otherwise
copy your .dts file to this directory before do_install.
The .dtb files listed in your machine conf are compiled from .dts
files with the same name. The compiler is called "dtc" and is a
tool built as part of the linux kernel build (see .../git/scripts/dtc).
You can run the tool with "--help" for more info. A good feature
is that you can run it backwards, producing a .dts from your .dtb
so you can make sure you've got all your changes right.
BR // Mats
More information about the meta-freescale