Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello!
It seems you’re encountering issues with your Yocto recipes where existing overlays are being removed when you add new ones. To address this, it’s crucial to ensure that you are appending to the TEZI_EXTERNAL_KERNEL_DEVICETREE
and TEZI_EXTERNAL_KERNEL_DEVICETREE_BOOT
variables rather than overwriting them. You should use the +=
operator to append new overlays, which helps preserve the existing ones. Here’s an example:
TEZI_EXTERNAL_KERNEL_DEVICETREE += "\
new_overlay1.dtbo \
new_overlay2.dtbo \
"
TEZI_EXTERNAL_KERNEL_DEVICETREE_BOOT += "\
new_overlay1.dtbo \
new_overlay2.dtbo \
"
This approach should prevent the deletion of existing overlays by adding the new ones to the list.
Regarding the long build times, here are some steps you can take:
- Check for Syntax Errors: Ensure there are no syntax errors in your recipes that might cause the build process to hang. Double-check the use of backslashes and spaces.
- Review Build Logs: Examine the build logs for any errors or warnings that could indicate what is causing the delay.
- Resource Allocation: Make sure your build environment has sufficient resources (CPU, RAM, disk space) to handle the build process efficiently.
- Incremental Builds: If possible, try performing an incremental build to see if it reduces the build time.
By following these steps, you should be able to resolve the issues with your device tree overlays and improve the build process efficiency.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem: