Skip to content

Latest commit

 

History

History
88 lines (62 loc) · 2.07 KB

README.md

File metadata and controls

88 lines (62 loc) · 2.07 KB

Early App

Introduction

This software is a testing application that runs on Clear Linux to verify cold boot to audio, video and RVC (Reverse View Camera) functionalities on Intel platforms.

License

Early App is distributed under the MIT License. You may obtain a copy of the License at: https://opensource.org/licenses/MIT

Dependencies

  • CMake
  • Boost libraries
  • GStreamer
  • ALSA
  • Intel Media SDK

Program options

  • --help: Show usage.
  • -v [ --version ]: Print version number.
  • -c [ --camera-input ] <cam input> Camera input source selection. Only supported with use-gstreamer option.
  • -s [--splash-video] <file path>: Set splash video path.
  • -d [--cbc-device] <device path>: Set CBC device path.
  • --bootup-sound <file path>: Set bootup sound path.
  • --rvc-sound <file path>: Set RVC sound path.
  • -w [--width] <nubmer>: Set display width.
  • -h [--height] <number>: Set display height.
  • --gpio-number <number>: GPIO number for KPI measurements. Negative values will be ignored.
  • --gpio-sustain <number>: GPIO sustaining time in ms for KPI measurements.
  • --use-gstreamer : Use GStreamer for auido, camera and video.
  • --gstcamcmd <custom definition>: Custom GStreamer camera command. Only supported with use-gstreamer option.

Building

  1. Download sources.

  2. Build:

$ mkdir build&&cd build
$ cmake ..
$ make
  1. Run:
$ src/earlyapp [options]

Compilation options

  • USE_LOGOUTPUT : Enable detailed log output to standard out.
$ cmake -DUSE_LOGOUTPUT=ON ..
  • USE_DMESGLOG : Enable log output to dmesg.
$ cmake -DUSE_DMESGLOG=ON ..

Earlyapp in UEFI environment

  1. Service enablement for splash video:
$ sudo systemctl enable earlyapp_gst.target
  1. Using camera on runtime

    Pre-requisite: export XDG_RUNTIME_DIR, WAYLAND_DISPLAY and GST_PLUGIN_PATH

$ src/earlyapp --use-gstreamer --camera-input test 

To use earlyapp with CBC please refer to our Early App user guide.