Skip to content

ni/nile

 
 

Repository files navigation

NI Linux Embedded (NILE)

This repository provides the necessary configuration and git submodules required to build the NI Linux Embedded distribution.

The initial implementation sets up the OpenEmbedded build system with meta-xilinx and other layers required to build images for Xilinx development boards and some vendor boards.

OpenEmbedded allows the creation of custom Linux distributions for embedded systems. It is a collection of git repositories known as layers each of which provides recipes to build software packages as well as configuration information.

Information about the branch names is available at https://wiki.yoctoproject.org/wiki/Releases.

Authentication to internal repos

This layer contains recipes that depend on NI-internal repositories. These require git to be aware of authentication credentials.

Getting Started

  1. Clone the git repository:

    $ git clone https://github.com/ni/nile.git

  2. Check out the appropriate branch (default scarthgap based branch is OK for now):

    $ cd nile

  3. Update the submodules:

    $ git submodule update --init --recursive

  4. Build docker image for pyrex

    $ bash ./docker/create-build-nile.sh

    Verify the image was created: $ docker images build-nile

  5. Initialize the build system:

    $ source ./nile-oe-init-build-env

  6. Build an image:

    $ bitbake nile-image-dev

  7. Test it in qemu with:

    $ runqemu nile-image-dev

  8. Build an sdk:

    $ bitbake -c populate_sdk nile-image-dev

Getting Started (KAS)

  1. Clone the git repository:

    $ git clone https://github.com/ni/nile.git
    
  2. Check out the appropriate branch (default scarthgap based branch is OK for now):

    $ cd nile
    
  3. Build docker image for kas

    $ bash ./docker/create-build-nile.sh --base kas

    Verify the image was created: $ docker images build-nile

  4. Build an image:

    $ ./kas-container build kas/kula.yml
    
  5. Test it in qemu with:

    $ ./kas-runqemu kas/kula.yml
    
  6. Build an sdk:

    $ ./kas-container build kas/default-sdk.yml
    

About

NI Linux Embedded

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 50.3%
  • C 26.6%
  • Python 20.1%
  • BitBake 2.5%
  • Other 0.5%