Windows下综合demo rdf0428-zcu106-vcu-hdmi-roi-2020-1失败。尝试了多次,未能解决问题。于是尝试在Linux下安装vitis。
按照文档ug1250 在这里下载,https://www.xilinx.com/member/forms/download/xef.html?filename=Xilinx_Unified_2020.1_0602_1208_Lin64.bin
然而并不是一切顺利
报错
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)
然后就没有然后了。百度搜索,终于在论坛中找到一篇文章https://bbs.archlinux.org/viewtopic.php?id=256564
按照上面的做
安装Vitis
./Xilinx_Unified_2020.1_0602_1208_Lin64.bin --noexec --target ./xilinx-installer
./xsetup -b AuthTokenGen
等一会儿,然后输入下载用的用户名,密码。
cd xilinx-installer/
./xsetup -b AuthTokenGen
./xsetup -b ConfigGen
我选的1
vi .Xilinx/install_config.txt
在“# Choose the Products/Devices the you would like to install.”中把不需要安装的都由1变0。我修保留了一个,不然太大,总是安装失败。
Destination= 你想安装的,有100G空间的路径,要确保真的有这个路径。其实我120G的空间都报错空间不够,大概因为下载还要30G,更过分的是他要求内存32G,但我8G的虚拟机也能装上。
./Xilinx_Unified_2020.1_0602_1208_Lin64.bin -- -a 3rdPartyEULA,WebTalkTerms,XilinxEULA -b Install -c $HOME/.Xilinx/install_config.txt
安装XRT
https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-platforms.html 从这里下载 xrt_202010.2.6.655_18.04-amd64-xrt.deb
apt install ./xrt_202010.2.6.655_18.04-amd64-xrt.deb
设置环境变量
source <你的安装路径>/Vitis/2020.1/settings64.sh
source /opt/xilinx/xrt/setup.sh