PetaLinux 2019.2 Installation Steps on Ubuntu 18.04 64-bit

Xilinx’s PetaLinux installation guide doesn’t give a simple one liner to install all of its dependencies. So I wrote down what I did.

Tried and tested on Ubuntu 18.04 LTS 64-bit (under non-root user)

Key Notes:

  1. Installation takes about 15 minutes on a ssd due to the extraction and copying of data
  2. Takes up about 5 GB of space.
  3. Remember to use a non root user or else the installer will not continue and you have to restart from scratch

Dependencies:

sudo apt-get install gcc-multilib build-essential libsdl1.2-dev libglib2.0-dev python2.7 tofrodos gawk xvfb gcc-4.8 g++-4.8 git make net-tools libncurses5-dev tftpd zlib1g-dev libssl-dev flex bison libselinux1 gpg wget diffstat chrpath socat xterm autoconf libtool tar unzip texinfo zlib1g:i386 libsdl1.2-dev libglib2.0-dev

Installation:

mkdir -p /opt/pkg/petalinux/2019.2
sudo chmod 755 -R /opt
sudo chown user:user -R /opt
./petalinux-v2019.1-final-installer.run /opt/pkg/petalinux/2019.2
export PATH="/opt/pkg/petalinux/2019.2/tools/common/petalinux/bin/:$PATH"
source /opt/pkg/petalinux/2019.2/settings.sh

References:

One thought on “PetaLinux 2019.2 Installation Steps on Ubuntu 18.04 64-bit

Leave a Reply

Your email address will not be published. Required fields are marked *