ビバ道2020.1インストール

本日、Vivado 2020.1/Vitis 2020.1がリリースされました。

さっそく、ダウンロードしようとVivadoとVitisのページを見ると、ダウンロードファイルが統一されて約35GBありました。

以前のバージョンでデバイスを選択してインストールするとVivadoが実行エラーを起こすことがあったので今回もフルインストールします。

インストール環境はUbuntu 20.04LTSです。

次のようにxsetupを実行するとWarningが表示されました。

$ sudo ./xsetup

Ubuntuのサポートは18.04.4LTSまでみたいです。

Ubuntuは20.04LTSがリリースされているので、できれば20.04LTSもサポート範囲に含めてほしかったですね。

それで、そのまま進めようとすると残念ながらインストーラのGUIは表示されません。

その時のエラーメッセージは次のとおりです。

Exception in thread "SPLASH_LOAD_MESSAGE" java.lang.IllegalStateException: no splash screen available
    at java.desktop/java.awt.SplashScreen.checkVisible(Unknown Source)
    at java.desktop/java.awt.SplashScreen.getBounds(Unknown Source)
    at java.desktop/java.awt.SplashScreen.getSize(Unknown Source)
    at com.xilinx.installer.gui.H.run(Unknown Source)
Exception in thread "main" java.lang.IllegalStateException: no splash screen available
    at java.desktop/java.awt.SplashScreen.checkVisible(Unknown Source)
    at java.desktop/java.awt.SplashScreen.close(Unknown Source)
    at com.xilinx.installer.gui.G.b(Unknown Source)
    at com.xilinx.installer.gui.InstallerGUI.G(Unknown Source)
    at com.xilinx.installer.gui.InstallerGUI.e(Unknown Source)
    at com.xilinx.installer.api.InstallerLauncher.main(Unknown Source)

仕方がないのでコマンドでインストールすることにしました。

まずはconfigの作成から

$ sudo ./xsetup -b ConfigGen
Running in batch mode...
Copyright (c) 1986-2020 Xilinx, Inc.  All rights reserved.

INFO : Log file location - /root/.Xilinx/xinstall/xinstall_1591318833338.log
Select a Product from the list:
1. Vitis
2. Vivado
3. On-Premises Install for Cloud Deployments
4. BootGen
5. Lab Edition
6. Hardware Server
7. Documentation Navigator (Standalone)

Please choose: 1 ← Vitisを選択

INFO : Config file available at /root/.Xilinx/install_config.txt. Please use -c <filename> to point to this install configuration.

sudoでconfigを作成したので/root/.Xilinxの下にconfigファイルが作成されました(/root/.Xilinx/install_config.txt)。

configファイルは次のようになっています。

設定はお好きなように編集しましょう。

$ sudo cat /root/.Xilinx/install_config.txt
#### Vitis Unified Software Platform Install Configuration ####
Edition=Vitis Unified Software Platform

Product=Vitis

# Path where Xilinx software will be installed.
Destination=/tools/Xilinx

# Choose the Products/Devices the you would like to install.
Modules=Zynq UltraScale+ MPSoC:1,DocNav:1,Virtex UltraScale+ HBM:1,Virtex UltraScale+ 58G:1,Virtex UltraScale+ 58G ES:0,Kintex-7:1,Virtex UltraScale+:1,Zynq-7000:1,Kintex UltraScale+:1,Model Composer:0,Spartan-7:1,Install devices for Alveo and Xilinx edge acceleration platforms:1,Kintex UltraScale:1,Virtex UltraScale:1,Engineering Sample Devices for Custom Platforms:0,Zynq UltraScale+ RFSoC:1,Versal AI Core Series ES1:0,System Generator for DSP:0,Versal Prime Series ES1:0,Artix-7:1,Virtex-7:1,Virtex UltraScale+ HBM ES:0,Zynq UltraScale+ RFSoC ES:0

# Choose the post install scripts you'd like to run as part of the finalization step. Please note that some of these scripts may require user interaction during runtime.
InstallOptions=

## Shortcuts and File associations ##
# Choose whether Start menu/Application menu shortcuts will be created or not.
CreateProgramGroupShortcuts=1

# Choose the name of the Start menu/Application menu shortcut. This setting will be ignored if you choose NOT to create shortcuts.
ProgramGroupFolder=Xilinx Design Tools

# Choose whether shortcuts will be created for All users or just the Current user. Shortcuts can be created for all users only if you run the installer as administrator.
CreateShortcutsForAllUsers=0

# Choose whether shortcuts will be created on the desktop or not.
CreateDesktopShortcuts=1

# Choose whether file associations will be created or not.
CreateFileAssociation=1

# Choose whether disk usage will be optimized (reduced) after installation
EnableDiskUsageOptimization=1

そして、インストールを実行します。

$ sudo ./xsetup --agree XilinxEULA,3rdPartyEULA,WebTalkTerms --batch Install --config /root/.Xilinx/install_config.txt
Running in batch mode...
Copyright (c) 1986-2020 Xilinx, Inc.  All rights reserved.

INFO : Log file location - /root/.Xilinx/xinstall/xinstall_1591319154360.log
INFO : Installing Edition: Vitis Unified Software Platform
INFO : Installation directory is /opt/Xilinx

Installing files, 99% completed. (Done)                         
It took 5 minutes to install files.
X11 connection rejected because of wrong authentication.

INFO : Log file is copied to : /opt/Xilinx/.xinstall/Vitis_2020.1/xinstall.log
INFO : Installation completed successfully.For the platforms: please visit xilinx.com and review the "Getting Started Guide" UG1301

以上でインストールは完了です。

write: 2020/06/05/ 14:26:50