Journal jdb2's Journal: How to get Xilinx' ISE WebPACK 10.1 to run under (K)Ubuntu
Having moved from Windows to Linux over a year ago, I've been migrating what I used to do while imprisoned by Microsoft to the free world of Linux. One of these things is digital hardware design via FPGAs. I'd used to use Xilinx' tools under Windows, but since I had no Windows installation save for VMWare I needed to get the latest WebPACK tools running under Kubuntu ( 8.04 ) -- Xilinx' tools are officially only supported under RHEL and Suse. Here's my step-by-step guide on how to do it.
- First you'll need some prerequisites in the form of shared libraries and the portmap server.
- sudo apt-get install libmotif3
- sudo apt-get install portmap
- sudo apt-get install libstdc++5
- Unzip the installation package : unzip 10.1_Webinstall-1.zip -d webpack
- Run the installation script :
cd webpack ; sudo -E
- Set up the startup script
- cd
- sudo echo -e 'export DISPLAY=:0\nexport LD_PRELOAD=/opt/usb-driver/libusb-driver.so\nexec ise' >>
( The 'LD_PRELOAD' will be explained later.)
- sudo chmod +x
Remember *Don't execute startise yet* -- we're not finished.
- cd
- Getting the cable to work
Xilinx' jtag cable (usb and parallel) programming drivers are compiled against specific versions of RHEL and Suse so we can't use them. But, luckily there is a user mode driver that emulates their functionality. This is the driver that the LD_PRELOAD environment variable points to. We need this as it tells the loader to override the RHEL/Suse shared library dependencies in Xilinx' iMPACT tool with our own custom shared library.
- sudo apt-get install libusb-dev
- wget 'http://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver?a=snapshot;h=HEAD;sf=tgz'
- tar xvzf usb-driver-HEAD.tar.gz
- cd usb-driver ; make
- sudo mkdir
-
( Some of the following may be redundant. Better safe than sorry though )
sudo usermod -a -G lp,scanner root ; sudo usermod -a -G lp,scanner [YourUserName]
- Setting up your environment
- cd ; mkdir Xilinx ; cd Xilinx ; cp
- cd
- cd ; mkdir Xilinx ; cd Xilinx ; cp
- You're done -- just type startise to launch ISE WebPACK 10.1 . Happy FPGA/CPLD programming!
If you find any omissions or errors in this guide please comment
How to get Xilinx' ISE WebPACK 10.1 to run under (K)Ubuntu More Login
How to get Xilinx' ISE WebPACK 10.1 to run under (K)Ubuntu
Slashdot Top Deals