Sorry, you need to enable JavaScript to visit this website.

Running Vivado on a CentOS 7 Virtual Machine

Solved
4 posts / 0 new
zedhed's picture
zedhed
Moderator(25)
Running Vivado on a CentOS 7 Virtual Machine

Hello Everyone,

I ran into this problem while loading Vivado onto my CentOS 7 Virtual Machine. Hopefully this thread will help others get unstuck from this problem should they ever encounter it.

I found that the License Management Center will no longer generate licenses for Linux HOST IDs using 00:00:00:00:00:00 as the MAC ID. This makes sense because that is not really a valid MAC address however the Vivado License Manger cannot see the "Consistent Network Device Naming" created for my wired Ethernet port on my Virtual Machine becuase it is looking for the eth0 interface. This is identified in this Xilinx forum thread here:

https://forums.xilinx.com/t5/Installation-and-Licensing/vivado-don-t-fin...

To solve this, I followed this tutorial here which disabled the predictable naming tool AND creates a new udev network naming rule file to name the Ethernet interface with a legacy Ethernet name like eth0 (which is what the Vivado License Manager is looking for) so that the MAC address can be read from this interface as the host ID.

http://ask.xmodulo.com/change-network-interface-name-centos7.html

In short, follow these instructions:

1) Edit /etc/default/grub and adding "net.ifnames=0" to GRUB_CMDLINE_LINUX variable.

2) Then run this command to regenerate GRUB configuration with updated kernel parameters.

$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg

3) Next, edit (or create) a udev network naming rule file (/etc/udev/rules.d/70-persistent-net.rules).

$ sudo vi /etc/udev/rules.d/70-persistent-net.rules

3a) Add the following line to the new rule file. Replace MAC address and interface with your own.

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:a9:7a:e1", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

4) Reboot the machine and verify the new MAC address took hold by looking through ifconfig output.

5) Go to the Xilinx Licencing site and generate a new license for a host with the MAC ID that now appears in the Vivado License Manager dialog.

6) Load the license file and make sure that the desired Vivado features are now available.

Hope this helps someone get up and running quicker than me!

Regards,

-Kevin

mbrown's picture
mbrown
Moderator(7)
Helped me!

/Matt

zedhed's picture
zedhed
Moderator(25)
Instructions for running tools under Ubuntu!

Thanks Matt!

I found that narrucmot posted an excellent tutorial that shows how to do this on Ubuntu instead of CentOS:

http://microzed.org/content/running-vivado-ubuntu

Thanks Tom!

-Kevin

zedhed's picture
zedhed
Moderator(25)
RE: Instructions for running tools under Ubuntu!

Hello Everyone,

This is now officially documented here in this Xilinx Answer Record# 60510:

https://www.xilinx.com/support/answers/60510.html

Looks like an updated version of Flex will be included in the Vivado 2017.3 release which will solve the need for this workaround.

Best Regards,

-Kevin