Re: Which dts is being compiled?
Bel Hadj Salem Talel <bhstalel@...>
The kernel compiles every DTS exists in the Makefile which is located with DTS files. (arch/arm/boot/dts/Makefile) or (arch/arm64/boot/dts/[VENDOR]/Makefile)
In order to see what device tree is deployed into your image, please see the value of this variable : KERNEL_DEVICETREE:
$ bitbake -e | grep ^KERNEL_DEVICETREE=
You can specify your machine also : $ bitbake -e | grep ^KERNEL_DEVICETREE_[MACHINE]=
Generally this variable is used in your MACHINE configuration file.
If you want to understand how DTS is used in Yocto , you can take a look at poky/meta/classes/devicetree.bbclass
Best Regards, Talel