[meta-freescale] dts and dtb files
Mats.Karrman at tritech.se
Thu Jan 16 04:52:06 PST 2014
Read here for more info on DTB's:
Linux source: Documentation/devicetree/usage-model.txt
To change something you need to either patch the existing dts files or (better) create a new one. The new one could include the existing one and just add its modifications.
The DTB is compiled as a part of building the kernel. You could add an additional DTB to the build by appending something like:
KERNEL_DEVICETREE += "my-precious.dtb"
to a recipe or conf file.
Then you need to change the U-Boot environment to select this dtb instead of the default one.
BR // Mats
From: meta-freescale-bounces at yoctoproject.org [meta-freescale-bounces at yoctoproject.org] on behalf of Niklas Molin [niklas.p.molin at gmail.com]
Sent: Thursday, January 16, 2014 1:22 AM
To: meta-freescale at yoctoproject.org
Subject: [meta-freescale] dts and dtb files
I'm trying to figure out how the dts/dtsi and dtb files works, when compiling for the sabreSD board.
Where can I find more info about this?
When I checked in the imx6dlsabresd.conf, it pointed to some dtb (e.g. imx6dl-sabresd.dtb) files (which seems to be some kind of binary files).
If I want to modify (enable/disable ports etc.) in my project, is it ht edts and dtsi files I should use then.
Does these file have to be compiled in some way, to be included in the sabresd project?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the meta-freescale