Visible to Intel only — GUID: GUID-F9565557-2572-460A-93CF-89399BEEC183
Visible to Intel only — GUID: GUID-F9565557-2572-460A-93CF-89399BEEC183
Linux Tools
The Intel® Dynamic Application Loader (Intel® DAL) SDK provides a Generic Host Application, which implements the same flow as the Windows* version, and a sample for Linux* host application development. They are located in the DALsdk\Linux folder. To use them, you must have a platform with a supporting firmware image plus a Linux operating system with the Intel® DAL Host Interface Service (Intel® DAL HIS) (JHI) Daemon installed.
Generic Host Application
The Generic Host Application works on both real hardware and in the emulation mode. The applied mode is defined by the JHI communication interface.
Currently the Generic Host Application exposes only the graphical user interface.
Real Hardware Mode
When the JHI Daemon is using the Intel® MEI device or the Intel® MEI DAL service, the Generic Host Application connects to the real Intel DAL firmware which is on the platform.
Emulation Mode
When the JHI Daemon is using the IP socket of a given Windows host platform, the Generic Host Application connects to the Generic Host App Agent which is running on this remote Windows host.
The Generic Host App Agent (GHA Agent) is a command line tool, located in the SDK Linux folder, and is responsible for communication between the Generic Host Application and the Intel DAL firmware emulation as provided by the Emulauncher tool. When the Generic Host Application is running in emulation mode, both the GHA Agent and the Emulauncher must be running on the remote Windows host.
Note: When connecting a remote GHA to the Emulauncher, make sure that the "Emulation Only Mode" flag is checked in the Emulauncher settings.
The Emulauncher and the GHA Agent tools are provided as part of every Intel DAL SDK installation and, therefore, exist on all machines in Intel DAL SDK installed.
Note: After emulation restart, the JHI Daemon must be restarted as well. This can be done by either restarting the Linux platform or calling a restart command with root privileges. Therefore, after turning off and then turning on the emulation, the Generic Host App Agent asks you for the root password in order to perform JHI restart.
Host Application Sample
The Host Application Sample is a simple Linux host application that does the following:
- Loads the trusted application you packaged into the Intel DAL virtual machine (DAL VM).
- Communicates with the trusted application.
It uses the legacy JHI APIs and runs over the user space.
This sample attempts to load a default TA named echo.dalp and located under /tmp/dal. You can find this .dalp file under the Include folder and copy it to /tmp/dal to run this sample.
The sample includes the source code and an executable file which was compiled on Linux Yocto distribution 64bit OS.
In order to re-build the sample code, you will need to:
- Install CMake
- Run inside /DALHostApplication/cmake .make
The output folder is DALHostApplication/bin.