====== Install PetaLinux 2020.2 ======
- Install required packages:
diffstat chrpath socat libtool libtool-bin libncurses5-dev libssl-dev zlib1g-dev
gcc net-tools make autoconf git
And ncurses:
libncurses5 libncursesw5
- Set bash as default shell:
dpkg-reconfigure dash
- Download PetaLinux from Xilinx - PetaLinux version have to match the installed Vivado version: \\ [[https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools.html|]] \\ \\
- Run downloaded PetaLinux installer:
./petalinux-v2020.2-final-installer.run -d
It seems to be better to install the PetaLinux as user in user-accessible directory, not as root in ''/opt/''. \\
- Create source script which will later set the PetaLinux environment. Assume example name ''settings_petalinux_2020.2.sh'':
source /settings.sh
- In order to use the PetaLinux, source the ''settings_petalinux_2020.2.sh'' script.