ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
8
3.
Build Environment Setup
This section guides you through setting up the build environment for development. All
instructions are based on using Ubuntu 12.04 LTS and in newer Ubuntu versions.
To make sure that the build process completes successfully, we recommend at least
120GB of disk space, and 15GB of combined memory and swap space on the host
machine.
3.1.
Configuring Ubuntu
The following packages are required for the Yocto development environment. The
required packages can be installed using the bash script below:
#/bin/bash
# Install dependant packages
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-
essential chrpath socat
$ sudo apt-get install libsdl1.2-dev xterm sed cvs subversion coreutils texi2html docbook-
utils python-pysqlite2 help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-
mesa-dev mercurial autoconf automake groff curl lzop asciidoc
The tool to create images for use with the U-Boot boot loader, “mkimage”, is provided
by different packages in Ubuntu 12.04 and in newer Ubuntu releases.
On Ubuntu 12.04 install it as below.
$ sudo apt-get install uboot-mkimage
On Ubuntu 14.04 and newer versions install it as below.
$ sudo apt-get install u-boot-tools