Hardware requirements

Software requirements


If host is freshly installed, it is necessary to install several packages in advance. Firstly,

$sudo apt-get install python curl git
$sudo apt-get install texinfo gawk chrpath

Then, install repo application

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

Following Angstrom recommendations, which requires python2, Ubuntu may use python3 as default, use command below to fix

$sed -i "s%/usr/bin/env python$%/usr/bin/env python2%" ~/bin/repo
$sudo apt-get install python-distutils

If required, may need to install python3

$sudo apt-get install python3 python3-distutils

Install pip for python

Add meta layer and build

Finally, follow the introduction here to build the image


Problem building from gcc/g++ 7.x

Description see here

Fixed Use gcc-6 instead

$sudo apt-get install gcc-6 g++-6
$sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6
$sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 --slave /usr/bin/g++ g++ /usr/bin/g++-7

Then to switch between gcc-6 and gcc-7, run

sudo update-alternatives --config gcc


  1. DE10-Nano Board
  2. DE10-Nano FPGA Hardware
  3. Image Build for DE10-Nano Board