Skip to content
No description, website, or topics provided.
C++ C C# Java Batchfile Makefile Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
VisualStudio Merging using //SW_Components/DEV/services/DAL/... //SW_Components/Ma… May 12, 2019
android Merging using JHI_DEV_->_JHI_Mainline Dec 14, 2016
applets
bindings/csharp Merging using JHI_DEV_->_JHI_Mainline Jan 10, 2018
common Merging using JHI_DEV_->_JHI_Mainline May 20, 2019
external Initial import of //SW_Components/Mainline/services/DAL/Src/ from the… Sep 19, 2016
libjhi Merging using //SW_Components/DEV/services/DAL/... //SW_Components/Ma… May 12, 2019
licenses
plugins [JHI] move JHI plug-in from DLLs to libs - bhplugin change Jan 23, 2019
service Merge remote-tracking branch 'p4/master' May 20, 2019
teemanagement Merging //SW_Components/DEV/services/DAL/... //SW_Components/Mainline… Apr 4, 2019
teetransport Merging //SW_Components/DEV/services/DAL/... //SW_Components/Mainline… Apr 4, 2019
test
thirdparty Merging //SW_Components/DEV/services/DAL/... //SW_Components/Mainline… Apr 4, 2019
Android.mk
CMakeLists.txt Merging //SW_Components/DEV/services/DAL/... //SW_Components/Mainline… Apr 4, 2019
LICENSE Merging //SW_Components/DEV/services/DAL/... //SW_Components/Mainline… Apr 4, 2019
readme.md Merging //SW_Components/DEV/services/DAL/... //SW_Components/Mainline… Apr 4, 2019

readme.md

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

Change installation location:

cmake . -DCMAKE_INSTALL_PREFIX=/user

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.

You can’t perform that action at this time.