You copied the Doc URL to your clipboard.

Preparing and building your Linux kernel

Streamline requires that you build your Linux kernel with certain options enabled. These instructions are specific to building a Linux kernel. Ignore these steps if you are running Android.

The options that you need to enable are described in the topic  Required kernel configuration menu options.

To prepare your kernel for use with Streamline, follow these steps:

Procedure

  1. Download one of the supported versions of the Linux kernel and configure it. See the topic  Streamline prerequisites for the list of supported versions.
    For instructions on how to do this and the required kernel code, visit http://www.kernel.org.

    Note

    You can build and configure the gator driver gator.ko by unpacking gator-driver.tar.gz directly into the Linux kernel source tree. On Linux, this file is located in the directory /usr/local/DS-5/arm/gator/driver-src. For more information, see the topic Building the gator module.
  2. Enter the following command in your shell to export the cross compiler:

    export CROSS_COMPILE=${CROSS_TOOLS}/bin/arm-linux-gnueabihf-

  3. To specify that this build is for an ARM® architecture, enter the following command in your shell:

    export ARCH=arm

  4. Enter the following to build the configuration file specific to your platform:

    make platform_defconfig

    Replace platform_defconfig in the command with one of the configuration files located in the your_kernel/arch/arm/configs directory appropriate for your platform or with a configuration file provided by a vendor.

  5. To launch menuconfig, the command-line kernel configuration tool, enter the following in your shell:

    make menuconfig

  6. Set the required kernel configuration menu options.
  7. Use the following command to build the image:

    make -j5 uImage

    The uImage should be installed and booted before moving on to the next step.

  8. Verify all of your kernel options on a running system using /proc/config.gz, if it exists on your system. For example, to confirm that CONFIG_PROFILING is enabled, enter:

    zcat /proc/config.gz | grep CONFIG_PROFILING

Was this page helpful? Yes No