Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Environment

johFeldmann edited this page Oct 10, 2017 · 7 revisions

In this section is described how to setup the different enivronments you might need to work with this repository. It is recommended to use a virtualization program for these operating systems.

CentOS

CentOS was chosen because it's free and officially supported by Xilinx. You will need an installation with GUI to be able to install Vivado.

Vivado

Install Vivado

Vivado HL WebPack is all we need because Zynq-7000 is included. Make sure you select Software Development Kit (SDK).

Setup Vivado

To automatically setup your environment, I recommend to add the following lines to your ~/.bashrc.

export CROSS_COMPILE=arm-linux-gnueabihf-
source <Xilinx Tools installation directory>/ISE_DS/settings64.sh # use settings32.sh on 32-bit operating systems

Install cable drivers

You need to install the calbe drivers to be able to program the zynqberry board.

cd <Vivado_install_dir>/data/xicom/cable_drivers/lin64/install_script/install_drivers
sudo ./install_drivers

Use menuconfig

To be able to use make menuconfig, the following package is needed:

sudo yum install ncurses-devel

U-Boot

Install additional packages

The following package is needed to successfully build an u-boot:

sudo yum install openssl-devel

Add u-boot tools to path

These tools are needed to build the kernel. Add u-boot/u-boot-xlnx/tools to your path variable by adding the following line to ~/.bashrc:

export PATH=<path-to-u-boot/tools>:$PATH

Links

Clone this wiki locally