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: [email protected] 
[[email protected]] on behalf of Niklas Molin 
[[email protected]]
Sent: Thursday, January 16, 2014 1:22 AM
To: [email protected]
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
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to