Skip to content

juimonen/intel-iot-refkit

 
 

Repository files navigation

intel-iot-refkit

This README file contains information on setting up, building, and booting Iot Reference OS Kit for Intel(r) Architecture project.

Installing Docker on Linux

You’ll need Docker installed to build locally. Using Docker provides a packaged and controlled environment for building an image, eliminating development environment issues that can occur with differing Linux OS distros and versions, different host compilers, and such. (There are instructions later below for building without Docker.)

Instructions for installing Docker for common Linux distros on your development machine (including Fedora and Ubuntu) are available at: https://docs.docker.com/engine/installation/linux

Follow the instructions for your particular distro. You should also perform some of listed Optional Docker Configuration settings:

Building with Docker

These instructions assume you’ll be working with the sources in a ~/work/intel-iot-refkit directory that you’ll be creating.

Start by cloning the GitHub repos. If you have a previous copy of this repository without all the submodules, it would be best to remove all the content of workspace directory and clone it again:

$ export WORKSPACE=$HOME/work/intel-iot-refkit
$ mkdir -p $HOME/work
$ cd $HOME/work
$ git clone --recursive https://github.com/intel/intel-iot-refkit.git
$ cd $WORKSPACE

When Docker is configured properly and all project code is cloned and available locally, it's time to trigger a build. To do this run the command from within the ~/work/intel-iot-refkit directory:

$ docker/local-build.sh

Building without Docker

While not recommended, you can also use Yocto Project bitbake directly. (Any issues you encounter building this way might not be easily reproducible and debuggable by other developers using a different distribution.)

Here are the basic steps, preparation:

$ mkdir -p $HOME/work
$ cd $HOME/work
$ git clone --recursive https://github.com/intel/intel-iot-refkit.git
$ cd intel-iot-refkit
$ source refkit-init-build-env

Edit :file:`conf/local.conf` to select whether to build the production or the development image. More details about the choices in that file.

Basic steps, build:

$ bitbake refkit-image-common

Updating Repositories

You may need to pull new content from the GitHub repo as it’s updated. Use the following commands:

$ git pull
$ git submodule update

For more information about Git submodule commands, check this link: https://git-scm.com/docs/git-submodule

Installing the Images

See detailed instructions in doc/howtos/image-install.rst.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 80.0%
  • BitBake 5.3%
  • JavaScript 5.2%
  • Shell 4.9%
  • C 2.0%
  • Assembly 1.1%
  • Other 1.5%