Skip to content

About

General staged docker container for the Xilinx/Vivado+Petalinux build environment.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

License: GPL v3

Container for Xilinx Vivado

Docker for Xilinx Vivado IDE. A monolythic build image not based on external base container.

!!! Check out a tagged version in order to build!!!

Requirements

Tools needed for e.g. Ubuntu 18.04 (host)

$ sudo apt-get install -y libffi-dev libssl-dev
$ sudo apt-get install -y python3-dev
$ sudo apt-get install -y python3-pyqt5 python3-pyqt5.qtwebengine
$ sudo apt-get install -y python3 python3-pip
$ pip3 install docker-compose

Make sure, ~/.local is within $PATH or re-link e.g. it to /usr/local.

Make sure to have docker setup correctly, e.g.

$ sudo usermod -aG docker $USER

Make sure to have:

Preparation

!!! Prepare Xilinx login credentials, append the following variables !!!

Provide Xilinx Vivado installer, Petalinux installer and credentials. Download the installer from the official page.

$ mkdir ./download
$ cp <Downloads>/Xilinx_Unified_*_Lin64.bin ./download
$ cp <Downloads>/petalinux-*-installer.run ./download
$ echo "UID=$(id -u)" > ./download/.env
$ echo "GID=$(id -g)" >> ./download/.env
$ vi ./download/.env
    ...
    XILINXMAIL='<my email>'
    XILINXLOGIN='<my xilinx password>'

NB: XILINXMAIL and XILINXLOGIN are only needed for container creation. They are not stored inside the container. The entries can be removed from the .env file after installation! The .env is not tracked by git.

Example:

$ tree -a ./download/
    ./download/
    ├── .env
    ├── petalinux-v2023.1-*-installer.run
    └── Xilinx_Unified_2023.1_*_Lin64.bin

    0 directories, 3 files

$ cat ./download/.env
    UID=105601750
    GID=105600513
    XILINXMAIL=my.email@company.com
    XILINXLOGIN='password123'

After building the image, the folder download can be removed. The installer files will be in the respective build_context folders and can be equally removed.

Build and Usage

$ ./setup.sh

Manual Usage

$ cd ./docker
$ docker-compose -f ./docker-compose.yml run --rm peta-vivado-2023.1-nightly /bin/bash
docker$  vivado &
    ...

About

General staged docker container for the Xilinx/Vivado+Petalinux build environment.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages