Step 1. Prepare the development environment (Linux only & Ubuntu is assumed)

Install tool chain

$ sudo apt-get install -y make curl git gcc-arm-linux-gnueabihf u-boot-tools device-tree-compiler

Prepare the source directory

$ mkdir <sdk_root>
$ cd <sdk_root>

Libraries (Optional)

$ sudo apt-get install build-essential lib32z1

Step 2. Download the source code from Github

Install “repo” command

mkdir ~/bin
PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo

Prepare the build directory

export SDK_ROOT=${HOME}/sdk_root && mkdir ${SDK_ROOT} && cd ${SDK_ROOT}

Download source code from Github

Pull source tree with read-only https protocol.

$ repo init -u https://github.com/xapp-le/manifest-owl.git
$ repo sync
$ repo start --all master

If the public key has been added to github, the following commands can be used instead. This method is preferred for the core XApp-le developers (writers), since the developer’s account/password won’t be asked repeatedly for the four contained repositories.

$ repo init -u git@github.com:xapp-le/manifest-owl.git
$ repo sync # to retrieve u-boot,linux repos.
$ repo start --all master

Step 3. Build the source code

Process with following commands to build.

$ cd ${SDK_ROOT}/owl
$ ./config.sh

Select board type:
 1. bubble_gum
 2. bubble_gum_nor
 3. bubble_gum_sd
 4. gb5_1080p
 5. gb5_720p
 6. gb5_wxga
 7. gb5_wxga_sd
 8. gb5_xga
 9. lemaker_guitar
Which would you like? [bubble_gum] 3 configured. Now run `make` $ make