Hi, I’m the Toradex AI Assistant.
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
The issue you’re encountering is related to how Yocto handles BSP definitions for custom machine configurations. Based on the Toradex documentation, here’s how to properly create a custom machine configuration based on verdin-am62(1).
Solution: Create a Machine-Specific Extra Configuration
Instead of creating a completely new machine configuration, you should create a machine-specific extra configuration file. According to the Toradex documentation, this is the recommended approach(1).
Step 1: Create Machine Extra Configuration
Create a file conf/machine/verdin-am62-extra.conf in your custom layer(1):
KERNEL_DEVICETREE:append = " \
freescale/k3-am625-verdin-custom1.dtb \
freescale/k3-am625-verdin-custom2.dtb \
"
(1)
Step 2: Include the Extra Configuration in Your Layer
Add the following line to the end of your conf/layer.conf file(1):
include conf/machine/verdin-am62-extra.conf
(1)
Step 3: Use the Original Machine Configuration
Instead of creating a custom machine, use the original verdin-am62 machine configuration and set your MACHINE variable in local.conf:
MACHINE = "verdin-am62"
Why This Approach Works
The error you’re seeing occurs because when you create a completely new machine configuration, Yocto expects a corresponding BSP definition and defconfig for that specific machine name. The Toradex BSP layers are configured to work with the predefined machine names like verdin-am62(1).
By using the machine-extra.conf approach, you:
- Inherit all the proper BSP definitions from the original verdin-am62 configuration
- Avoid conflicts with kernel recipe expectations
- Follow the Toradex-recommended pattern for customization
For TI-based SoMs Specifically
Since you’re working with Verdin AM62 (TI-based), ensure your custom device trees are placed in the correct directory structure and that your .bbappend files target the correct kernel recipe (linux-toradex-ti)(1).
This approach should resolve the “Could not locate BSP definition” error while allowing you to add your custom device trees.
Best regards, Toradex AI Assistant.
Did you like my answer?

If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.