I’ve made a layer similar to meta-toradex-demos. I only have one recipe recipes-images/images. I’ve added a bb file that’s very similar to one of the bb files that’s in meta-toradex-demos/recipes-images/images/tdx-reference-minimal-image.bb. I’ve added SRC_URI += “file://0001-Add-Rudi-text.patch” in the bbappend file so that the patch gets applied. The patch is about a single line modification in a dts file. The image is built but I found that the decompiled dtb file does not have the changes and I checked the dts file and the patch is not applied there either.
I’m new to Yocto and wondering how to get it working?
Thanks so much.
This is the layer directory with custom layer meta-cti-layer
meta-arm meta-freescale-3rdparty meta-qt5 meta-toradex-bsp-common meta-toradex-nxp openembedded-core
meta-cti-rudi meta-freescale-distro meta-security meta-toradex-demos meta-toradex-ti
meta-freescale meta-openembedded meta-ti meta-toradex-distro meta-yocto
Following is the custom layer meta-cti-rudi
├── conf
│ └── layer.conf
├── COPYING.MIT
├── README
└── recipes-images
└── images
├── cti-rudi-minimal-image.bb
├── cti-rudi-minimal-image.bbappend
└── files
└── 0001-Add-Rudi-text.patch
Following is the output of bitbake-layers show-layers
layer path priority
meta-toradex-nxp /home/hj/cti-rudi-aquila/build/…/layers/meta-toradex-nxp 22
meta-freescale /home/hj/cti-rudi-aquila/build/…/layers/meta-freescale 5
meta-freescale-3rdparty /home/hj/cti-rudi-aquila/build/…/layers/meta-freescale-3rdparty 4
meta-toradex-ti /home/hj/cti-rudi-aquila/build/…/layers/meta-toradex-ti 22
meta-arm-toolchain /home/hj/cti-rudi-aquila/build/…/layers/meta-arm/meta-arm-toolchain 5
meta-arm /home/hj/cti-rudi-aquila/build/…/layers/meta-arm/meta-arm 5
meta-ti-bsp /home/hj/cti-rudi-aquila/build/…/layers/meta-ti/meta-ti-bsp 6
meta-ti-extras /home/hj/cti-rudi-aquila/build/…/layers/meta-ti/meta-ti-extras 6
meta-toradex-bsp-common /home/hj/cti-rudi-aquila/build/…/layers/meta-toradex-bsp-common 23
meta-oe /home/hj/cti-rudi-aquila/build/…/layers/meta-openembedded/meta-oe 5
meta-filesystems /home/hj/cti-rudi-aquila/build/…/layers/meta-openembedded/meta-filesystems 5
meta-gnome /home/hj/cti-rudi-aquila/build/…/layers/meta-openembedded/meta-gnome 5
meta-xfce /home/hj/cti-rudi-aquila/build/…/layers/meta-openembedded/meta-xfce 5
meta-networking /home/hj/cti-rudi-aquila/build/…/layers/meta-openembedded/meta-networking 5
meta-multimedia /home/hj/cti-rudi-aquila/build/…/layers/meta-openembedded/meta-multimedia 5
meta-python /home/hj/cti-rudi-aquila/build/…/layers/meta-openembedded/meta-python 5
meta-freescale-distro /home/hj/cti-rudi-aquila/build/…/layers/meta-freescale-distro 4
meta-toradex-demos /home/hj/cti-rudi-aquila/build/…/layers/meta-toradex-demos 24
meta-cti-rudi /home/hj/cti-rudi-aquila/build/…/layers/meta-cti-rudi 34
meta-qt5 /home/hj/cti-rudi-aquila/build/…/layers/meta-qt5 7
meta-tpm /home/hj/cti-rudi-aquila/build/…/layers/meta-security/meta-tpm 10
meta-toradex-distro /home/hj/cti-rudi-aquila/build/…/layers/meta-toradex-distro 21
meta-poky /home/hj/cti-rudi-aquila/build/…/layers/meta-yocto/meta-poky 5
meta /home/hj/cti-rudi-aquila/build/…/layers/openembedded-core/meta 5
0001-Add-Rudi-text.patch (347 Bytes)
cti-rudi-minimal-image.bb (1.6 KB)
cti-rudi-minimal-image.bbappend (115 Bytes)
layer.conf (906 Bytes)