Debug tools
packagegroup-core-tools-debug defined in the <workspace>/layers/poky/meta directory adds debug tools as part of rootfs. The <workspace>/layers/meta-qcom-hwe/recipes-devtools directory contains the appended package group recipe as packagegroup-core-tools-debug.bbappend. This append file adds ltrace, perf, sysstat, and valgrind tools to this package group. For more information, see Debug Linux user space issues.
Common Yocto build failures
For common build failures related to QA issues such as version going backwards, see Verify QA issue: Version going backwards.Layer exclusion issues
If BitBake didn’t parse a newly added layer, the recipes from that layer aren’t included in the image.-
Run the following command, and verify that you see the layer in the output:
-
If you can’t find the layer, confirm the contents of the
conf/bblayers.conffile to ensure that the layer is included.
Debug builds
To generate a debug build, run the following command:DEBUG_BUILD is set to 1, see Kernel recipe, under Kernel recipes.
The following code snippet from recipes-kernel/linux/linux-qcom_6.18.bb enables the debug configuration fragment for the kernel being built:
Tooling & logs
Verify QDL and ModemManager
If you are using a Linux distribution withsystemd, use the systemctl command to stop ModemManager. The following is an example from Ubuntu 22.04:
- To verify the
ModemManagerstatus, run the following command: - To stop
ModemManager, run the following command: - The
ps auxcommand doesn’t show any entry for/usr/sbin/ModemManager. If you needModemManager, you must restart it after the flashing is complete and verify if it has started:

