Attention

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

Install ECI Packages

This section will help you set up an ECI repository and install ECI packages.

Setup the ECI Repository

A target running a compatible OS can install ECI packages from a hosted ECI repository. Alternatively, you can privately host the ECI repository on your own local network with packages you built or packages from the ECI release archive.

If you have already downloaded the ECI Repository, no additional preparation is required. Otherwise, follow the steps to download the ECI repository.

Install Real-time Linux Kernel

logo_debian logo_ubuntu

The section is applicable to:

../_images/target5.png

Make sure that you have setup the ECI APT repository.

  1. Before using the ECI APT repository, update the APT packages list:

    $ sudo apt update
    
    ../_images/067.png

    The APT package manager will download the latest list of packages available for all configured repositories.

    ../_images/076.png

    Tip

    If the APT package manager is unable to connect to the repositories, follow these APT troubleshooting tips:

    • Make sure that the system has network connectivity.

    • Make sure that the ports 80 and 8080 are not blocked by a firewall.

    • Configure an APT proxy (if network traffic routes through a proxy server). To configure an APT proxy, add the following lines to a file at /etc/apt/apt.conf.d/proxy.conf (replace the placeholders as per your specific user and proxy server):

      Acquire::http::Proxy "http://user:password@proxy.server:port/";
      Acquire::https::Proxy "http://user:password@proxy.server:port/";
      
  2. ECI provides Deb packages named customizations-* which add a GRUB menu entry for ECI and prepares the system to be deterministic. Install these packages using the eci-customizations meta-package:

    $ sudo apt install -y eci-customizations
    
  3. ECI provides a firmware package which backports updates from upstream to bring better hardware support to the current distribution. Install this package:

    $ sudo apt-get reinstall '(firmware-linux-nonfree|linux-firmware$)'
    
  4. Next, install the ECI real-time Linux kernel. There are two options available: Linux Intel LTS PREEMPT_RT kernel and Linux Intel LTS Xenomai Dovetail kernel. It is recommended that you start with Linux Intel LTS PREEMPT_RT kernel, if you do not know which option to choose.

    Click the corresponding tab to know more.

    Linux Intel LTS PREEMPT_RT kernel is Intel’s Long-Term-Support kernel with PREEMPT_RT patches.

    $ sudo apt install -y linux-intel-rt
    
  5. Depending on your Linux distribution, the default GRUB configuration may hide the GRUB boot menu. Perform the following commands to ensure that the GRUB menu is not hidden:

    $ sudo sed -i 's/^GRUB_TIMEOUT_STYLE=hidden/GRUB_TIMEOUT_STYLE=menu/' /etc/default/grub
    $ sudo sed -i 's/^GRUB_TIMEOUT=0/GRUB_TIMEOUT=5/' /etc/default/grub
    $ sudo update-grub
    
  6. Reboot the target system.

    $ sudo reboot
    

What Next after Installing Real-time Linux Kernel

After installing the real-time Linux kernel, proceed to Complete and Verify Deployment.

web counter