Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Runner/config/pkg_command_map.conf
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ centos:pgrep=procps-ng
centos:killall=psmisc
centos:lsmod=kmod
centos:modprobe=kmod
centos:dtc=dtc
centos:fdtdump=dtc
centos:diff=diffutils

# ---------------------------------------------------------------------------
# Common opkg provider mappings.
Expand Down Expand Up @@ -548,7 +551,7 @@ centos:Sensors:ssc_drva_test=qcom-sensors-test-core qcom-sensors-test-apps

debian:package-set:camera-nhx=camx-dkms camx-glymur libcamx-glymur1 camx-firmware-glymur camx-nhx
ubuntu:package-set:camera-nhx=camx-dkms camx-glymur libcamx-glymur1 camx-firmware-glymur camx-nhx
centos:package-set:camera-nhx=camx-dkms camx-firmware-kodiak camx-kodiak libcamx-kodiak1
centos:package-set:camera-nhx=camx-dkms camx-firmware-kodiak camx-kodiak libcamx-kodiak1 dtc diffutils

# Qualcomm Iris video overlay. Debian and Ubuntu use the public DKMS package,
# whose post-install flow builds, registers, and loads iris_vpu. CentOS uses
Expand Down
15 changes: 15 additions & 0 deletions Runner/suites/Multimedia/Camera/Camera_NHX/Camera_NHX_Setup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
metadata:
name: camera_nhx_setup
format: "Lava-Test Test Definition 1.0"
description: "Read-only NHX runtime readiness, not camera capture validation"
os:
- yocto
scope:
- functional

run:
steps:
- REPO_PATH=$PWD
- cd Runner/suites/Multimedia/Camera/Camera_NHX
- ./run.sh --check-setup
- $REPO_PATH/Runner/utils/send-to-lava.sh Camera_NHX_Setup.res
46 changes: 46 additions & 0 deletions Runner/suites/Multimedia/Camera/Camera_NHX/Kodiak/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Kodiak NHX configurations

These four files configure `NativeHalX.OmniTest`. They can be selected through
an NHX wrapper or a nativehaltest client supporting JSON basenames via `--test`.
The runner passes the selected configuration without translating its settings
into an unrelated native testcase.

| JSON | Streams configured |
| --- | --- |
| `Preview_YUVNV12_MaxResolution_NHX.json` | One format-35 preview output |
| `Video_YUVNV12_MaxResolution_NHX.json` | One format-34 video output |
| `Prev_plus_Video_YUVNV12_MaxResolution_NHX.json` | Format-35 preview and format-34 video outputs |
| `Snapshot_YUVNV12_MaxResolution_NHX.json` | Format-35 preview and format-33 snapshot outputs |

All four retain their existing camera `0`, 150-frame, maximum-resolution,
stream usage/data-space and image-dump settings. In particular, the video JSON
uses format 34 despite its historical YUVNV12 filename. Renaming or translating
these fields would change existing coverage and is not part of native-HAL
support.

Use the same JSON selection with either an NHX wrapper or a native executable:

```sh
./run.sh --json Preview_YUVNV12_MaxResolution_NHX.json --target Kodiak
./run.sh --json Video_YUVNV12_MaxResolution_NHX.json --target Kodiak
./run.sh --json Prev_plus_Video_YUVNV12_MaxResolution_NHX.json --target Kodiak
./run.sh --json Snapshot_YUVNV12_MaxResolution_NHX.json --target Kodiak
```

Run these commands from the parent `Camera_NHX` directory. The folder name is
an explicit JSON selection, not automatic board or camera detection.

When only `nativehaltest` is installed, the runner stages the selected JSON at
`/etc/camera/test/NHX/<basename>.json` and invokes `--test <basename>` without
the extension. To choose native execution when a wrapper is also installed:

```sh
./run.sh --json Preview_YUVNV12_MaxResolution_NHX.json --target Kodiak --native-bin /usr/libexec/camx-kodiak/nativehaltest
```

The executable path above is an explicit override, automatic discovery does
not hardcode Kodiak. JSON settings, including camera and frame count, are not
overridden by native CLI defaults. Do not combine JSON with `--native-test`,
`--native-camera` or `--native-frames`. Wrapper staging and arguments remain
unchanged. Native execution still requires a successful report and fresh,
nonempty capture dumps with valid checksums.
345 changes: 317 additions & 28 deletions Runner/suites/Multimedia/Camera/Camera_NHX/README_Camera_NHX.md

Large diffs are not rendered by default.

Loading
Loading