Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> How could I install Xilinx USB download cable?
sieg70
 Posted: Jul 6 2017, 07:05 AM
Quote Post


SLF Newbie


Group: Members
Posts: 2
Member No.: 3894
Joined: 6-July 17









hi,

I use Sci Linux 6.5 and I want to use Xilinx ISE to do some fpga stuffs.

I failed to install the Xilinx USB download cable driver when I installed ISE.

I have installed fxload and libusb-devel.

Than I went to {$ISE_install_dir}/common/bin/lin64/install_script/install_drivers and execute the ¨sudo install_drivers¨ script to install the Xilinx USB download cable driver. And here are the log message...

--Driver versions in this package: windrvr=900, xpc4drvr=1041
--Script name = ./install_drivers
--HostName = phi
--Current working dir = /home/htwu/Downloads/xil/install_drivers
--Script location = /home/htwu/Downloads/xil/install_drivers
--Kernel version = 2.6.32-696.1.1.el6.x86_64.
--Arch = x86_64.
--Installer version = 1053
--Unsetting ARCH environment variable.
--User has root permission.
--File /lib/modules/misc/install_windrvr6 does not exist.
--Installing USB drivers------------------------------------------
--File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex exists.
--File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex version = 1030
--File xusbdfwu.hex exists.
--File xusbdfwu.hex version = 1030
--File xusbdfwu.hex is already updated.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex exists.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex version = 1028
--File xusb_xlp.hex exists.
--File xusb_xlp.hex version = 1028
--File xusb_xlp.hex is already updated.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex exists.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex version = 1028
--File xusb_emb.hex exists.
--File xusb_emb.hex version = 1028
--File xusb_emb.hex is already updated.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex exists.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex version = 2004
--File xusb_xpr.hex exists.
--File xusb_xpr.hex version = 2004
--File xusb_xpr.hex is already updated.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex exists.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex version = 1030
--File xusb_xup.hex exists.
--File xusb_xup.hex version = 1030
--File xusb_xup.hex is already updated.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex exists.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex version = 2300
--File xusb_xp2.hex exists.
--File xusb_xp2.hex version = 2300
--File xusb_xp2.hex is already updated.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex exists.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex version = 2006
--File xusb_xse.hex exists.
--File xusb_xse.hex version = 2006
--File xusb_xse.hex is already updated.
--Product ID 0007 is already in the usermap.
--Product ID 0009 is already in the usermap.
--Product ID 000d is already in the usermap.
--Product ID 000f is already in the usermap.
--Product ID 0013 is already in the usermap.
--Product ID 0015 is already in the usermap.
--Product ID 0008 is already in the usermap.
--File /sbin/fxload exists.
--Installing windrvr6---------------------------------------------
--Checking version.
--File /lib/modules/2.6.32-696.1.1.el6.x86_64/kernel/drivers/misc/windrvr6.ko does not exist.
--File LINUX.2.6.32-696.1.1.el6.x86_64.x86_64/windrvr6.ko does not exist.
--Setting source version to 900.
--File LINUX.2.6.32-696.1.1.el6.x86_64.x86_64/windrvr6.ko is newer than the destination file.
checking for cpu architecture... x86_64
checking for WinDriver root directory... /home/htwu/Downloads/xil/install_drivers/linux_drivers/windriver64
checking for linux kernel source... not found
configure: error: please install the kernel source or specify alternate location
makefile:26: target `@CSRCS@' doesn't match the target pattern
make: CLEAN_RULE@: Command not found
make: *** [clean] Error 127
makefile:26: target `@CSRCS@' doesn't match the target pattern
make: *** No rule to make target `@ALL_DEPS@', needed by `all'. Stop.
makefile:26: target `@CSRCS@' doesn't match the target pattern
make: *** No rule to make target `@ALL_DEPS@', needed by `all'. 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.

--Return code = 2


I founded that ¨configure: error: please install the kernel source or specify alternate location¨

So could anyone tell me how to install the kernel source code of Sci Linux 6.5??

I haved tried yum install kernel kernel-devel ...

thanks!

best regards,
htwu

PM
^
sieg70
 Posted: Jul 6 2017, 08:22 AM
Quote Post


SLF Newbie


Group: Members
Posts: 2
Member No.: 3894
Joined: 6-July 17









I found the answer link

https://forums.xilinx.com/t5/Installation-and-Licensing/Driver-installation-fails-for-ISE-13-4-on-Ubuntu-11-10-and/td-p/208561

the keypoint is windrvr does not work with current linux kernel versions (> 2.6.18)

I could not ¨Restarted udev¨ because I found no /etc/init.d/boot.udev

But it work for me.
PM
^
DaronBa
 Posted: Nov 20 2017, 03:14 PM
Quote Post


SLF Newbie


Group: Members
Posts: 1
Member No.: 3948
Joined: 9-November 17









Thanks for sharing the solution. Looks odd, but as long as it works it's fine I guess.
PM
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll