diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/Vivado Design Suite Installation (Windows).pdf b/content/en/posts/ecse-2610/studio-0-linux-2016-2/Vivado Design Suite Installation (Windows).pdf new file mode 100644 index 0000000..7107737 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/Vivado Design Suite Installation (Windows).pdf differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/apt-1-view.avif b/content/en/posts/ecse-2610/studio-0-linux-2016-2/apt-1-view.avif new file mode 100644 index 0000000..a84a957 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/apt-1-view.avif differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/apt-1-view.png b/content/en/posts/ecse-2610/studio-0-linux-2016-2/apt-1-view.png new file mode 100644 index 0000000..98d5c2d Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/apt-1-view.png differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/apt-2-add-source.avif b/content/en/posts/ecse-2610/studio-0-linux-2016-2/apt-2-add-source.avif new file mode 100644 index 0000000..c108606 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/apt-2-add-source.avif differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/apt-2-add-source.png b/content/en/posts/ecse-2610/studio-0-linux-2016-2/apt-2-add-source.png new file mode 100644 index 0000000..9436830 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/apt-2-add-source.png differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/index.md b/content/en/posts/ecse-2610/studio-0-linux-2016-2/index.md new file mode 100644 index 0000000..7b62b16 --- /dev/null +++ b/content/en/posts/ecse-2610/studio-0-linux-2016-2/index.md @@ -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 +--- + + + +## 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 +``` diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/vivado-1-welcome.avif b/content/en/posts/ecse-2610/studio-0-linux-2016-2/vivado-1-welcome.avif new file mode 100644 index 0000000..e6bd4e8 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/vivado-1-welcome.avif differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/vivado-1-welcome.png b/content/en/posts/ecse-2610/studio-0-linux-2016-2/vivado-1-welcome.png new file mode 100644 index 0000000..bd4b63a Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/vivado-1-welcome.png differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-1-intro.avif b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-1-intro.avif new file mode 100644 index 0000000..a0d19fd Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-1-intro.avif differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-1-intro.png b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-1-intro.png new file mode 100644 index 0000000..865655e Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-1-intro.png differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-10-error-website.avif b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-10-error-website.avif new file mode 100644 index 0000000..ccf3de6 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-10-error-website.avif differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-10-error-website.png b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-10-error-website.png new file mode 100644 index 0000000..fc92646 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-10-error-website.png differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-11-complete.avif b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-11-complete.avif new file mode 100644 index 0000000..6db5bec Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-11-complete.avif differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-11-complete.png b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-11-complete.png new file mode 100644 index 0000000..ceb1ff7 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-11-complete.png differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-2-welcome.avif b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-2-welcome.avif new file mode 100644 index 0000000..abdcd46 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-2-welcome.avif differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-2-welcome.png b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-2-welcome.png new file mode 100644 index 0000000..d0c764d Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-2-welcome.png differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-3-agree.avif b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-3-agree.avif new file mode 100644 index 0000000..bd92016 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-3-agree.avif differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-3-agree.png b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-3-agree.png new file mode 100644 index 0000000..9461593 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-3-agree.png differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-4-edition.avif b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-4-edition.avif new file mode 100644 index 0000000..d425c84 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-4-edition.avif differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-4-edition.png b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-4-edition.png new file mode 100644 index 0000000..38e1acc Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-4-edition.png differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-5-parts.avif b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-5-parts.avif new file mode 100644 index 0000000..bb03310 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-5-parts.avif differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-5-parts.png b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-5-parts.png new file mode 100644 index 0000000..3759688 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-5-parts.png differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-6-path.avif b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-6-path.avif new file mode 100644 index 0000000..35cf039 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-6-path.avif differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-6-path.png b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-6-path.png new file mode 100644 index 0000000..6f56178 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-6-path.png differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-7-create-path.avif b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-7-create-path.avif new file mode 100644 index 0000000..2cc7d09 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-7-create-path.avif differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-7-create-path.png b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-7-create-path.png new file mode 100644 index 0000000..823c37e Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-7-create-path.png differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-8-summary.avif b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-8-summary.avif new file mode 100644 index 0000000..cd361af Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-8-summary.avif differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-8-summary.png b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-8-summary.png new file mode 100644 index 0000000..044b67a Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-8-summary.png differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-9-installing.avif b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-9-installing.avif new file mode 100644 index 0000000..d5309bc Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-9-installing.avif differ diff --git a/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-9-installing.png b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-9-installing.png new file mode 100644 index 0000000..1a315a0 Binary files /dev/null and b/content/en/posts/ecse-2610/studio-0-linux-2016-2/xsetup-9-installing.png differ diff --git a/content/zh-cn/posts/docker-compose/umami-migration/index.md b/content/zh-cn/posts/docker-compose/umami-migration/index.md index 70c7a06..cfd2bbc 100644 --- a/content/zh-cn/posts/docker-compose/umami-migration/index.md +++ b/content/zh-cn/posts/docker-compose/umami-migration/index.md @@ -15,7 +15,7 @@ comment: true weight: 0 tags: - PostgreSQL - - 开源 + - 开源软件 - Docker - Umami categories: diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/Vivado Design Suite Installation (Windows).pdf b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/Vivado Design Suite Installation (Windows).pdf new file mode 100644 index 0000000..7107737 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/Vivado Design Suite Installation (Windows).pdf differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/apt-1-view.avif b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/apt-1-view.avif new file mode 100644 index 0000000..a84a957 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/apt-1-view.avif differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/apt-1-view.png b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/apt-1-view.png new file mode 100644 index 0000000..98d5c2d Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/apt-1-view.png differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/apt-2-add-source.avif b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/apt-2-add-source.avif new file mode 100644 index 0000000..c108606 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/apt-2-add-source.avif differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/apt-2-add-source.png b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/apt-2-add-source.png new file mode 100644 index 0000000..9436830 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/apt-2-add-source.png differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/index.md b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/index.md new file mode 100644 index 0000000..e167da5 --- /dev/null +++ b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/index.md @@ -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 LTS(Linux)上安装 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 LTS(Linux)上安装 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 +--- + + + +## 开始前 + +在 [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 +``` diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/vivado-1-welcome.avif b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/vivado-1-welcome.avif new file mode 100644 index 0000000..e6bd4e8 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/vivado-1-welcome.avif differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/vivado-1-welcome.png b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/vivado-1-welcome.png new file mode 100644 index 0000000..bd4b63a Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/vivado-1-welcome.png differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-1-intro.avif b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-1-intro.avif new file mode 100644 index 0000000..a0d19fd Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-1-intro.avif differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-1-intro.png b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-1-intro.png new file mode 100644 index 0000000..865655e Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-1-intro.png differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-10-error-website.avif b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-10-error-website.avif new file mode 100644 index 0000000..ccf3de6 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-10-error-website.avif differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-10-error-website.png b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-10-error-website.png new file mode 100644 index 0000000..fc92646 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-10-error-website.png differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-11-complete.avif b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-11-complete.avif new file mode 100644 index 0000000..6db5bec Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-11-complete.avif differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-11-complete.png b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-11-complete.png new file mode 100644 index 0000000..ceb1ff7 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-11-complete.png differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-2-welcome.avif b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-2-welcome.avif new file mode 100644 index 0000000..abdcd46 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-2-welcome.avif differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-2-welcome.png b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-2-welcome.png new file mode 100644 index 0000000..d0c764d Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-2-welcome.png differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-3-agree.avif b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-3-agree.avif new file mode 100644 index 0000000..bd92016 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-3-agree.avif differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-3-agree.png b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-3-agree.png new file mode 100644 index 0000000..9461593 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-3-agree.png differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-4-edition.avif b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-4-edition.avif new file mode 100644 index 0000000..d425c84 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-4-edition.avif differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-4-edition.png b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-4-edition.png new file mode 100644 index 0000000..38e1acc Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-4-edition.png differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-5-parts.avif b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-5-parts.avif new file mode 100644 index 0000000..bb03310 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-5-parts.avif differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-5-parts.png b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-5-parts.png new file mode 100644 index 0000000..3759688 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-5-parts.png differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-6-path.avif b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-6-path.avif new file mode 100644 index 0000000..35cf039 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-6-path.avif differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-6-path.png b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-6-path.png new file mode 100644 index 0000000..6f56178 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-6-path.png differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-7-create-path.avif b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-7-create-path.avif new file mode 100644 index 0000000..2cc7d09 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-7-create-path.avif differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-7-create-path.png b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-7-create-path.png new file mode 100644 index 0000000..823c37e Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-7-create-path.png differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-8-summary.avif b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-8-summary.avif new file mode 100644 index 0000000..cd361af Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-8-summary.avif differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-8-summary.png b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-8-summary.png new file mode 100644 index 0000000..044b67a Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-8-summary.png differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-9-installing.avif b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-9-installing.avif new file mode 100644 index 0000000..d5309bc Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-9-installing.avif differ diff --git a/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-9-installing.png b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-9-installing.png new file mode 100644 index 0000000..1a315a0 Binary files /dev/null and b/content/zh-cn/posts/ecse-2610/studio-0-linux-2016-2/xsetup-9-installing.png differ diff --git a/themes/FixIt b/themes/FixIt index 30a67c4..2f56442 160000 --- a/themes/FixIt +++ b/themes/FixIt @@ -1 +1 @@ -Subproject commit 30a67c4b523bdb703209c0d5cc17ff45005b8c2b +Subproject commit 2f564429de0d6ee7831833769b1c705644f42253 diff --git a/themes/component-projects b/themes/component-projects index a2e1e5b..15df91a 160000 --- a/themes/component-projects +++ b/themes/component-projects @@ -1 +1 @@ -Subproject commit a2e1e5b519161018c88c2b17a260846afecae719 +Subproject commit 15df91adccae4c9ada36a3634f2f62fd6c543659