I am using a Verdin iMX8M Plus module (currently on a Verdin Development Board), creating different builds of Yocto and Device Tree overlays.
When I follow the guides in the Toradex documentation, without doing any modifications, I get multiple warnings, both when building the kernel and device tree overlays.
I have tried several Ubuntu versions (20, 22 and 24), and different BSP versions (6.8.0 and 7.0.0), but I always get some warnings.
When I for example use Ubuntu 20 and BSP 6.8.0 or 7.0.0, I get these warnings when building the kernel:
WARNING: You have included the meta-tpm layer, but ‘tpm or tpm2’ has not been enabled in your DISTRO_FEATURES. Some bbappend files and preferred version setting may not take effect. See the meta-tpm README for details on enabling tpm support.
WARNING: No recipes in default available for: /home/yocto/oe-core-6-8-0/build/…/layers/meta-toradex-nxp/recipes-bsp/imx-mkimage/imx-mkimage_1.0.bbappend
** /home/yocto/oe-core-6-8-0/build/…/layers/meta-toradex-nxp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.0.imx.bbappend**
I also get multiple warnings when building the Device Tree overlays. See attached log file.
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
Thank you for reaching out with your question about the build warnings you’re encountering with the Verdin iMX8M Plus module. These warnings are not uncommon, and I can provide some guidance on how to address them.
TPM Layer Warning:
This warning occurs because the meta-tpm layer is included, but TPM support is not enabled in your DISTRO_FEATURES. To resolve this, you can either remove the meta-tpm layer if TPM support is unnecessary, or enable TPM support by adding tpm or tpm2 to your DISTRO_FEATURES in your Yocto configuration.
No Recipes Available Warning:
This warning indicates that certain .bbappend files are not being applied due to missing base recipes. Ensure that all necessary layers are included in your bblayers.conf file. If the recipes are not required, consider removing the .bbappend files or adjusting your layer configuration to include the needed base recipes.
Device Tree Overlay Warnings:
These warnings can result from mismatches between the overlay and the base device tree or kernel version. Ensure that the Device Tree Overlay branch matches the Kernel branch you are using to maintain compatibility and reduce warnings.
To achieve clean builds, verify that all dependencies and configurations are correctly set up. Double-check your Yocto environment setup, including the BSP and Ubuntu versions, as these can influence the build process.
If the warnings do not impact functionality, they might be benign and can sometimes be ignored. However, if they cause issues, further investigation into the specific warnings and their context within your build setup may be necessary.
I hope this helps you achieve cleaner builds. If you have any more questions, feel free to ask.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem:
In general, these are often occuring warnings, which do not necessarily affect the functionality of your application. Should you want to get rid of them masking the bbappend should be the way to go. This can be done in the local.conf file. Of course this is only a viable solution as long as you do not make use of this bbappend.
Also, for meta-tpm, if you need the tpm support, you will have to enable it on DISTRO_FEATURES.