element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Using Xilinx Tools Forum Running Vivado 2014.1 on (K)ubuntu 14.04
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 335 subscribers
  • Views 551 views
  • Users 0 members are here
Related

Running Vivado 2014.1 on (K)ubuntu 14.04

Former Member
Former Member over 11 years ago

This post is about how I got Vivado and the SDK running on Kubuntu 14.04 (64 bit) and talking to my microZed.  It's possibly relevant to people running KDE on other platforms or other Debian based distros.

All of the stuff here has been covered by others but only in pieces.

I can't say for _sure_ that it's _all_ working. It's my first foray into Xilinx tools and programmable logic.

I _can_ say that I have just got through the "Hello World" tutorial:
- built the hardware design in Vivado
- exported it to the SDK.
- successfully single stepping the debugger via Digilent JTAG-HS2
- successfully seeing "Hello World" without any of the SDK etc crashing.

First of all, you need to get the SDK installed.
The workaround suggested by Xilinx worked ok for me:
<http://www.xilinx.com/support/answers/60088.html>
(I installed into ~/Xilinx instead of /opt/Xilinx)

Next, it appears Eclipse (the Xilinx SDK is based on it) can be flaky on (K)ubuntu
(See <http://stackoverflow.com/questions/14005164/eclipse-adt-bundle-fatal-error-not-able-to-start>
and <https://bugs.kde.org/show_bug.cgi?id=324438>)
If Xilinx SDK crashes on build, you might try changing:
System Settings - Application Appearance - GTK
- GTK2 Theme to something other than 'oxygen-gtk' (Raleigh is ugly but works)

There are the usual issues with USB serial ports and udev; I'll write something about that later if someone is interested.
I did put in a udev entry for the Digilent JTAG-HS2, but it appears that the Digilent installer also adds a udev entry.
(I used '/usr/local/lib' as the library path for the Digilent stuff)
Seems easiest to debug the JTAG interface with the "Hardware Manager" stuff in Vivado before the SDK; the UI makes more sense.

The last showstopper for me was the serial terminal console in the SDK.  I was able to launch the debugger in the SDK and step through main() - everything went fine until print() and the SDK crashed.  If this happens to you, the problem might be the serial driver.
See <https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/593172>
Use the library from the Ubuntu repositories like this:

cd XXX/Xilinx/SDK/2014.1/eclipse/lnx64.o/plugins/gnu.io.rxtx.linux.x86_64_2.1.7.3_v20071015/os/linux/x86_64
  (where XXX is wherever you installed it)

mv librxtxSerial.so librxtxSerial.so.old
ln -sf /usr/lib/jni/librxtxSerial.so ./librxtxSerial.so

I'm not sure that any of the other workarounds suggested by two sites linked in another thread here are relevant for the 2014.1 Xilinx stuff or Kubuntu 14.04.

Those were:
<http://svenand.blogdrive.com/archive/165.html>
(I did try switching 'dash' to 'bash' but I'm not sure it did anything for me)

and

<https://engineering.purdue.edu/elab/html/wiki-xilinx-tools-on-ubuntu.html>

Both are worth a read for other content or if you're using older tools.

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 11 years ago

    I am running Vivado 2014.1 on Ubuntu 13.10. Haven't seen any major problems so far.
    http://svenand.blogdrive.com/archive/206.html

    Sven

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Hi,

    I followed your tutorial sven and had no problems to get things working. A big thank you for that! However, when I whichd to my new laptop with UHD screen, the Vivado UI now has extremely small text and icons. I managed to get font bigger from the option-menu but it only affected to the tcl-command line.

    Have you had any similar issues with UHD screens? Can you tell, is there a way to get the UI back to normal again?

    anjosi

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Thanks for the post! Used the librxtx fix on SDK 2015.2 to fix crashes on Linux (Mint 17.1, based on Ubuntu 14.04)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube