-
Notifications
You must be signed in to change notification settings - Fork 2
Environment
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 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 HL WebPack is all we need because Zynq-7000 is included. Make sure you select Software Development Kit (SDK).
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
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
To be able to use make menuconfig
, the following package is needed:
sudo yum install ncurses-devel
The following package is needed to successfully build an u-boot:
sudo yum install openssl-devel
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