Skip to content

Latest commit

 

History

History
105 lines (68 loc) · 2.46 KB

README.md

File metadata and controls

105 lines (68 loc) · 2.46 KB

Intel(R) Graphics System Controller Firmware Update Library (IGSC FU)


Introduction


Documentation

API Documentation

Build

Requirements:

Cross-platform

MeTee

If MeTee library is not found in the system paths CMake and Meson scripts downloads the MeTee library sources from GitHub (git installation and correct proxy setup are required). Alternatively, in order to use pre-compiled MeTee one can set the following environment variables:

  • METEE_LIB_PATH to pre-compiled library path
  • METEE_HEADER_PATH to headers path

Linux

  • libudev (libudev-dev package in Debian)

Both cmake and meson build framework are supported.

CMake

Example:

Linux:

    cmake -G Ninja -S . -B builddir
    ninja -v -C builddir

Linux Debug version:

    cmake -DSYSLOG:BOOL=OFF -DCMAKE_BUILD_TYPE=Debug -G Ninja -S . -B builddir
    ninja -v -C builddir

Linux Debug with tests:

    cmake -DSYSLOG:BOOL=OFF -DENABLE_TESTS:BOOL=ON -DCMAKE_BUILD_TYPE=Debug -G Ninja -S . -B builddir
    ninja -v -C builddir

Windows: (Visual Studio 2019)

From the "Developer Command Prompt for VS 2019" with CMake component installed:

    cmake -G "Visual Studio 16 2019" -S . -B builddir
    cmake --build builddir --config Release

Windows Debug version: (Visual Studio 2019)

From the "Developer Command Prompt for VS 2019" with CMake component installed:

    cmake -G "Visual Studio 16 2019" -S . -B builddir
    cmake --build builddir --config Debug

meson

Example:

    meson setup builddir/
    meson configure -Dsyslog=true builddir
    ninja -v -C builddir/

Command Line Tool Usage Example:


# igsc <partition> update|version [--image <fw image file>] [ --device <device>]

Example:

`# igsc fw version --device /dev/mei2

# igsc oprom-data update --image <fw image file>

Library and CLI Version

The library is versioned according semantic versioning 2.0.0

*MAJOR.MINOR.PATCH-, incrementing the:

  • MAJOR incompatible API changes,
  • MINOR add functionality in a backwards compatible manner
  • PATCH version when you make backwards compatible bug fixes.
  • Extension Label git shortened commit hash or other extension.