Page 1 of 2 12 LastLast
Results 1 to 10 of 37

Thread: Xilinx ISE WebPack 12.2 on Ubuntu 10.04 LTS

Hybrid View

  1. #1
    Join Date
    May 2008
    Beans
    10
    Distro
    Kubuntu 10.04 Lucid Lynx

    Xilinx ISE WebPack 12.2 on Ubuntu 10.04 LTS

    Hi,

    I thought I could report this because I couldn't find one single guide for installing Xilinx ISE WebPack 12.2 on Ubuntu 10.04 LTS 64-bit system.

    I finally succeeded in compiling a simple project using the ISE and programming it with iMPACT after completing the following steps to install the needed software. The following instructions assume that BASH is being used.

    1. Download the software from http://www.xilinx.com/support/download/index.htm

    2. Untar the archive
    Code:
    cd /Path_to_the_archive
    tar xvf Xilinx_ISE_DS_12.2_M.63c.1.1.tar
    2a. Optionally burn the files inside the created directory to a DVD. This is not necessary, but it will allow you to delete the files from your hard disk.

    3. Install the application
    Code:
    cd /Path_to_installer
    sudo ./xsetup
    -When asked to select edition to install, choose "ISE WebPACK".
    -On the following page tick the box "Install Cable Drivers".
    -I used the default directory suggested by the installer.

    4. To make the application run correctly you need to type the following
    Code:
    source /opt/Xilinx/12.2/ISE_DS/settings64.sh
    
    or
    
    cd /opt/Xilinx/12.2/ISE_DS
    source ./settings64.sh
    Note the reference to the current directory, which is needed when using the second alternative. In the same directory there is also a file called "settings32.sh" for 32-bit systems.

    The settings need to be run every time before invoking the application in a new console.

    5. After the software has been installed it's time to get a license from Xilinx website (http://www.xilinx.com/getlicense). After completing the form you should get a file called "Xilinx.lic". Copy this file to .Xilinx-folder inside your home directory:
    Code:
    cd /Path_to_license_file
    cp Xilinx.lic ~/.Xilinx/
    (The official instructions advise to use the license manager "xlcm", but for me it kept segfaulting, when I pressed the "Copy license..." button.)

    At this point you should be able to start the design environment by running command "ise" in the console. If iMPACT doesn't find your cable, there are a couple of steps more to go.

    The steps described below have been copied from the driver source files referenced at http://groups.google.com/group/comp....49e5b6028e2c70. The driver doesn't need to be compiled, but the udev rules are not created by the Xilinx installer.

    6. Copy the udev rules and adapt the file to the new udev-version
    Code:
    sudo cp /opt/Xilinx/12.2/ISE_DS/ISE/bin/lin64/xusbdfwu.rules /etc/udev/rules.d/50-xusbdfwu.rules
    sudo sed -i -e 's/TEMPNODE/tempnode/' -e 's/SYSFS/ATTRS/g' -e 's/BUS/SUBSYSTEMS/' /etc/udev/rules.d/50-xusbdfwu.rules
    If your machine is running 32-bit Linux change 'lin64'->'lin' on the first line.

    7. Copy the hex-files used by different Xilinx cables to /usr/share and make them readable by regular users
    Code:
    sudo cp /opt/Xilinx/12.2/ISE_DS/ISE/bin/lin64/xusb*.hex /usr/share/
    sudo chmod 644 /usr/share/xusb*.hex
    Again, 'lin64'->'lin' for 32-bit systems.

    8. Install fxload, which is used by the rules, and libusb-dev, which is needed by iMPACT
    Code:
    sudo apt-get install fxload libusb-dev
    9. Restart udev
    Code:
    sudo restart udev
    10. To make planAhead work two script files must be edited.
    Code:
    sudo sed -i -e 's/#!\/bin\/sh/#!\/bin\/bash/' /opt/Xilinx/12.2/ISE_DS/PlanAhead/bin/planAhead
    sudo sed -i -e 's/#!\/bin\/sh/#!\/bin\/bash/' /opt/Xilinx/12.2/ISE_DS/PlanAhead/bin/loader
    If you now connect the cable to the computer, it should work as expected. I tested this with Spartan-3AN Starter Kit, which has an onboard USB programmer. When I connected the cable, the green LED next to the USB connector turned on to indicate that the driver was working correctly.


    This is the first time I am able to program my Spartan-3AN Starter Kit using Ubuntu, and I hope this guide will help somebody else to achieve the same.

    I am writing this at midnight after trying lots of stuff to get the software working. I might have forgotten a step or two, so please let me know, if you do or don't succeed in installing the software.
    Last edited by Stube; October 13th, 2010 at 12:20 PM. Reason: Added information about hex-file access permissions

  2. #2
    Join Date
    Dec 2009
    Beans
    76

    Re: Xilinx ISE WebPack 12.2 on Ubuntu 10.04 LTS

    I just followed this and it worked beautifully. I haven't had a chance to actually connect my Nexys2 development board yet, so I'll let you know if it all went smoothly later when I get home.

    Very helpful!

  3. #3
    Join Date
    Aug 2005
    Beans
    18

    Re: Xilinx ISE WebPack 12.2 on Ubuntu 10.04 LTS

    Mine kept segfaulting as well, thanks for the .Xilinx tip.

  4. #4
    Join Date
    May 2008
    Beans
    10
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Xilinx ISE WebPack 12.2 on Ubuntu 10.04 LTS

    Nice to hear that someone else is making progress with the ISE as well.

    I have noticed that the FPGA Editor does not work because it is trying to use an outdated version of libstdc++.so. I haven't found the "right" solution for this yet...

  5. #5
    Join Date
    May 2008
    Beans
    3

    Re: Xilinx ISE WebPack 12.2 on Ubuntu 10.04 LTS

    Stube,
    I have done everything that you described and the green LED turned on.
    But I can't program my spartan 3E by Xilinx IMPACT, i get this errors:
    Code:
    GUI --- Auto connect to cable...
    // *** BATCH CMD : setCable -port auto
    AutoDetecting cable. Please wait.
    PROGRESS_START - Starting Operation.
    Reusing A0062001 key.
    Reusing 24062001 key.
     OS platform = i686.
    If you are using the Platform Cable USB, please refer to the USB Cable Installation Guide (UG344) to install the libusb package.
    Connecting to cable (Usb Port - USB21).
    Checking cable driver.
     Linux release = 2.6.35-gentoo-r4.
    WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable drivers. See Answer Record 22648.
    Cable connection failed.
    Reusing 78062001 key.
    Reusing FC062001 key.
     OS platform = i686.
    Connecting to cable (Parallel Port - parport0).
     Linux release = 2.6.35-gentoo-r4.
    WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable drivers. See Answer Record 22648.
     Linux release = 2.6.35-gentoo-r4.
    WARNING:iMPACT -  Module parport_pc is not loaded. Please reinstall the cable drivers. See Answer Record 22648.
    Cable connection failed.
    Reusing 79062001 key.
    Reusing FD062001 key.
     OS platform = i686.
    Connecting to cable (Parallel Port - parport1).
     Linux release = 2.6.35-gentoo-r4.
    WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable drivers. See Answer Record 22648.
     Linux release = 2.6.35-gentoo-r4.
    WARNING:iMPACT -  Module parport_pc is not loaded. Please reinstall the cable drivers. See Answer Record 22648.
    Cable connection failed.
    Reusing 7A062001 key.
    Reusing FE062001 key.
     OS platform = i686.
    Connecting to cable (Parallel Port - parport2).
     Linux release = 2.6.35-gentoo-r4.
    WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable drivers. See Answer Record 22648.
     Linux release = 2.6.35-gentoo-r4.
    WARNING:iMPACT -  Module parport_pc is not loaded. Please reinstall the cable drivers. See Answer Record 22648.
    Cable connection failed.
    Reusing 7B062001 key.
    Reusing FF062001 key.
     OS platform = i686.
    Connecting to cable (Parallel Port - parport3).
     Linux release = 2.6.35-gentoo-r4.
    WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable drivers. See Answer Record 22648.
     Linux release = 2.6.35-gentoo-r4.
    WARNING:iMPACT -  Module parport_pc is not loaded. Please reinstall the cable drivers. See Answer Record 22648.
    Cable connection failed.
    PROGRESS_END - End Operation.
    Elapsed time =      4 sec.
    Cable autodetection failed.
    WARNING:iMPACT:923 - Can not find cable, check cable setup !
    and of course I don't know what to do.

  6. #6
    Join Date
    May 2008
    Beans
    10
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Xilinx ISE WebPack 12.2 on Ubuntu 10.04 LTS

    I investigated it a bit and might have found the solution.

    Seems that for some odd reason impact needs the libusb development files.

    So do
    Code:
    sudo apt-get install libusb-dev
    and try it again.

  7. #7
    Join Date
    Jul 2007
    Beans
    61

    Re: Xilinx ISE WebPack 12.2 on Ubuntu 10.04 LTS

    Thank you for this post! How did you figure all of this out?

  8. #8
    Join Date
    May 2008
    Beans
    10
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Xilinx ISE WebPack 12.2 on Ubuntu 10.04 LTS

    You're welcome!

    It was a process of trial and error and, as I have learnt after the initial post, luck.
    I think there would have been no way I would have figured out the libusb-dev dependency, if it had not been already installed on my computer...

  9. #9
    Join Date
    Nov 2010
    Beans
    4

    Re: Xilinx ISE WebPack 12.2 on Ubuntu 10.04 LTS

    Hello,

    Thank you for the tutorial. I have followed the steps and have everything almost running. My problem is that after Platform Studio successfully launches it does not recognize the license file. I have a 30 day system edition evaluation license and ISE recognizes it without problems. My computer is Asus A6jc and I have 32 bit Ubuntu 10.04. After reading Martin's post about SDK, being not able to verify license, I tried to install ia32-libs but Ubuntu refused to do so saying that I already have a 32 bit edition.

    Can you please guide me about this problem

    thanks a lot
    rifo

  10. #10
    Join Date
    Nov 2010
    Beans
    4

    Re: Xilinx ISE WebPack 12.2 on Ubuntu 10.04 LTS

    In case you want to check the license, I paste it below

    # ----- REMOVE LINES ABOVE HERE --------------------------
    #
    # This license is valid from Tue Nov 16 05:23:02 GMT+00:00 2010.
    #
    # This is license NODELOCKED to HOSTID=
    # there is no need to run lmgrd for this license.
    #
    #
    # This license is valid for evaluation ( 30 days ) from Tue Nov 16 05:23:02 GMT+00:00 2010
    INCREMENT System_Edition xilinxd 2011.11 17-dec-2010 uncounted \
    7E89045BF499D \
    VENDOR_STRING= ,System_Edition,software,evaluation,_174912227_0_0 _426 \
    HOSTID=0016cb945f578 ISSUER="Xilinx Inc" START=16-Nov-2010 \
    TS_OK
    #
    #
    # ----------------------------------------------------------------------
    # The following PACKAGE definition is a REQUIRED part of this license:
    #
    PACKAGE System_Edition xilinxd 2011.11 E30D3F228C8F COMPONENTS="SDK \
    ChipScopePro_SIOTK ChipscopePro ISE ISIM PlanAhead SysGen XPS" \
    OPTIONS=SUITE
    #
    # ------------------------------------------------------------------------------
    #
    # ----- REMOVE LINES BELOW HERE --------------------------

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •