fix: improve BT_FW_KMD_Service readiness and firmware detection on RB4#414
Merged
bhargav0610 merged 2 commits intoqualcomm-linux:mainfrom Apr 21, 2026
Merged
fix: improve BT_FW_KMD_Service readiness and firmware detection on RB4#414bhargav0610 merged 2 commits intoqualcomm-linux:mainfrom
bhargav0610 merged 2 commits intoqualcomm-linux:mainfrom
Conversation
Add a reusable bt_wait_ready() helper to wait for bluetooth.service and HCI availability during early boot, reducing bring-up races on targets where Bluetooth comes up shortly after userspace starts. Also extend btfwpresent() to detect additional Qualcomm firmware naming patterns used on RB4-class platforms, including hpbtfw*/hpnv* and related variants, so firmware presence is reported correctly across newer and legacy layouts. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
…_Service Update BT_FW_KMD_Service to wait for Bluetooth runtime readiness through the shared bt_wait_ready() helper before evaluating service/HCI state, making the testcase more reliable on targets that bring up Bluetooth slightly later in boot. Also improve result handling so a missing adapter no longer overwrites earlier failures with SKIP, and refresh the firmware warning text to cover the expanded Qualcomm firmware filename patterns checked by lib_bluetooth.sh. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Contributor
|
Passed BT job on RB4 with above changes: https://lava.infra.foundries.io/scheduler/job/184629 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fix #413 the BT_FW_KMD_Service behavior on RB4-class platforms by addressing early-boot Bluetooth readiness, expanding firmware filename detection, and fixing testcase result flow.
Changes included:
Why:
Lava job for reference with these changes - https://lava.infra.foundries.io/scheduler/job/184610