Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Latest commit

 

History

History
97 lines (67 loc) · 2.55 KB

README.md

File metadata and controls

97 lines (67 loc) · 2.55 KB

DISCONTINUATION OF PROJECT.

This project will no longer be maintained by Intel.

Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.

Intel no longer accepts patches to this project.

If you have an ongoing need to use this project, are interested in independently developing it, or would like to maintain patches for the open source software community, please create your own fork of this project.

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.