add studio-0-linux-2016-2

This commit is contained in:
JamesFlare1212
2025-01-09 22:30:56 -05:00
parent 594aa545da
commit c7f48c6fe9
63 changed files with 481 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View File

@@ -0,0 +1,238 @@
---
title: ECSE 2610 Studio 0 - Xilinx Vivado 16.2 Design Suite Installation on Ubuntu 24.04.1 LTS (Linux)
subtitle:
date: 2025-01-09T00:42:05-05:00
lastmod: 2025-01-09T00:42:05-05:00
slug: studio-0-linux-2016-2
draft: false
author:
name: James
link: https://www.jamesflare.com
email:
avatar: /site-logo.avif
description: This blog post provides a detailed guide on installing Xilinx Vivado 16.2 Design Suite on Ubuntu 24.04.1 LTS (Linux). It includes step-by-step instructions, necessary dependencies, installation troubleshooting tips, and verification steps.
keywords: ["Xilinx Vivado","Ubuntu 24.04","Installation Guide"]
license:
comment: true
weight: 0
tags:
- ECSE 2610
- Lab
- Electrical Engineering
- RPI
- FPGA
categories:
- Electrical Engineering
collections:
- ECSE 2610
hiddenFromHomePage: false
hiddenFromSearch: false
hiddenFromRss: false
hiddenFromRelated: false
summary: This blog post provides a detailed guide on installing Xilinx Vivado 16.2 Design Suite on Ubuntu 24.04.1 LTS (Linux). It includes step-by-step instructions, necessary dependencies, installation troubleshooting tips, and verification steps.
resources:
- name: featured-image
src: featured-image.jpg
- name: featured-image-preview
src: featured-image-preview.jpg
toc: true
math: false
lightgallery: true
password:
message:
repost:
enable: false
url:
# See details front matter: https://fixit.lruihao.cn/documentation/content-management/introduction/#front-matter
---
<!--more-->
## Before Start
In [ECSE 2610 - Computer Components and Operations](https://dylanrees.github.io/coco/), we had been asked to install Xilinx Vivado 16.2 Design Suite as a part of Studio 0 assignment.
As there are no official guides on how to install Vivado for Linux users, I am going to show you how I installed that.
You will need
- Around 30GB free space and 7.43GB of them will be taken at the end
- Ubuntu 24.04.1 LTS, Other Linux OS can be used but may need extra work
## Dependencies
> [!WARNING]
>
> Fail to install these dependencies may result stucking on "Generating installed device list" during installing.
To install `libncurses5` we need to add `deb http://security.ubuntu.com/ubuntu focal-security main universe` into APT.
```bash
sudo su
echo "deb http://security.ubuntu.com/ubuntu focal-security main universe" > /etc/apt/sources.list.d/ubuntu-focal-sources.list
```
or using Software & Update to add this source
{{< image src="apt-1-view.avif" caption="Software & Update - Other Software" width=640px >}}
click `Add`, and type in `deb http://security.ubuntu.com/ubuntu focal-security main universe`.
{{< image src="apt-2-add-source.avif" caption="Software & Update - Other Software" width=640px >}}
Then, update index and install dependencies
```bash
sudo apt update
sudo apt install -y libncurses5 libcanberra-gtk-module
```
Check if dependency installed correctly
```bash
ldconfig -p | grep libncurses.so.5
```
You should get something like this
```text
libncurses.so.5 (libc6,x86-64) => /lib/x86_64-linux-gnu/libncurses.so.5
```
## Preparing
> [!NOTE]
>
> Xilinx is now a part of AMD, so we go to the AMD site instead of what the course material said. Also, the 2016.2 version's WebPACK is now under free license, so I ignored the licensing part on the [Vivado Design Suite Installation (Windows)](Vivado%20Design%20Suite%20Installation%20%28Windows%29.pdf).
First, you need to get from the [AMD website](https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/vivado-design-tools/archive.html) or use my downloaded achieve. To do that, go to a path that is free enough and run
```bash
cd ~
sudo apt install -y wget
wget https://minio-lv-a.jamesflare.com/public/application/Xilinx_Vivado_SDK_2016.2_0605_1.tar.gz
```
Then, unzip the achieve file.
```bash
tar -xvzf Xilinx_Vivado_SDK_2016.2_0605_1.tar.gz
```
Then, go into the decompressed folder
```bash
cd Xilinx_Vivado_SDK_2016.2_0605_1
```
This is how it look like
```text
james@Desktop:~$ cd Xilinx_Vivado_SDK_2016.2_0605_1
james@Desktop:~/Xilinx_Vivado_SDK_2016.2_0605_1$ ls
bin lib msvcr110.dll scripts vccorlib110.dll xsetup.exe
data msvcp110.dll payload tps xsetup
```
## Installing
The `xsetup` in `Xilinx_Vivado_SDK_2016.2_0605_1` folder is the installer for Linux. To run it, we can execute it in terminal
```bash
./xsetup
```
Sometime, it went wrong. Like `xsetup` is not executable or permission denied. Try
```bash
chmod +x xsetup
```
> [!NOTE]
>
> You can execute without `sudo`, but the installing folder can not be `opt/Xilinx`, since non root user can not write there. We will cover this later.
{{< image src="xsetup-1-intro.avif" caption="Vivado 2016.2 Installer - Welcome" width=640px >}}
Click `Continue` to skip the newer version. And it will gives you a welcome page with supported system information.
{{< image src="xsetup-2-welcome.avif" caption="Vivado 2016.2 Installer - Welcome" width=640px >}}
Ubuntu 24.04.1 is not in the list but it's fine. Click `Next`.
{{< image src="xsetup-3-agree.avif" caption="Vivado 2016.2 Installer - Accept License Agreements" width=640px >}}
Agree all there argument by ticking check boxes, then click `Next`.
{{< image src="xsetup-4-edition.avif" caption="Vivado 2016.2 Installer - Select Edition to Install" width=640px >}}
Vivado HL is now under free liense. So, just pick `Vivado HL WebPACK`. Then, click `Next`.
> HL WebPACK no longer needs a FLEX license file!
>
> [**Xilinx / AMD Downloads**](https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/vivado-design-tools/archive.html)
{{< image src="xsetup-5-parts.avif" caption="Vivado 2016.2 Installer - Vivado HL WebPACK" width=640px >}}
Select the parts you need for your project. ECSE 2610 uses [Basys 3 Artix-7 FPGA Trainer Board](https://digilent.com/shop/basys-3-artix-7-fpga-trainer-board-recommended-for-introductory-users/), so I just checked Artix-7. Then, click `Next`.
{{< image src="xsetup-6-path.avif" caption="Vivado 2016.2 Installer - Select Destination Directory" width=640px >}}
We need chose a path to install Vivado 2016.2, `/opt/Xilinx` shows red is because non root user can not write there. You can change it to your user home directory. I will use `/home/james/Xilinx` where `james` is my user name.
{{< image src="xsetup-7-create-path.avif" caption="Vivado 2016.2 Installer - Select Destination Directory" width=640px >}}
Create the path as it asked. Then, click `Next`.
{{< image src="xsetup-8-summary.avif" caption="Vivado 2016.2 Installer - Installation Summary" width=640px >}}
Check the summary and click `Next`.
{{< image src="xsetup-9-installing.avif" caption="Vivado 2016.2 Installer - Installation Progress" width=640px >}}
The installation progress will begin. Sometime, it will gives an error on accessing remote resources. This is due to redirection from Xilinx to AMD. Click `OK` to ignore the warning.
{{< image src="xsetup-10-error-website.avif" caption="Vivado 2016.2 Installer - Installation Progress" width=640px >}}
Then, we are done.
{{< image src="xsetup-11-complete.avif" caption="Vivado 2016.2 Installer - Installation Progress" width=640px >}}
## Checking
Then, you can open Vivado 2016.2 though desktop shortcuts.
{{< image src="vivado-1-welcome.avif" caption="Vivado 2016.2 - Home" width=640px >}}
## Uninstall
If you want uninstall Vivado 2016.2, you can use the builtin uninstalling shortcuts. Or removing the installing directory. For example
```bash
rm -rf /home/james/Xilinx
```
Then, clean the shortcuts in `/home/james/.local/share/applications`. `james` is my user name, change it to your own.
## Troubleshooting
If you got an error, you may check the log under the installing path, for example
```bash
cat /home/james/.Xilinx/xinstall/xinstall_1736407656194.log
```
The path of log will be shown as long as you started installing with `./xsetup`. If you still can't fix the issue, you can comment me with logs for a check.
### Vivado Installation Got Stuck Says, "Generating installed devices list"
Based on the discussing on [Vivado installation got stuck says, "Generating installed devices list"](https://adaptivesupport.amd.com/s/question/0D52E00006hpQNASA2/vivado-installation-got-stuck-says-generating-installed-devices-list?language=en_US) and some more information. It's due to lack of `libncurses5` package. And Ubuntu 24.04.1 doesn't contain it, since it's an old package. You need to install it manually.
One possible solution
```bash
sudo echo "deb http://security.ubuntu.com/ubuntu focal-security main universe" > /etc/apt/sources.list.d/ubuntu-focal-sources.list
sudo apt update
sudo apt install -y libncurses5
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

View File

@@ -15,7 +15,7 @@ comment: true
weight: 0
tags:
- PostgreSQL
- 开源
- 开源软件
- Docker
- Umami
categories:

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View File

@@ -0,0 +1,240 @@
---
title: ECSE 2610 Studio 0 - 给 Ubuntu 24.04.1 LTS (Linux) 安装Xilinx Vivado 16.2 Design Suite
subtitle:
date: 2025-01-09T00:42:05-05:00
lastmod: 2025-01-09T00:42:05-05:00
slug: studio-0-linux-2016-2
draft: false
author:
name: James
link: https://www.jamesflare.com
email:
avatar: /site-logo.avif
description: 这篇博客文章提供了在 Ubuntu 24.04.1 LTSLinux上安装 Xilinx Vivado 16.2 Design Suite 的详细指南。它包括逐步说明、必要的依赖项、安装故障排除提示和验证步骤。
keywords: ["Xilinx Vivado","Ubuntu 24.04","安装指南"]
license:
comment: true
weight: 0
tags:
- ECSE 2610
- Lab
- Electrical Engineering
- RPI
- FPGA
categories:
- Electrical Engineering
collections:
- ECSE 2610
hiddenFromHomePage: false
hiddenFromSearch: false
hiddenFromRss: false
hiddenFromRelated: false
summary: 这篇博客文章提供了在 Ubuntu 24.04.1 LTSLinux上安装 Xilinx Vivado 16.2 Design Suite 的详细指南。它包括逐步说明、必要的依赖项、安装故障排除提示和验证步骤。
resources:
- name: featured-image
src: featured-image.jpg
- name: featured-image-preview
src: featured-image-preview.jpg
toc: true
math: false
lightgallery: true
password:
message:
repost:
enable: false
url:
# See details front matter: https://fixit.lruihao.cn/documentation/content-management/introduction/#front-matter
---
<!--more-->
## 开始前
在 [ECSE 2610 - 计算机组件与操作](https://dylanrees.github.io/coco/) 中,我们被要求作为 Studio 0 作业的一部分安装 Xilinx Vivado 16.2 Design Suite。
由于没有官方指南说明如何为 Linux 用户安装 Vivado我将展示我是如何安装的。
你需要
- 大约 30GB 的可用空间,在最后会占用其中的 7.43GB
- Ubuntu 24.04.1 LTS其他 Linux 操作系统也可以使用但可能需要额外的工作
## 依赖项
> [!WARNING]
>
> 安装这些依赖项失败可能会导致安装过程中卡在“正在生成已安装设备清单”这一步。
要安装 `libncurses5`,我们需要添加 `deb http://security.ubuntu.com/ubuntu focal-security main universe` 到 APT。
```bash
sudo su
echo "deb http://security.ubuntu.com/ubuntu focal-security main universe" > /etc/apt/sources.list.d/ubuntu-focal-sources.list
```
或者使用软件和更新来添加这个源
{{< image src="apt-1-view.avif" caption="软件与更新 - 其他软件" width=640px >}}
点击 `Add`,并输入 `deb http://security.ubuntu.com/ubuntu focal-security main universe`
{{< image src="apt-2-add-source.avif" caption="软件与更新 - 其他软件" width=640px >}}
然后,更新索引和安装依赖项
```bash
sudo apt update
sudo apt install -y libncurses5 libcanberra-gtk-module
```
检查依赖项是否正确安装
```bash
ldconfig -p | grep libncurses.so.5
```
你应该得到类似这样的结果
```text
libncurses.so.5 (libc6,x86-64) => /lib/x86_64-linux-gnu/libncurses.so.5
```
## 准备工作
> [!NOTE]
>
> Xilinx 现在是 AMD 的一部分,所以我们需要去 AMD 官网而不是课程材料中提到的网站。另外2016.2 版本的 WebPACK 现在处于免费许可下,所以我忽略了许可证部分。
首先,你需要从 [AMD 官网](https://china.xilinx.com/support/download.html/content/xilinx/zh/downloadNav/vivado-design-tools/archive.html) 或者使用我下载好的文件。为此,请进入一个足够空闲的路径并运行
```bash
cd ~
sudo apt install -y wget
wget https://minio-lv-a.jamesflare.com/public/application/Xilinx_Vivado_SDK_2016.2_0605_1.tar.gz
```
然后,解压文件。
```bash
tar -xvzf Xilinx_Vivado_SDK_2016.2_0605_1.tar.gz
```
接着进入解压缩的文件夹
```bash
cd Xilinx_Vivado_SDK_2016.2_0605_1
```
这看起来像这样
```text
james@Desktop:~$ cd Xilinx_Vivado_SDK_2016.2_0605_1
james@Desktop:~/Xilinx_Vivado_SDK_2016.2_0605_1$ ls
bin lib msvcr110.dll scripts vccorlib110.dll xsetup.exe
data msvcp110.dll payload tps xsetup
```
## 安装
`Xilinx_Vivado_SDK_2016.2_0605_1` 文件夹中的 `xsetup` 是 Linux 的安装程序。要运行它,可以在终端中执行
```bash
./xsetup
```
有时会出现问题,比如 `xsetup` 不可执行或权限被拒绝。尝试
```bash
chmod +x xsetup
```
> [!NOTE]
>
> 你可以不使用 `sudo` 执行,但是安装文件夹不能是 `/opt/Xilinx`,因为普通用户没有写入权限。我们稍后会解决这个问题。
{{< image src="xsetup-1-intro.avif" caption="Vivado 2016.2 安装程序 - 欢迎界面" width=640px >}}
点击 `Continue` 继续跳过新版本提示,然后进入欢迎界面,查看支持的操作系统信息。
{{< image src="xsetup-2-welcome.avif" caption="Vivado 2016.2 安装程序 - 欢迎界面" width=640px >}}
Ubuntu 24.04.1 不在列表中,但没关系。点击 `Next`
{{< image src="xsetup-3-agree.avif" caption="Vivado 2016.2 安装程序 - 接受许可协议" width=640px >}}
通过勾选复选框同意所有条款,然后点击 `Next`
{{< image src="xsetup-4-edition.avif" caption="Vivado 2016.2 安装程序 - 选择要安装的版本" width=640px >}}
Vivado HL 现在处于免费许可下。所以,只需选择 `Vivado HL WebPACK`。然后点击 `Next`
> [!NOTE]
>
> HL WebPACK 不再需要 FLEX 许可证文件!
>
> [**Xilinx / AMD 下载**](https://china.xilinx.com/support/download.html/content/xilinx/zh/downloadNav/vivado-design-tools/archive.html)
{{< image src="xsetup-5-parts.avif" caption="Vivado 2016.2 安装程序 - Vivado HL WebPACK" width=640px >}}
选择你需要的项目部分。ECSE 2610 使用 [Basys 3 Artix-7 FPGA 培训板](https://digilent.com/shop/basys-3-artix-7-fpga-trainer-board-recommended-for-introductory-users/),所以我只选择了 Artix-7。然后点击 `Next`
{{< image src="xsetup-6-path.avif" caption="Vivado 2016.2 安装程序 - 选择目标目录" width=640px >}}
我们需要选择一个安装 Vivado 2016.2 的路径, `/opt/Xilinx` 显示红色是因为普通用户没有写入权限。你可以将其更改为你的用户主目录。我将使用 `/home/james/Xilinx`,其中 `james` 是我的用户名。
{{< image src="xsetup-7-create-path.avif" caption="Vivado 2016.2 安装程序 - 创建目标路径" width=640px >}}
根据提示创建路径。然后点击 `Next`
{{< image src="xsetup-8-summary.avif" caption="Vivado 2016.2 安装程序 - 安装概要" width=640px >}}
检查安装概要并点击 `Next`
{{< image src="xsetup-9-installing.avif" caption="Vivado 2016.2 安装程序 - 安装进度" width=640px >}}
安装过程将开始。有时会提示访问远程资源失败,这是由于 Xilinx 转向 AMD 导致的重定向问题。点击 `OK` 忽略警告。
{{< image src="xsetup-10-error-website.avif" caption="Vivado 2016.2 安装程序 - 安装进度" width=640px >}}
然后安装完成。
{{< image src="xsetup-11-complete.avif" caption="Vivado 2016.2 安装程序 - 完成界面" width=640px >}}
## 检查
你可以通过桌面快捷方式打开 Vivado 2016.2。
{{< image src="vivado-1-welcome.avif" caption="Vivado 2016.2 - 主页" width=640px >}}
## 卸载
如果你想卸载 Vivado 2016.2,可以使用内置的卸载快捷方式。或者删除安装目录。例如:
```bash
rm -rf /home/james/Xilinx
```
然后清理 `/home/james/.local/share/applications` 目录中的快捷方式。 `james` 是我的用户名,请替换为你的用户名。
## 故障排除
如果你遇到错误,可以检查安装路径下的日志文件,例如:
```bash
cat /home/james/.Xilinx/xinstall/xinstall_1736407656194.log
```
只要开始安装时使用了 `./xsetup`,日志路径就会显示。如果仍然无法解决问题,请在评论中附上日志文件供我检查。
### Vivado 安装卡住提示“正在生成已安装设备清单”
根据 [Vivado 安装卡住提示, "正在生成已安装设备清单"](https://adaptivesupport.amd.com/s/question/0D52E00006hpQNASA2/vivado-installation-got-stuck-says-generating-installed-devices-list?language=en_US) 的讨论和更多信息。这是由于缺少 `libncurses5` 包导致的。Ubuntu 24.04.1 不包含该包,因为它是一个旧版本。你需要手动安装它。
一种可能的解决方案:
```bash
sudo echo "deb http://security.ubuntu.com/ubuntu focal-security main universe" > /etc/apt/sources.list.d/ubuntu-focal-sources.list
sudo apt update
sudo apt install -y libncurses5
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB