[meta-freescale] dts and dtb files

Mats Kärrman Mats.Karrman at tritech.se
Thu Jan 16 04:52:06 PST 2014


Hi Niklas,

Read here for more info on DTB's:

http://www.devicetree.org/Device_Tree_Usage
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

Hi.

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?

Thanks,
Niklas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140116/0e1a7c32/attachment.html>


More information about the meta-freescale mailing list