Attention

You are viewing an older version of the documentation. The latest version is v3.3.

preempt-buster

The following section is applicable to:

../_images/linux1.png

This section provides the steps to build an ECI preempt-buster (ECI-B) image.

Prerequisite

Make sure that you complete the steps in Setting up ECI Build before proceeding to build an ECI preempt-buster image.

Building ECI ``preempt-buster`` Image

The ECI preempt-buster Debian target image provides the minimal set of software utilities to realize a real-time capable OS without a hypervisor. Do the following to build the image:

  1. Run the setup script:

    $ ./setup.sh
    
    ../_images/setup1.png
  2. A list of pre-configured use cases will be displayed. Select custom to start configuring a custom build.

    ../_images/use-cases1.png
  3. A list of available build targets will be displayed. Select preempt-buster from the list.

    ../_images/015.png
  4. A list of features available for preempt-buster will be displayed. Select or deselect the features that you want to include in the image. Use the arrow keys to scroll through the list of options and use the spacebar to toggle the state. Press enter to finalize the selection.

    ../_images/024.png

    The following table lists the available options:

    Feature Option

    Description

    SDK (build tools and dev pkgs)

    Adds GCC and Make to the target image.

    SSH Server

    Adds an SSH server to the target image.

    EC Protocol Bridge

    Edge Control Protocol Bridge bridges various industrial protocols together, effectively providing a translation from one protocol to another.

    CODESYS Software PLC

    CODESYS Software PLC provides a Linux runtime that allows control applications to execute on Linux-based systems. This feature requires a CODESYS .deb file to be added to the build environment.

    Desktop Environment MATE*

    Adds the MATE graphical desktop environment to the target image.

    Robot Operating System 2 (Foxy)

    Provides the Foxy version of ROS2 software.

    KVM (including libvirt & virsh)

    Adds KVM and virtualization tools such as libvirt and virsh to the target image.

    Kubernetes

    Adds binaries required to join a Kubernetes cluster.

    Antrea < v0.13.0 kmod hack

    Modifies the kmod package to work with Antrea versions less than 0.13.0.

    Note:

    This hack may have undesired side-effects! This option should only be applied if Antrea is used and it is less than version 0.13.0!

    Castle Lake Dependencies

    Adds kernel modules and tools necessary to support a Castle Lake Client.

    Intel® In-Band Manageability

    Intel® In-band Manageability enables an administrator to perform critical Device Management operations over-the-air (OTA) from the cloud. Selecting this feature will add Intel In-Band Manageability software to the target image.

    Intel® Time Coordinated Computing (Intel® TCC)

    Enables Intel® Time Coordinated Computing Tools (Intel® TCC Tools) features.

    Note:

    Intel TCC Tools features are only supported on 11th Gen Intel® Core™ processors and Intel Atom® x6000E Series processors.

    Intel® Edge Insights for Industrial (Intel® EII)

    Enables Intel® Edge Insights for Industrial features.

    Time series processing

    Enables Time-series processing features.

    Important

    (*) For best real-time performance, it is recommended that you do not the Desktop Environment MATE feature.

    Note

    The resulting OS will be headless (non-graphical) unless the Desktop Environment MATE feature is selected.

The setup script will begin configuring the assets needed to build the target image. Depending on the feature options selected and state of the build environment, a few notifications may occur. Some of these notifications are described below.

  • Build directory already exists

    If the setup script is not building the target for the first time, the script will prompt: Build directory ecs-base-<poky/deby> already exists. Do you want to clean the cached build? y/[n]

    ../_images/044.png

    Press n to retain the target build cache or press y to delete target build cache.

    Note

    It is recommended that you delete the target build cache if the target source was modified or the previous build was incomplete. Retaining the target build cache will reduce the build time, but might cause build errors if the target source was modified or the previous build was incomplete. If build errors occur, rerun the setup script and choose y at this prompt.

For all other notifications, click the following links:

  1. After setting up the build target, the script will prompt: Do you want to run an automated build? y/[n].

    ../_images/A.png

    To perform an automated build, press y at the prompt.

    ../_images/A.png

The build typically takes a very long time. A Linux build system with the recommended specifications might take about 1-2 hours to complete. A Linux build system with the minimum specifications might take over 6 hours to complete. Refer Linux Build System for the recommended specifications.

../_images/B1.png

After the build completes, refer Installing ECI-B to create a bootable USB flash drive to install the ECI image.