Skip to content

camera: prepare NHX desktop dependencies and quiesce camera server - #562

Merged
Bhargav-qcom (bhargav0610) merged 3 commits into
qualcomm-linux:mainfrom
smuppand:feature/camera-nhx-package-dependencies
Sep 1, 2026
Merged

camera: prepare NHX desktop dependencies and quiesce camera server#562
Bhargav-qcom (bhargav0610) merged 3 commits into
qualcomm-linux:mainfrom
smuppand:feature/camera-nhx-package-dependencies

Conversation

@smuppand

Copy link
Copy Markdown
Contributor

Summary

  • add opt-in desktop CAMX/NHX overlay package preparation
  • support FIT DTB selection for the next boot when requested
  • stop qti-cam-server.service before NHX, with legacy cam-server.service fallback
  • restore the camera service only when the test stopped an initially active instance
  • add reusable EFI text-variable and systemd service-selection helpers

Fixes #558

Provide shared discovery, text payload verification, and safe efivarfs write support for suites that must select a firmware-provided boot configuration. The helpers preserve machine-readable command-substitution output and reuse the existing efivarfs mount restoration flow.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Allow Camera_NHX to recover the CAMX package set on Debian, Ubuntu, and CentOS only when --overlay is requested. With an explicit --fit-dtb value, discover VendorDtbOverlays dynamically, select the requested FIT DTB for the next boot, and report a clean reboot-required result before validation.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
NHX requires the camera server to be stopped before it runs on desktop CAMX images. Prefer qti-cam-server.service, retain the legacy cam-server.service fallback, and restore only a service state changed by the test.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
@bhargav0610
Bhargav-qcom (bhargav0610) merged commit 7f0ff61 into qualcomm-linux:main Sep 1, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Camera test update on mainline KLM(need to use --> "systemctl stop qti-cam-server.service" instead of "systemctl stop cam-server")

2 participants