Key points for installing and using Xilinx ise ds 10.04 SP3 on Ubuntu 10.1

Source: Internet
Author: User
Tags xilinx ise

Key points for installing and using Xilinx ise ds 9.10 SP3 on Ubuntu 10.1

(I have already tried it on Ubuntu. It will be OK if I make some changes)

Keys about installing and using Xilinx ise ds 10.1 SP3 at Linux platform

Xupv2p of Xilinx is an FPGA development board integrated with ppc405 hard core. It can be used for embedded applications. During corresponding development, EDK must be used for hardware design and synthesis, in general, EDK is installed in windows, while in the embedded Linux system configuration, the software development adopts the cross-Compilation Method to complete the software system development on the Linux host machine, in the initial stage of system development, it is not convenient to switch between Windows and Linux systems repeatedly. Therefore, ise DS 10.1.03 is installed in Linux to unify the hardware and software development platform. The Linux version used is Ubuntu 9.10, installed on a virtual machine, and VMWare 6.5.3.

Install the following files: 1. Ise DS 10.1. 2. SP3 packages of Ise, EDK, chipscope, and IP. All files can be downloaded from Xilinx's official website.

 

    1. Xilinx_ise_ds.iso
    2. 10_201703_lin.zip
    3. 10.20.03_edk_lin.zip
    4. Chipscope_pro_10_201703_lin.zip
    5. Ise_101_ip_update3_install.zip

I. Installation

Mount xilinx_ise_ds.iso to the system and double-click setup(not setup.exe) in/Media/cdrom. Only Ise, EDK, and chipscope1 are installed.

Figure 1

All the way to next, agree to all protocols, the installation path is/opt/Xilinx/10.1, the only thing to note is not to update, do not install the download driver, do not enable webtalk, 2.

Figure 2

.

 

2. Install and run the software required by ise DS

Use root to complete the following installation and configuration

1. Reset sh to bash.

# Dpkg-reconfigure DASH: when you are prompted whether to use dash, select No.

2. Install libdb

# Apt-Get install libdb-Dev

ISE requires version 4.1, a connection # ln-SF libdb-4.2.so/usr/lib/libdb-4.1.so

3. Install libxm

# Apt-Get install libmotif3

4. Install libstdc ++ 5

Ubuntu9.10 comes with libstdc ++ 6 and does not have libstdc ++ 6 on apt-Get. Next to http://download.csdn.net/source/205090on the Internet, put it in /usr/lib, and then make a soft connection.

Ln-SF/usr/lib/libstdc ++. so.5.0.7/usr/lib/libstdc ++. so.5

5. Install fxload

Fxload is used to update the hex of the download tool, # apt-Get install fxload

 

6. Install the wrap editor.

# Apt-Get install rlwrap

7. Disguise gmake

# Ln-SF make/usr/bin/gmake

 

3. Install the downloader driver

# Cd/opt/Xilinx/10.1/common/bin/Lin

#./Setup_pcusb

During installation, check whether related files exist in/etc/hotplug/USB. If no files exist, copy the hex files related to the download tool to/etc/hotplug/USB.

Create a udev device for the download device, and create the udev file xusbdfw. Rules under/etc/udev/rules. d. The content is as follows:

 

Sysfs {idvendor }== "03fd", sysfs {idproduct }== "0008", mode = "666"

Bus = "USB", Action = "add", sysfs {idvendor} = "03fd", sysfs {idproduct} = "0007 ", run + = "/sbin/fxload-v-T fx2-I/etc/hotplug/USB/xusbdfwu. FW/xusbdfwu. hex-d $ tempnode"

Bus = "USB", Action = "add", sysfs {idvendor} = "03fd", sysfs {idproduct} = "0009 ", run + = "/sbin/fxload-v-T fx2-I/etc/hotplug/USB/xusbdfwu. FW/xusb_xup.hex-d $ tempnode"

Bus = "USB", Action = "add", sysfs {idvendor} = "03fd", sysfs {idproduct} = "000d ", run + = "/sbin/fxload-v-T fx2-I/etc/hotplug/USB/xusbdfwu. FW/xusb_emb.hex-d $ tempnode"

Bus = "USB", Action = "add", sysfs {idvendor} = "03fd", sysfs {idproduct} = "000f ", run + = "/sbin/fxload-v-T fx2-I/etc/hotplug/USB/xusbdfwu. FW/xusb_xlp.hex-d $ tempnode"

Bus = "USB", Action = "add", sysfs {idvendor} = "03fd", sysfs {idproduct} = "0013 ", run + = "/sbin/fxload-v-T fx2-I/etc/hotplug/USB/xusbdfwu. FW/xusb_xp2.hex-d $ tempnode"

Bus = "USB", Action = "add", sysfs {idvendor} = "03fd", sysfs {idproduct} = "0015 ", run + = "/sbin/fxload-v-T fx2-I/etc/hotplug/USB/xusbdfwu. FW/xusb_xse.hex-d $ tempnode"

 

Sysfs {idvendor }== "03fd", sysfs {idproduct }== "0009", mode = "666"

Bus = "USB", Action = "add", sysfs {idvendor} = "03fd", sysfs {idproduct} = "0007 ", run + = "/sbin/fxload-v-T fx2-I/etc/hotplug/USB/xusbdfwu. FW/xusbdfwu. hex-d $ tempnode"

Bus = "USB", Action = "add", sysfs {idvendor} = "03fd", sysfs {idproduct} = "0009 ", run + = "/sbin/fxload-v-T fx2-I/etc/hotplug/USB/xusbdfwu. FW/xusb_xup.hex-d $ tempnode"

Bus = "USB", Action = "add", sysfs {idvendor} = "03fd", sysfs {idproduct} = "000d ", run + = "/sbin/fxload-v-T fx2-I/etc/hotplug/USB/xusbdfwu. FW/xusb_emb.hex-d $ tempnode"

Bus = "USB", Action = "add", sysfs {idvendor} = "03fd", sysfs {idproduct} = "000f ", run + = "/sbin/fxload-v-T fx2-I/etc/hotplug/USB/xusbdfwu. FW/xusb_xlp.hex-d $ tempnode"

Bus = "USB", Action = "add", sysfs {idvendor} = "03fd", sysfs {idproduct} = "0013 ", run + = "/sbin/fxload-v-T fx2-I/etc/hotplug/USB/xusbdfwu. FW/xusb_xp2.hex-d $ tempnode"

Bus = "USB", Action = "add", sysfs {idvendor} = "03fd", sysfs {idproduct} = "0015 ", run + = "/sbin/fxload-v-T fx2-I/etc/hotplug/USB/xusbdfwu. FW/xusb_xse.hex-d $ tempnode"

The reason why pid0008 and 0009 need to be added is that after the download loader is used, its PID may be 0008 or 0009. When JTAG chain is initialized,ProgramIs pid0008 but not pid0009. Restart udev, #/etc/init. d/udev restart

 

4. Add Environment Variables

Create set_env.sh in/opt/Xilinx/10.1. The content is

 

Source/opt/Xilinx/10.1/ISE/settings32.sh

Source/opt/Xilinx/10.1/EDK/settings32.sh

Source/opt/Xilinx/10.1/chipscope/settings32.sh

Export LD_LIBRARY_PATH = "/usr/local/bin: $ LD_LIBRARY_PATH"

Export export _impact_use_libusb = 1

Export display =: 0

The first three variables are the environment variables for starting ise components. LD_LIBRARY_PATH and pai_impact_use_libusb are the environment variables of the USB downloader, and display is the display environment variables.

Before starting ise or EDK, you must # source/opt/Xilinx/10.1/set_env.sh. Then, you can directly use the commands related to ISE and EDK on the console.

 

5. Create the start address in the ace File

"Executable does not contain start address. "The problem is caused by the use of non-English language settings. When Ubuntu is a Chinese language, the start address obtained using PowerPC-Eabi-objdump-x $ elffile is translated into the Chinese "start address", and the program reports an error. Solution 2: Change the Ubuntu language to English, and add "-start_address <address value>" to the. Opt file ".

 

6. refer to the followingArticle

 

Http://www.aclevername.com/articles/linux-xilinx-tutorial/edk101-ubuntu810.html

Http://www.openhw.org/Kevin/blog/09-12/182442_78a0f.html

 

7. For international guest)

 

 

 

 

Keys about installing and using Xilinx ise ds 10.1 At Linux platform, my Linux distro is Ubuntu 9.10, which is installed in a virtual machine. My host system is Windows 7, using VMware 6.5.3.

Prepare those install package: 1. ISE design suite 10.1 DVD, 2. the Service Pack 3 of Ise, EDK, chipscope, IP cores. you can download them from Xilinx's website. here are their names:

    1. Xilinx_ise_ds.iso
    2. 10_201703_lin.zip
    3. 10.20.03_edk_lin.zip
    4. Chipscope_pro_10_201703_lin.zip
    5. Ise_101_ip_update3_install.zip
The above is the original article of the author. I had some minor problems when installing the package. I searched the internet for the following answer: I also need to install this package: sudo apt-Get install Portmap and I also referred to: http://www.eefocus.com/mars_seu/blog/10-05/189674_b3a25.htmlhttp://www.kunli.info/2007/05/07/linux-fpga-howto2-usbcable/http://www.aclevername.com/articles/linux-xilinx-tutorial/edk101-ubuntu810.html

 

original address http://www.eefocus.com/logiclimit/blog/10-04/187734_30bb9.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.