cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
junior_hpc
Adventurer
Adventurer
18,281 Views
Registered: ‎07-12-2015

how to install Vivado Hardware Server for Linux

Jump to solution

Hello. I downloaded Vivado Hardware Server 2015.2 for Linux. Once I have extract it, how do I install it? I did not find any document that explains how to install Vivado Hardware Server.

 

Thanks

0 Kudos
1 Solution

Accepted Solutions
dwisehart
Scholar
Scholar
30,780 Views
Registered: ‎06-23-2013

First of all, make sure the file is there and it is executable:

 

file /home/user/Xilinx_HW_Server_Lin_2015.2_0626_1/tps/lnx32/jre/bin/java

 

And yes, 'file' is the name of a Linux command.

 

You should get something like this, though yours will be 32-bit instead of 64-bit:

 

/opt/Xilinx/xic/tps/lnx64/jre/bin/java: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

 

If that works as expected, run ldd and see if there are missing dynamic load libraries:

 

ldd /home/user/Xilinx_HW_Server_Lin_2015.2_0626_1/tps/lnx32/jre/bin/java

 

You should see something like:

 

linux-vdso.so.1 => (0x00007fffae1ff000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000035ff800000)
libjli.so => /opt/Xilinx/xic/tps/lnx64/jre/bin/../lib/amd64/jli/libjli.so (0x00007f1b4dee5000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000035ffc00000)
libc.so.6 => /lib64/libc.so.6 (0x00000035ff400000)
/lib64/ld-linux-x86-64.so.2 (0x00000035ff000000)

 

View solution in original post

0 Kudos
11 Replies
dwisehart
Scholar
Scholar
18,272 Views
Registered: ‎06-23-2013

Run the setupEnv.sh and install_drivers scripts as root.  After they are installed they are in $XILINX/HWSRVR/bin/setupEnv.sh and $XILINX/HWSRVR/data/xicom/cable_drivers/lin64/install_script/install_drivers/install_drivers. The path will slightly different in the tarball.

 

 

 

0 Kudos
aher
Xilinx Employee
Xilinx Employee
18,273 Views
Registered: ‎07-21-2014
Hi,
You need not install Vivado Hardware Server.
Navigate to the location where you have extracted the files using terminals and go to ../bin folder and run the command
hw_server
This will start the hardware server application on your host machine.

-Shreyas
----------------------------------------------------------------------------------------------
Try to search answer for your issue in forums or xilinx user guides before you post a new thread.

Kindly note- Please mark the Answer as "Accept as solution" if information provided solves your query.
Give Kudos (star provided in right) to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
dwisehart
Scholar
Scholar
18,264 Views
Registered: ‎06-23-2013
Just running the hw_server won't work on Linux if install_drivers has not completed successfully.
0 Kudos
junior_hpc
Adventurer
Adventurer
18,250 Views
Registered: ‎07-12-2015

Hi guys. Thanks for replying. BTW, I have already installed the driver and I have downloaded Vivado Hardware Server for Linux from this link. After extracting Vivado Hardware Server, I do not find hw_server tool.The only file in Vivado-Hardware-Servel/bin is setup-boot-loader.sh. Is that the right link? I downloaded the Version 2015.2.

 

Thanks.

0 Kudos
junior_hpc
Adventurer
Adventurer
18,223 Views
Registered: ‎07-12-2015

UPDATE:
The file hw_server is generated after the installation of Vivado Hardware Server. In order to install Vivado Hardware Server I have to execute:

- ./Vivado-Hardware-Server/bin/setup-boot-loader.sh

- sudo ./Vivado-Hardware-Server/xsetup


After that, the wizard appear so as to install Vivado Hardware Server and generate hw_server script.


My problem is that, when I execute sudo ./Vivado-Hardware-Server/xsetup I get the following error:
./Xilinx_HW_Server_Lin_2015.2_0626_1/xsetup: line 67: /home/user/Xilinx_HW_Server_Lin_2015.2_0626_1/tps/lnx32/jre/bin/java: No such file or directory

The OS is Ubuntu 64 bit and the Java version is:

java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.15.04.1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)


Here and here did not help me. Any suggestion?

Thanks

0 Kudos
dwisehart
Scholar
Scholar
30,781 Views
Registered: ‎06-23-2013

First of all, make sure the file is there and it is executable:

 

file /home/user/Xilinx_HW_Server_Lin_2015.2_0626_1/tps/lnx32/jre/bin/java

 

And yes, 'file' is the name of a Linux command.

 

You should get something like this, though yours will be 32-bit instead of 64-bit:

 

/opt/Xilinx/xic/tps/lnx64/jre/bin/java: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

 

If that works as expected, run ldd and see if there are missing dynamic load libraries:

 

ldd /home/user/Xilinx_HW_Server_Lin_2015.2_0626_1/tps/lnx32/jre/bin/java

 

You should see something like:

 

linux-vdso.so.1 => (0x00007fffae1ff000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000035ff800000)
libjli.so => /opt/Xilinx/xic/tps/lnx64/jre/bin/../lib/amd64/jli/libjli.so (0x00007f1b4dee5000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000035ffc00000)
libc.so.6 => /lib64/libc.so.6 (0x00000035ff400000)
/lib64/ld-linux-x86-64.so.2 (0x00000035ff000000)

 

View solution in original post

0 Kudos
rimas
Visitor
Visitor
17,853 Views
Registered: ‎07-22-2008

I'm having the same problem as the original poster, the issue seems to be that the java binary is 32-bit (I'm trying to install hw_server 2015.3 on Ubuntu 14.04).  The problem seems to be that the java binary in the tarball is not a valid executable (for the system in question).  

 

Has anyone found a workaround?

 

Thanks,

 

-Rimas

 

rimas@rimas-ubuntu-vm:~/Downloads/Xilinx_HW_Server_Lin_2015.3_0929_1$ sudo ./xsetup

./xsetup: line 67: /home/rimas/Downloads/Xilinx_HW_Server_Lin_2015.3_0929_1/tps/lnx32/jre/bin/java: No such file or directory

rimas@rimas-ubuntu-vm:~/Downloads/Xilinx_HW_Server_Lin_2015.3_0929_1$ file /home/rimas/Downloads/Xilinx_HW_Server_Lin_2015.3_0929_1/tps/

lnx32/jre/bin/java

/home/rimas/Downloads/Xilinx_HW_Server_Lin_2015.3_0929_1/tps/lnx32/jre/bin/java: ELF 32-bit LSB  executable, Intel 80386, version 1 (SYS

V), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=7486634702d6615115bc10900606653c71a7cc93, not stripped

rimas@rimas-ubuntu-vm:~/Downloads/Xilinx_HW_Server_Lin_2015.3_0929_1$ ldd !$

ldd /home/rimas/Downloads/Xilinx_HW_Server_Lin_2015.3_0929_1/tps/lnx32/jre/bin/java

not a dynamic executable

 

 

0 Kudos
dwisehart
Scholar
Scholar
17,837 Views
Registered: ‎06-23-2013

If ldd says this is not an executable, then you need to install the 32-bit compatibility libraries for Linux.  Ubuntu is not a distro I use, but a Google search shows several answers on StackOverflow:

http://stackoverflow.com/questions/23182765/how-to-install-ia32-libs-in-ubuntu-14-04-lts-trusty-tahr

 

The third answer that starts with "How to run 32-bit applications on 64-bit Ubuntu" looks good to me.

 

Once you do that, ldd will tell you which libraries you are still missing.

 

Let us know if this solves the problem.

0 Kudos
rimas
Visitor
Visitor
17,805 Views
Registered: ‎07-22-2008

Installing the 32 bit compatibility libraries fixed the problem, here's how to do it for Ubuntu 14.04 for reference:

 

sudo dpkg --add-architecture i386

sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

 

-Rimas

urock
Visitor
Visitor
10,019 Views
Registered: ‎08-11-2014

Apart from previous suggestion to install 32 bit libs


@rimas wrote:

Installing the 32 bit compatibility libraries fixed the problem, here's how to do it for Ubuntu 14.04 for reference:

 

sudo dpkg --add-architecture i386

sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

 

-Rimas


 

the following commands helped to install hw server 2015.4 on Ubuntu 14.04 x86_64

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
sudo apt-get install libxtst6:i386
sudo apt-get install libxrender1:i386
sudo apt-get install libxi6:i386
sudo ./xsetup
tcam_bestsys
Visitor
Visitor
8,595 Views
Registered: ‎10-24-2013
Works for Ubuntu 16.04 as well.
0 Kudos