From 704053b7ba64bec0a33053fd30afbb1771fcf83c Mon Sep 17 00:00:00 2001 From: Deewan Singh Date: Fri, 13 Feb 2026 11:59:47 +0530 Subject: [PATCH 1/2] qcom-minimal-image: Install rt-tests for linux-qcom-rt and linux-qcom-next-rt Install rt-tests only when PREEMPT_RT is selected using: PREFERRED_PROVIDER_virtual/kernel = linux-qcom-rt or linux-qcom-next-rt. This ensures rt-tests is included only for RT-enabled builds as rt-tests is specific to validating PREEMPT_RT behavior(cyclictest, signaltest, hwlatdetect, etc.) Added rt-tests in qcom-minimal-image as any QCOM image can opt for RT kernel, and qcom-minimal-image is included in all images. Signed-off-by: Deewan Singh --- recipes-products/images/qcom-minimal-image.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-products/images/qcom-minimal-image.bb b/recipes-products/images/qcom-minimal-image.bb index d2b418fd..25a849ff 100644 --- a/recipes-products/images/qcom-minimal-image.bb +++ b/recipes-products/images/qcom-minimal-image.bb @@ -21,3 +21,7 @@ EXTRA_USERS_PARAMS = "usermod -p '\$6\$UDMimfYF\$akpHo9mLD4z0vQyKzYxYbsdYxnpUD7B # Adding kernel-devsrc to provide kernel development support on SDK TOOLCHAIN_TARGET_TASK += "kernel-devsrc" + +# Add RT tools only if the RT kernel is selected +CORE_IMAGE_EXTRA_INSTALL += "${@bb.utils.contains_any('PREFERRED_PROVIDER_virtual/kernel', \ + 'linux-qcom-rt linux-qcom-next-rt', 'rt-tests', '', d)}" From 898daa1a5a5f094218929275762539be6d577e6a Mon Sep 17 00:00:00 2001 From: Deewan Singh Date: Fri, 13 Feb 2026 12:05:13 +0530 Subject: [PATCH 2/2] packagegroup-qcom-utilities: Add stress-ng to profile-utils Stress-ng is a general-purpose system stress tool useful for platform validation across kernels (CPU/mem/I/O/thermal, etc.). Add it to the utilities packagegroup (profile-utils) so images that already consume profiling utilities will include it. Signed-off-by: Deewan Singh --- recipes-products/packagegroups/packagegroup-qcom-utilities.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-products/packagegroups/packagegroup-qcom-utilities.bb b/recipes-products/packagegroups/packagegroup-qcom-utilities.bb index 5698dd4a..74ef09a1 100644 --- a/recipes-products/packagegroups/packagegroup-qcom-utilities.bb +++ b/recipes-products/packagegroups/packagegroup-qcom-utilities.bb @@ -68,6 +68,7 @@ RDEPENDS:${PN}-network-utils = " \ RDEPENDS:${PN}-profile-utils = " \ perf \ powertop \ + stress-ng \ sysbench \ systemd-analyze \ tiobench \