Excerpt | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Prepare Development EnvironmentVirtual Machine
On Win10 Pro PC, you can use:
Linux OS
Only supported OS are selected Linux distributions. You will need either native or virtual PC with Linux distribution. Create new VM with Linux OS supported by Vitis 2021.2 tools. Use English as OS language for your Linux System. Keyboard language can be any language. Set Language
In Ubuntu 20.04, open terminal and type command:
Language is OK, if the command response starts with:
Set Bash as Terminal in Ubuntu
In Ubuntu, set bash as terminal.
Use of bash shell is required by Xilinx tools.
Install OpenCL Client Drivers
On Ubuntu, install OpenCL Installable Client Driver Loader by executing:
Software Installation
Vitis 2021.2
Download Vitis
Download the Vitis Tools installer from the link below https://www.xilinx.com/support/download.html Install Vitis
If Vitis 2021.2 is not installed, follow installation steps described in: After a successful installation of the Vitis 2021.2 and Vivado 2021.2 in /tools directory, a confirmation message is displayed, with a prompt to run the installLibs.sh script. Script location: In Ubuntu terminal, change directory to /tools/Vitis/2021.2/script and run the script using sudo privileges:
The command installs a number of necessary packages for the Vitis 2021.2 tools based on the actual OS version of your Ubuntu system. Install y2k22_patch-1.2 to Vitis
If not applied before, apply the Xilinx y2k22_patch-1.2 to Vitis 2021.2 https://support.xilinx.com/s/article/76960?language=en_US Install License Supporting Vivado
In Ubuntu terminal, source paths to Vivado tools by executing
Execute Vivado License Manager:
From vlm, login to your Xilinx account by an www browser. In www browser, specify Vitis 2021.2 license. Select Linux target. Download xilinx license file and copy it into the directory of your choice. In vlm, select Load License -> Copy License |
...
Putty
The putty terminal can be used for Ethernet connected terminal. Putty supports keyboard, mouse and forwarding of X11 for Zynq Ultrascale+ applications designed for X11 desktop GUI. In Ubuntu terminal, execute:
Exit from putty. |
...
Petalinux 2021.2
Download Petalinux
Download the PetaLinux Tools installer from the link below https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools.html Install Required Libraries
Install Petalinux 2021.2. Follow guideline described in: Before PetaLinux installation, check UG1144 chapter "PetaLinux Tools Installation Requirements" and install missing tool/libraries with help of script plnx-env-setup.sh attached to the Xilinx Answer Record 73296 - PetaLinux: How to install the required packages for the PetaLinux Build Host? The script detects whether the Host OS is a Ubuntu, RHEL, or CentOS Linux distribution and then automatically installs all of the required packages for the PetaLinux Build Host. The script requires root privileges. The script does not install the PetaLinux Tools. Command to run the script:
Perform update of your PetaLinux and additional installation libraries.
Install Petalinux
and follow the directions in the "Installing the PetaLinux Tool" section of (UG1144). To install petalinux do not start from shared folder, copy installer into your home directory.
Source environment
|
...
Scroll pdf ignore | ||||||
---|---|---|---|---|---|---|
|
Scroll Only | ||
---|---|---|
|