Hello @erdemkahraman,
I could build the dts files that you provided successfully for colibri-imx6
machine for BSP 5.7.2.
Here is the structure of my custom layer:
rudhi@nb:~/Yocto/ref_image_bsp5/oe-core/layers/meta-customer$ tree
.
├── conf
│ └── layer.conf
├── COPYING.MIT
├── README
└── recipes-kernel
└── linux
├── device-tree-overlays
│ └── colibri-imx6_gpio-keys_overlay.dts
├── device-tree-overlays_%.bbappend
Here is the device-tree-overlays_%.bbappend
file:
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI += "\
file://colibri-imx6_gpio-keys_overlay.dts \
"
TEZI_EXTERNAL_KERNEL_DEVICETREE += "\
colibri-imx6_gpio-keys_overlay.dtbo \
"
TEZI_EXTERNAL_KERNEL_DEVICETREE_BOOT = "\
colibri-imx6_gpio-keys_overlay.dtbo \
"
do_collect_overlays:prepend() {
cp ${WORKDIR}/colibri-imx6_gpio-keys_overlay.dts ${S}
}
After this, execute the bitbake
command to build compile the overlays:
MACHINE=colibri-imx6 bitbake device-tree-overlays
I could find the output dtbo
file here: build/deploy/images/colibri-imx6/overlays/colibri-imx6_gpio-keys_overlay.dtbo