Git Product home page Git Product logo

dynamic-application-loader-host-interface's Introduction

Dynamic Application Loader (DAL) Host Interface (aka JHI)

Description

A daemon and libraries which allow user space applications to install Java applets on DAL FW and communicate with them.

Features

  • Allows multiple client applications to communicate with Intel DAL firmware simultaneously.
  • Autodetects the DAL firmware type and formats messages accordingly.
  • Caches previously installed applets for easy reuse.

Dependencies

cmake
pkg-config
uuid-dev
libxml2-dev
libsystemd-dev

How to build

cmake .
make

The output directory is bin_linux.

Build options

Release build:

cmake . -DCMAKE_BUILD_TYPE=Release

Use SysVinit instead of systemd:

cmake . -DINIT_SYSTEM=SysVinit

Change default paths (to overcome filesystem limitations on certain systems):

cmake . -DAPPLETS_DIR=<path> -DAPP_REPO_DIR=<path>

How to install

sudo make install

How to manage the daemon

systemctl {enable|disable|start|stop|restart|status} jhi

How to check which version of JHI is installed

jhid -v

How to run without init system integration

jhid (run as root)

Alternatives:

  • jhid -d (to run in the background)
  • jhid 2>&1 (to redirect stderr to stdout)

Config file

Location:

/etc/jhi/jhi.conf

Options:

  1. Run over mei/kernel/sockets.
  2. If running over sockets, specify the IP of the server.
  3. State the desired log level.
  4. Change the daemon socket location.

An integartion test - bist (for internal use)

Note: The test works on Intel platforms SKL and newer.

Location:

bin_linux/bist

How to run:

./bist

All tests should pass.

dynamic-application-loader-host-interface's People

Contributors

haimmousanintel avatar jlahav avatar skochinsky avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.