cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
22,668 Views
Registered: ‎10-24-2009

How to install Xilinx ISE and USB drivers - CentOS 5

Jump to solution

Hi,

I cannot seem to install Xilinx ISE on my fresh CentOS installation.
I have downloaded the webinstall package from Xilinx and tried to run xsetup (double clicking on it and choosing "Run"), but nothing happens. Then I have tried double clicking again and choosing "Run in terminal", but only for a second the terminal window opens and then closes. I have then tried to go to terminal and with su got cd to the folder and trying to do ./xsetup but again nothing happens.
The first method (double click and "run") worked in my other Linux distributions but I don't know what to do here.
Can you please help?

This is the code of xsetup:
#! /bin/sh
export PATH || exec /bin/sh "$0" $argv
# Get the path to this exec
setuploc=`dirname "$0"`

unset LANG
platform=`uname -s`

# run setup executable depending on different platform
if [ "$platform" = "Linux" ]
then
machineType=`uname -m`; # Get the machine type
if [ "$machineType" = "x86_64" ]
then
# 64 bit
if [ -f "$setuploc/bin/lin64/xsetup" ]
then
"$setuploc/bin/lin64/xsetup"
else
echo "Product is not supported on \"$platform $machineType\" platform."
fi
else
if [ -f "$setuploc/bin/lin/xsetup" ]
then
"$setuploc/bin/lin/xsetup"
else
echo "Product is not supported on \"$platform $machineType\" platform."
fi
fi
else
echo "Un-supported platform: $platform"
fi

 

 

I also went:

[janez@localhost ~]# su
Password:
[root@localhost janez]# cd Desktop/webinstall
[root@localhost webinstall]# sh xsetup
[root@localhost webinstall]#

so again, nothing happened.

When I tried sh xinfo (another file in the same folder, dunno why it is really for) it said:

********** xinfo done! ***********

and that was it

Any other ideas?

 

Thank you for your help!
Regards,
Janez

Message Edited by alien-w on 02-01-2010 05:35 AM
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Participant
Participant
26,665 Views
Registered: ‎02-15-2009

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

I hate to jump to conclusions, but I think I'm on to something here.

 

Using the "last bad thing to happen" might be cause of problem idea, I looked at this line:

 

mprotect(0x557000, 528384, PROT_READ|PROT_EXEC) = -1 EACCES (Permission denied)

 

and then googled.  And found this: 

 

http://worldlingo.com/ma/enwiki/en/PaX/7

 

 and some goofy conversation about "SELinux" which sounds like some type of related memory protection.

 

So I go to System.....Administration......Security Level and Firewall in Centos pull down menu.

 

And adjust SELinux to "Disabled."

 

And now, voila, it starts to install.

 

I'm not sure yet whether this will function, but I'm on my way -- I'll report back other findings.

 

Keith

 

View solution in original post

0 Kudos
18 Replies
Highlighted
Observer
Observer
22,453 Views
Registered: ‎08-01-2008

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

Hi,
 

Have you tried to enter main ISE directory and run 'xsetup' directly from
bin/lin/xsetup?

If not, try it out. Otherwise, I think you should submit "systrace" output
from the "xsetup" execution.

--
Wojciech A. Koszek
wkoszek@FreeBSD.org
http://FreeBSD.czest.pl/~wkoszek/
0 Kudos
Participant
Participant
22,472 Views
Registered: ‎02-15-2009

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

I'm in the same boat.  Brand new Centos 5.3 install.  Trying to install webpack ise 11.  xsetup from both root directory of the tar, and from the bin/lin/ directory, both exit immediately without so much of an error etc.

 

Wojciech suggested an strace.  It is attached below.

 

I can't make heads or tails of out it.  Also tried web installation, bin/lin/xsetup simply exits too.

 

This is on a traditional 32-bit P4 2.4ghz machine with 32-bit Centos installed.  There are no goofy 64-bit issues to worry about.

 

Appreciate any help.

 

Thanks

 

Keith

 

 

execve("bin/lin/xsetup", ["bin/lin/xsetup"], [/* 32 vars */]) = 0 brk(0) = 0x9e4c000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=39663, ...}) = 0 mmap2(NULL, 39663, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ef8000 close(3) = 0 open("/lib/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\n\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=14644, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef7000 mmap2(NULL, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x48d000 mmap2(0x48f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x48f000 close(3) = 0 open("/lib/libpthread.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0PH\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=127700, ...}) = 0 mmap2(NULL, 94692, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfb9000 mmap2(0xfcd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xfcd000 mmap2(0xfcf000, 4580, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfcf000 close(3) = 0 open("/usr/lib/libstdc++.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\254{\0034\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=936908, ...}) = 0 mmap2(0x377b000, 961720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x377b000 mmap2(0x385b000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xdf) = 0x385b000 mmap2(0x3860000, 23736, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3860000 close(3) = 0 open("/lib/libm.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0204\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=206380, ...}) = 0 mmap2(NULL, 155760, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x78c000 mmap2(0x7b1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24) = 0x7b1000 close(3) = 0 open("/lib/libgcc_s.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\346v\0034\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=46476, ...}) = 0 mmap2(0x376d000, 48036, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x376d000 mmap2(0x3778000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0x3778000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340_\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1608148, ...}) = 0 mmap2(NULL, 1332676, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x327000 mprotect(0x466000, 4096, PROT_NONE) = 0 mmap2(0x467000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13f) = 0x467000 mmap2(0x46a000, 9668, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x46a000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef6000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef5000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7ef56d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0x467000, 8192, PROT_READ) = 0 mprotect(0x7b1000, 4096, PROT_READ) = 0 mprotect(0x385b000, 16384, PROT_READ) = 0 mprotect(0xfcd000, 4096, PROT_READ) = 0 mprotect(0x48f000, 4096, PROT_READ) = 0 mprotect(0xd75000, 4096, PROT_READ) = 0 munmap(0xb7ef8000, 39663) = 0 set_tid_address(0xb7ef5718) = 8381 set_robust_list(0xb7ef5720, 0xc) = 0 futex(0xbfa91304, FUTEX_WAKE_PRIVATE, 1) = 0 rt_sigaction(SIGRTMIN, {0xfbd3e0, [], SA_SIGINFO}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0xfbd2e0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0 uname({sys="Linux", node="localhost.localdomain", ...}) = 0 futex(0x3861adc, FUTEX_WAKE_PRIVATE, 2147483647) = 0 brk(0) = 0x9e4c000 brk(0x9e6d000) = 0x9e6d000 readlink("/proc/8381/exe", "/root/Desktop/Xilinx_11.1_WebPack_SFD/bin/lin/xsetup"..., 4095) = 52 execve("/root/Desktop/Xilinx_11.1_WebPack_SFD/bin/lin/xsetup", ["bin/lin/xsetup"], [/* 35 vars */]) = 0 brk(0) = 0x8e83000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f96000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/tls/i686/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/tls/i686/sse2", 0xbfc6c318) = -1 ENOENT (No such file or directory) open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/tls/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/tls/i686", 0xbfc6c318) = -1 ENOENT (No such file or directory) open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/tls/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/tls/sse2", 0xbfc6c318) = -1 ENOENT (No such file or directory) open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/tls", 0xbfc6c318) = -1 ENOENT (No such file or directory) open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/i686/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/i686/sse2", 0xbfc6c318) = -1 ENOENT (No such file or directory) open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/i686", 0xbfc6c318) = -1 ENOENT (No such file or directory) open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/sse2", 0xbfc6c318) = -1 ENOENT (No such file or directory) open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=39663, ...}) = 0 mmap2(NULL, 39663, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f8c000 close(3) = 0 open("/lib/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\n\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=14644, ...}) = 0 mmap2(NULL, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x386000 mmap2(0x388000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x388000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libpthread.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0PH\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=127700, ...}) = 0 mmap2(NULL, 94692, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xba3000 mmap2(0xbb7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xbb7000 mmap2(0xbb9000, 4580, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xbb9000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libstdc++.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\311\3\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=895976, ...}) = 0 mmap2(NULL, 916884, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x110000 mmap2(0x1e6000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd6) = 0x1e6000 mmap2(0x1eb000, 19860, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1eb000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libm.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0204\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=206380, ...}) = 0 mmap2(NULL, 155760, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x9d8000 mmap2(0x9fd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24) = 0x9fd000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libgcc_s.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\346v\0034\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=46476, ...}) = 0 mmap2(0x376d000, 48036, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x376d000 mmap2(0x3778000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0x3778000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340_\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1608148, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f8b000 mmap2(NULL, 1332676, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x1f0000 mprotect(0x32f000, 4096, PROT_NONE) = 0 mmap2(0x330000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13f) = 0x330000 mmap2(0x333000, 9668, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x333000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f8a000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f8a6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0x330000, 8192, PROT_READ) = 0 mprotect(0x9fd000, 4096, PROT_READ) = 0 mprotect(0xbb7000, 4096, PROT_READ) = 0 mprotect(0x388000, 4096, PROT_READ) = 0 mprotect(0xf90000, 4096, PROT_READ) = 0 munmap(0xb7f8c000, 39663) = 0 set_tid_address(0xb7f8a708) = 8381 set_robust_list(0xb7f8a710, 0xc) = 0 futex(0xbfc6cbb4, FUTEX_WAKE_PRIVATE, 1) = 0 rt_sigaction(SIGRTMIN, {0xba73e0, [], SA_SIGINFO}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0xba72e0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0 uname({sys="Linux", node="localhost.localdomain", ...}) = 0 futex(0x1ebbdc, FUTEX_WAKE_PRIVATE, 2147483647) = 0 brk(0) = 0x8e83000 brk(0x8ea4000) = 0x8ea4000 readlink("/proc/8381/exe", "/root/Desktop/Xilinx_11.1_WebPack_SFD/bin/lin/xsetup"..., 4095) = 52 futex(0x38906c, FUTEX_WAKE_PRIVATE, 2147483647) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libPort_ExecLoader.so", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\23\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=9964, ...}) = 0 mmap2(NULL, 8588, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa42000 mmap2(0xa44000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xa44000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libPortability.so", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\17\10\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1344104, ...}) = 0 mmap2(NULL, 1342768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x38a000 mmap2(0x4d1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x147) = 0x4d1000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libThread.so", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340L\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=38708, ...}) = 0 mmap2(NULL, 44416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf2f000 mmap2(0xf38000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9) = 0xf38000 mmap2(0xf39000, 3456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf39000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libPort_Std.so", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300 \0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=30500, ...}) = 0 mmap2(NULL, 33132, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb08000 mmap2(0xb10000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xb10000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libboost_regex-gcc-p-1_33_1.so.1.33.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\313\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=544424, ...}) = 0 mmap2(NULL, 543180, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4d2000 mmap2(0x555000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x83) = 0x555000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libZlib.so", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\26\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=78848, ...}) = 0 mmap2(NULL, 81416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x336000 mmap2(0x349000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0x349000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libMiniZip.so", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\31\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=34664, ...}) = 0 mmap2(NULL, 37360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x34a000 mmap2(0x353000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0x353000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libboost_filesystem-gcc-p-1_33_1.so.1.33.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000Q\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=80568, ...}) = 0 mmap2(NULL, 83376, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xc83000 mmap2(0xc97000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xc97000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libboost_iostreams-gcc-p-1_33_1.so.1.33.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340R\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=161912, ...}) = 0 mmap2(NULL, 160148, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xe01000 mmap2(0xe27000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26) = 0xe27000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libisl_iostreams.so", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\246\3\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=528312, ...}) = 0 mmap2(NULL, 530776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x557000 mmap2(0x5d8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x80) = 0x5d8000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libstlport.so.5.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\277\2\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=584972, ...}) = 0 mmap2(NULL, 600660, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x5d9000 mmap2(0x664000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8b) = 0x664000 mmap2(0x668000, 14932, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x668000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/libuuid.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=39663, ...}) = 0 mmap2(NULL, 39663, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f8c000 close(3) = 0 open("/lib/libuuid.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\376f\0034\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=15704, ...}) = 0 mmap2(0x366f000, 12792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x366f000 mmap2(0x3672000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0x3672000 close(3) = 0 open("/root/Desktop/Xilinx_11.1_WebPack_SFD/lib/lin/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/librt.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\30\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=42048, ...}) = 0 mmap2(NULL, 33324, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xcae000 mmap2(0xcb5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xcb5000 close(3) = 0 mprotect(0xcb5000, 4096, PROT_READ) = 0 mprotect(0x557000, 528384, PROT_READ|PROT_WRITE) = 0 mprotect(0x557000, 528384, PROT_READ|PROT_EXEC) = -1 EACCES (Permission denied) munmap(0xb7f8c000, 39663) = 0 munmap(0xa42000, 8588) = 0 munmap(0x38a000, 1342768) = 0 munmap(0x557000, 530776) = 0 munmap(0xf2f000, 44416) = 0 munmap(0xb08000, 33132) = 0 munmap(0x4d2000, 543180) = 0 munmap(0x34a000, 37360) = 0 munmap(0xc83000, 83376) = 0 munmap(0xe01000, 160148) = 0 munmap(0x5d9000, 600660) = 0 munmap(0x336000, 81416) = 0 munmap(0x366f000, 12792) = 0 exit_group(0) = ?

 


0 Kudos
Highlighted
Participant
Participant
26,666 Views
Registered: ‎02-15-2009

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

I hate to jump to conclusions, but I think I'm on to something here.

 

Using the "last bad thing to happen" might be cause of problem idea, I looked at this line:

 

mprotect(0x557000, 528384, PROT_READ|PROT_EXEC) = -1 EACCES (Permission denied)

 

and then googled.  And found this: 

 

http://worldlingo.com/ma/enwiki/en/PaX/7

 

 and some goofy conversation about "SELinux" which sounds like some type of related memory protection.

 

So I go to System.....Administration......Security Level and Firewall in Centos pull down menu.

 

And adjust SELinux to "Disabled."

 

And now, voila, it starts to install.

 

I'm not sure yet whether this will function, but I'm on my way -- I'll report back other findings.

 

Keith

 

View solution in original post

0 Kudos
Highlighted
Participant
Participant
22,388 Views
Registered: ‎02-15-2009

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

This worked, and project nav loads, but, of course, the darn cable driver didn't load, and several hours of messing around didn't help.

 

FYI

 

Keith

 

0 Kudos
Highlighted
Visitor
Visitor
22,371 Views
Registered: ‎10-24-2009

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

Yeah, I figured this out two weeks ago (but was unable to reply until now) when I installed centos 5.4. Now there is a notification baloon for SElinux that told me something was wrong. Disabled it and installed it. It works fine now.

 

I am working on a solution for USB cable drivers now. Hopefully it will work tomorrow. Will inform you of success (or failure :)).

0 Kudos
Highlighted
Participant
Participant
22,367 Views
Registered: ‎02-15-2009

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

I didn't see any notification balloon, that would have helped, a lot.

 

The usb cable driver issue is a pain in the butt.  I switched (back) from CentOS to Ubuntu 8.04 with the hope that the cable drivers would just work(tm).  They, ummm, don't. :)

 

 I still would like to hear the solution.

 

Thanks

 

Keith

 

0 Kudos
Highlighted
Observer
Observer
22,364 Views
Registered: ‎08-01-2008

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution
My advices in case of driver problems would be:

- post exact system information (distribution)

- post kernel version (version, eventual patches)
'uname -a' should help with that

- post "libusb" package version -- it must be installed on your
system within /usr/lib, /lib, /usr/local/lib or wherever else libraries
get placed in your system; magic filenames "libusb*.so" should appear.

If there's no such a library -- you're baked!

- Use command line utilities available in ISE:

impact -batch myfile.conf

Where myfile.conf can have very basic configuration:

setMode -bscan
setCable -p auto
identify
exit

Just to see, if JTAG works.

- Use strace with -fF option and put its output to some sensible
file:

strace -fF -o linux_VERSION_ISE_VERSION_cable_problem.txt impact -batch myfile.conf

- Use LD_DEBUG=libs to see, whether libusb.so can actually be used:

env LD_DEBUG_OUTPUT=linux_VERSION_ISE_VERSION_libs.txt LD_DEBUG=libs impact -batch myfile.conf

Otherwise, you won't get much support IMO.
--
Wojciech A. Koszek
wkoszek@FreeBSD.org
http://FreeBSD.czest.pl/~wkoszek/
0 Kudos
Highlighted
Visitor
Visitor
22,339 Views
Registered: ‎12-23-2009

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

My steps to install ISE11 in CentOS 5.4

 

1. Install CentOS 5.x with developement option

2. disable seLinux

3. login as root

4. copy ISE11.1 DVD to hard drive, for example to /mnt/ise11

5. chown myname.myname /opt -R

6. cd /mnt/ise11

7. ./xsetup

8. it will prompt that the cable driver is not installed at the end of installation

9. download fxload from http://sourceforge.net/projects/linux-hotplug/files/ 

10. cd /mnt/

11. tar -zxf fxload-2008_10_13.tar.gz

12. cd fxload-2008_10_13

13. change # include <linux/usb/ch9.h> to # include <linux/usb_c9.h>, it is located at line 33

14. make

15. make install

16. cd /mnt/ise11/bin/lin64/install_script/install_drivers

17. ./install_drivers

done.

 

I only installed KDE, the problem is I don't have ISE_DS menu, I have to manually added them to KDE menu.

 

 

0 Kudos
Highlighted
Participant
Participant
22,335 Views
Registered: ‎02-15-2009

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

Thanks gavin_li for posting that.

 

I'm pretty sure my issue was actually a physical hardware problem.  I was doing some stuff on a prototype board connected to the spartan 3e kit, and suffice to say all my grounds were not connected.  While I couldn't measure much difference in ground potential, attaching these extra grounds made all the difference in the world.

 

When I started to debug the usb driver problem, I noticed I was missing a line

 

(note this isn't real output, I snagged this from a random place on internet to show format)

 

Sep 8 21:34:10 gadabout kernel: [320648.809599] usb 4-1: new high speed USB device using ehci_hcd and address 18
Sep 8 21:34:10 gadabout kernel: [320648.943249] usb 4-1: configuration #1 chosen from 1 choice

 

I was missing line number two there.  Once I fixed my grounds, everything is now kosher.

 

Keith

 

0 Kudos
Highlighted
Visitor
Visitor
19,852 Views
Registered: ‎10-24-2009

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

gavin_li thanks for that, but when I try to d:

12. cd fxload-2008_10_13

13. change # include <linux/usb/ch9.h> to # include <linux/usb_c9.h>, it is located at line 33

14. make

 

i get: 

[root@localhost fxload-2008_10_13]# make
cc -c -O -Wall   ezusb.c -o ezusb.o
ezusb.c:33:28: error: linux/usb_c9.h: No such file or directory
ezusb.c: In function ‘ezusb_read’:
ezusb.c:198: error: ‘USB_DIR_IN’ undeclared (first use in this function)
ezusb.c:198: error: (Each undeclared identifier is reported only once
ezusb.c:198: error: for each function it appears in.)
ezusb.c:198: error: ‘USB_TYPE_VENDOR’ undeclared (first use in this function)
ezusb.c:198: error: ‘USB_RECIP_DEVICE’ undeclared (first use in this function)
ezusb.c: In function ‘ezusb_write’:
ezusb.c:226: error: ‘USB_DIR_OUT’ undeclared (first use in this function)
ezusb.c:226: error: ‘USB_TYPE_VENDOR’ undeclared (first use in this function)
ezusb.c:226: error: ‘USB_RECIP_DEVICE’ undeclared (first use in this function)
ezusb.c: In function ‘ezusb_cpucs’:
ezusb.c:253: error: ‘USB_DIR_OUT’ undeclared (first use in this function)
ezusb.c:253: error: ‘USB_TYPE_VENDOR’ undeclared (first use in this function)
ezusb.c:253: error: ‘USB_RECIP_DEVICE’ undeclared (first use in this function)
make: *** [ezusb.o] Error 1

 

 

There is an error in your post, it should be:

 13. change # include <linux/usb/ch9.h> to # include <linux/usb_ch9.h>, it is located at line 33

 

you forgot a letter h. Please correct it for the others. :)

 

Regards

Janez

 

Message Edited by alien-w on 01-23-2010 03:17 PM
0 Kudos
Highlighted
Visitor
Visitor
19,850 Views
Registered: ‎10-24-2009

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

Oh, and for the last steps

16. cd /mnt/ise11/bin/lin64/install_script/install_drivers

17. ./install_drivers

you need to have your kernel development package installed.

 

If you don't you get something like this:

 

--Installing windrvr6---------------------------------------------
--Checking version.
--File /lib/modules/2.6.18-164.11.1.el5xen/kernel/drivers/misc/windrvr6.ko does not exist.
--File LINUX.2.6.18-164.11.1.el5xen.i386/windrvr6.ko does not exist.
--Setting source version to 920.
--File LINUX.2.6.18-164.11.1.el5xen.i386/windrvr6.ko is newer than the destination file.
creating cache ./config.cache
checking for cpu architecture... i386
checking for WinDriver root directory... /mnt/ise11/linux_drivers/windriver32
checking for linux kernel source... not found
configure: error: please install the kernel source or specify alternate location
make: *** No rule to make target `clean'.  Stop.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
--make windrvr install rc= 2
--install_windrvr6 rc = 2
--Module windrvr6 is not running.
--Module xpc4drvr is not running.
--Note: By default, the file permission of /dev/windrvr6 is enabled for the root user only
  and must be changed to allow access to other users.

--real rc=2

--Driver installation failed.

--Return code = 1
 

So you check your kernel version (in my case: 2.6.18-164.11.1.el5xen). So you go "applications", "add/remove software", "search" and type "kernel". Find something like kernel-xen-devel-2.6.18-164.11.1.el5.i686 and install it.

Now run step 17 again, it should work and you should get:


--Driver installation successful.

Will try to connect the USB tomorrow and see if it really works. :)
0 Kudos
Highlighted
Visitor
Visitor
19,808 Views
Registered: ‎10-24-2009

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

I had to do this too:

1. su

2. $lsusb

3. $you see on which port xilinx cable is attached

4. $fxload -v -t fx2 -I /usr/share/xusb_xp2.hex -D /dev/bus/usb/001/00X

  where X is the number shown by lsusb

 

it works like a charm now.

 

That is it.

0 Kudos
Highlighted
19,019 Views
Registered: ‎07-08-2010

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

Hello gavin_li

This is the new link to download fxload

 

http://sourceforge.net/projects/linux-hotplug/files/

 

Best regards,

Samson

0 Kudos
Highlighted
Anonymous
Not applicable
16,440 Views

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

I have successfully intalled ise10.1.sp3 and edk into centos6.0. The problem is the installation of usb cable driver, i have changed line 33(fxload-1008_10_13/ezusb.c) "linux/usb/ch9.h" to "linux/usb_ch9.h", and make,but it still doesn't work,you help will be appreciated!!!

 

[root@llse fxload-2008_10_13]# make
cc -c -O -Wall   ezusb.c -o ezusb.o
ezusb.c:33:29: 错误:linux/usb_ch9.h:没有那个文件或目录
ezusb.c: 在函数‘ezusb_read’中:
ezusb.c:198: 错误:‘USB_DIR_IN’未声明(在此函数内第一次使用)
ezusb.c:198: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
ezusb.c:198: 错误:所在的函数内也只报告一次。)
ezusb.c:198: 错误:‘USB_TYPE_VENDOR’未声明(在此函数内第一次使用)
ezusb.c:198: 错误:‘USB_RECIP_DEVICE’未声明(在此函数内第一次使用)
ezusb.c: 在函数‘ezusb_write’中:
ezusb.c:226: 错误:‘USB_DIR_OUT’未声明(在此函数内第一次使用)
ezusb.c:226: 错误:‘USB_TYPE_VENDOR’未声明(在此函数内第一次使用)
ezusb.c:226: 错误:‘USB_RECIP_DEVICE’未声明(在此函数内第一次使用)
ezusb.c: 在函数‘ezusb_cpucs’中:
ezusb.c:253: 错误:‘USB_DIR_OUT’未声明(在此函数内第一次使用)
ezusb.c:253: 错误:‘USB_TYPE_VENDOR’未声明(在此函数内第一次使用)
ezusb.c:253: 错误:‘USB_RECIP_DEVICE’未声明(在此函数内第一次使用)
make: *** [ezusb.o] 错误 1

0 Kudos
Highlighted
Anonymous
Not applicable
16,424 Views

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

i have install the fxload. But there comes problem that when i open impact , it says "using libusb" and cable connection failed. At the same time, terminal window shows "Can't open /dev/parport0: not enough  permission". I have checked that  the parport0 belongs to root and users is lp. Then i make my account belong to lp .But it still shows not enough permission.

Can anyone  help me? That will be appreciated...

 

 

GUI --- Auto connect to cable...
// *** BATCH CMD : setCable -port auto
AutoDetecting cable. Please wait.
PROGRESS_START - Starting Operation.
Reusing 780A51A1 key.
Reusing FC0A51A1 key.
 OS platform = i686.
Connecting to cable (Parallel Port - parport0).
 libusb-driver.so version: 2011-12-12 23:47:45.
 LPT1 Base Address set from env variable = 0.
 LPT base address = 0000h.
 LPT1 Ecp Address set from env variable = 400.
 ECP base address = 0400h.
LPT port is already in use. rc = FFFFFFFFh
Cable connection failed.
Reusing 790A51A1 key.
Reusing FD0A51A1 key.
 OS platform = i686.
Connecting to cable (Parallel Port - parport1).
 libusb-driver.so version: 2011-12-12 23:47:45.
Cable connection failed.
Reusing 7A0A51A1 key.
Reusing FE0A51A1 key.
 OS platform = i686.
Connecting to cable (Parallel Port - parport2).
 libusb-driver.so version: 2011-12-12 23:47:45.
Cable connection failed.
Reusing 7B0A51A1 key.
Reusing FF0A51A1 key.
 OS platform = i686.
Connecting to cable (Parallel Port - parport3).
 libusb-driver.so version: 2011-12-12 23:47:45.
Cable connection failed.
Reusing A00A51A1 key.
Reusing 240A51A1 key.
 OS platform = i686.
 Using libusb.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
File version of /opt/xilinx/ISE/bin/lin/xusbdfwu.hex = 1030.
File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 1030.
 Using libusb.
Cable connection failed.
Reusing A10A51A1 key.
Reusing 250A51A1 key.
 OS platform = i686.
 Using libusb.
Connecting to cable (Usb Port - USB22).
Checking cable driver.
File version of /opt/xilinx/ISE/bin/lin/xusbdfwu.hex = 1030.
File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 1030.
 Using libusb.
Cable connection failed.
Reusing A20A51A1 key.
Reusing 260A51A1 key.
 OS platform = i686.
 Using libusb.
Connecting to cable (Usb Port - USB23).
Checking cable driver.
File version of /opt/xilinx/ISE/bin/lin/xusbdfwu.hex = 1030.
File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 1030.
 Using libusb.
Cable connection failed.
Reusing A30A51A1 key.
Reusing 270A51A1 key.
 OS platform = i686.
 Using libusb.
Connecting to cable (Usb Port - USB24).
Checking cable driver.
File version of /opt/xilinx/ISE/bin/lin/xusbdfwu.hex = 1030.
File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 1030.
 Using libusb.
Cable connection failed.
PROGRESS_END - End Operation.
Elapsed time =      1 sec.
Cable autodetection failed.
WARNING:iMPACT:923 - Can not find cable, check cable setup !

0 Kudos
Highlighted
Visitor
Visitor
15,773 Views
Registered: ‎08-26-2010

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

this worked for us with 13.2 standalone

 

For CentOS 5.5 (Scientific Linux)

0) helpful to add /sbin to your PATH (.bashrc) so can find modprobe etc (otherwise have to type /sbin/modprobe etc)
1)yum install kernel-xen-devel    (if you specfiy the 2.6* stuff it doesn't find it)
2)
fxload download from:
  http://sourceforge.net/projects/linux-hotplug/files/fxload/
  fxload-2008_10_13 (one we used)
in ezusb.c in fxload directory:
  change line 33 to the following:
  # include  <linux/usb_ch9.h> /*was <linux/usb/ch9.h>*/

install fxload

3) switch to xilinx install drivers dir
    cd /opt/Xilinx/13.2/LabTools/LabTools/bin/lin64/install_script/install_drivers/

change to install_drivers shell script : line 369   instead of "2.4" change to "2\.4"

(improper kernel version check without adding the \)


./install_drivers

4) lsusb (after xilinx cable attached)

you see which bus and device the xilinx cable is attached

fxload -v -t fx2 -I /usr/share/xusb_xp2.hex -D /dev/bus/usb/xxx/yyy
where xxx = bus id
             yyy = device id

for us, bus id was 001 and device id was 012

5)make sure all users have access to /dev/windrvr6 (ls -l should show all user group and owner all have r access)
6)add xilinx bin to PATH in .bashrc

export PATH=.:$HOME/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/sbin:/opt/Xilinx/13.2/LabTools/LabTools/bin/lin64


7) type impact in terminal (not as root)
   impact&
   window should come up
  with usb cable and board turned on, do the boundary scan - should detect jtag chain including fpga and any proms

 

 

0 Kudos
Highlighted
Visitor
Visitor
15,731 Views
Registered: ‎08-26-2010

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

###EDIT:  after doing the above, i  still had impact unable to find/connect to the cable    ###
###       below is what we did to fix it                                    ###
###  derived from: http://www.fpgarelated.com/usenet/fpga/show/100442-1.php ###
        
 the udev rule file had the wrong syntax
 to fix (as root):
a1)    cd to /opt/Xilinx/13.2/LabTools/LabTools/bin/lin64/install_script/  
              install_drivers/linux_drivers/pcusb
a2)    edit the xusbdfwu.rules file
       change BUS to SUBSYSTEM (one subsystem per line - each line after the 1st two lines ends with $TEMPNODE - see original file for formatting)

for ex:
# version 0003
SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0008", MODE="666"
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0007", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex -D $TEMPNODE"
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0009", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xup.hex -D $TEMPNODE"
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000d", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_emb.hex -D $TEMPNODE"
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000f", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xlp.hex -D $TEMPNODE"
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0013", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xp2.hex -D $TEMPNODE"
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0015", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xse.hex -D $TEMPNODE"

a3)  /bin/cp -p xusbdfwu.rules /etc/udev/rules.d


a4) ADDITIONALLY (not sure if necessary or not), we added the following in a

/etc/settings file

export XIL_IMPACT_USE_LIBUSB=1
export XIL_IMPACT_USE_WINDRIVER=0
export LD_PRELOAD=~restore/libusb-driver.so

a5) ADDITIONALLY (not sure if necessary or not), we changed the .bashrc file to be:

# Xilinx
export LD_PRELOAD=~restore/libusb-driver.so
export XIL_IMPACT_USE_LIBUSB=1
export XIL_IMPACT_USE_WINDRIVER=0
alias jtag="env LD_PRELOAD=~restore/libusb-driver.so XIL_IMPACT_USE_LIBUSB=1 XIL
_IMPACT_USE_WINDRIVER=0 impact"

where ~restore is the location of the libusb-driver.so

a6) ADDITIONALLY (not sure if necessary or not), we changed the .profile file to be:
export LD_PRELOAD=~restore/libusb-driver.so
export XIL_IMPACT_USE_LIBUSB=1
export XIL_IMPACT_USE_WINDRIVER=0

------------------------------------------------------------
FINALLY,
we type in jtag at a terminal prompt (see alias jtag in .bashrc file)

able to connect to a ml403 using the platform usb cable:
1. tested initialize chain successfully
2. tested read device code id successfully

 

note: replace ~restore with whatever appropriate location

0 Kudos
Highlighted
Anonymous
Not applicable
8,836 Views

Re: Don't know how to install Xilinx ISE - clean CentOS 5 install

Jump to solution

Hi I'm tryin gto install iMPACT on cent OS 5 (or 6).

 

First i tried using the GUI way. Downloaded the labtools package (ISE 14.4) and tried to install the cable drivers. The driver installation failed without any helpful info

 

Second, based on info here and other forums I first insalled libusb and setup the variable XIL_IMPACT_USE_LIBUSB , then i ran the install_drivers from the ISE 14.4 setup files . And it again fails with the following error

 

 

make[1]: *** [LINUX.3.0.52.x86_64/linux_wrappers.o] Error 1
make[1]: Leaving directory `/opt/Xilinx_LabTools_14.7_1015_1/install_drivers/linux_drivers/windriver64/windrvr'
make: *** [all] Error 2
--make windrvr install rc= 2
--install_windrvr6 rc = 2
--Module windrvr6 is not running.
--Module xpc4drvr is not running.
--Note: By default, the file permission of /dev/windrvr6 is enabled for the root user only
  and must be changed to allow access to other users.

--real rc=2

--Driver installation failed.

--Digilent Return code = 0
--Xilinx Return code = 1
--Return code = 1

 

I have a very simple requirement and yet struggling to get it to work , many forums posts are confusing/contradicting . Are there any step by step instructions/procedure to do it ? .

 

Any help is highly appreciated

0 Kudos