Install Vivado software in Ubuntu


Install Vivado in Ubuntu

The settings for cross-system file copying have been introduced in the article Ubuntu installation and settings .
Find a folder in Ubuntu where the Vivado software installation package needs to be stored, and drag the installation package directly from the Windows system to the folder on the Ubuntu system to copy it, as shown in the figure below.
Insert image description here
The file will be copied to the virtual machine first, and then copied to the directory specified by Ubuntu. Since the installation package is relatively large, it will be copied slowly. Please wait patiently for the copy to complete.
Insert image description here
After copying, right-click the installation package and click Extract Here to decompress it.
Insert image description here
Wait for decompression to complete.
Insert image description here
Wait for it to extract the file.
Insert image description here
Open the terminal, use the command to enter the decompressed folder, and enter the following command to modify the file permissions.

sudo chmod +x xsetup

The screenshot of the running result is as follows.
Insert image description here
Use the command below to install it.

sudo ./xsetup

After entering the command and pressing Enter, the following window pops up.
Insert image description here
When the following window appears, click Ignore.
Insert image description here
Prompt to close all anti-virus software before installation.
Insert image description here
Check all the I Agree boxes.
Insert image description here
Check Vivado HL Design Edition.
Insert image description here
SDK must be checked.
Insert image description here
Use the default installation path.
Insert image description here
Click Install.
Insert image description here
Wait for its installation to complete.
Insert image description here
The installation process took about 20 minutes.
Insert image description here


Load License

Next copy the license.
Insert image description here
It shows that the License has been installed successfully.
Insert image description here


Modify software running permissions

The installation location of Vivado is in the /opt/Xilinx/ folder in the root directory of the computer.
Insert image description here
Run the following command to add run permissions.

sudo chmod 777 -R /opt/Xilinx/
sudo chmod 777 -R ~/.Xilinx/


Install downloader driver

Run the following command in the terminal window to enter the corresponding directory.

cd /opt/Xilinx/Vivado/2017.4/data/xicom/cable_drivers/lin64/install_script/install_drivers/

Then use the following command to install the downloader driver.

sudo ./install_drivers

As shown in the picture below, the installation is successful.
Insert image description here


Run Vivado software

Run the following two commands in the terminal window to open the Vivado software.

source /opt/Xilinx/Vivado/2017.4/settings64.sh
vivado &

The Vivado software prints the following information in the terminal window during the startup process.
Insert image description here
Wait for the Vivado software to start. After the startup is successful, the interface is shown in the figure below.
Insert image description here


Connect the development board to test the driver

Next, connect the development board to test whether the driver is installed successfully. First, set the USB compatibility to USB 3.0 when the virtual machine is turned off, as shown in the figure below.
Insert image description here
Then turn on the virtual machine, start the Vivado software, and the following dialog box will pop up after connecting the development board.
Insert image description here
Select Connect to the virtual machine and click OK.
The following dialog prompts us where to find the device.
Insert image description here
Then click Open Hardware Manager in Vivado to test, as shown in the figure below.
Insert image description here
It can be seen that the software detects the existence of the chip, and the power of the development board is turned off, and the Vivado software can also pop up the following prompt window as it runs in the Windows system.
Insert image description here


cross compiler

When installing Vivado, you have chosen to install the SDK, which includes the cross-compiler arm-linux-gnueabihf-gcc.
Enter the following command to view the cross compiler.

source /opt/Xilinx/SDK/2017.4/settings64.sh
arm-linux-gnueabihf-gcc -v

The printed information is shown below.
Insert image description here


The above is all about installing Vivado software in Ubuntu!
Reference materials:
ZYNQ development platform Linux application tutorial

Guess you like

Origin blog.csdn.net/weixin_42570192/article/details/131405839