| AR# |
18612 |
| Part |
Config-iMPACT |
| Last Modified |
2007-08-23 00:00:00.0 |
| Status |
Active |
| Keywords |
operation, windrvr6.o, mismatch, compiled, cable, parallel, driver, install |
Description
Keywords: operation, windrvr6.o, mismatch, compiled, cable, parallel, driver, install
Before a design tool can communicate with any Xilinx cable (e.g., Platform Cable USB, Parallel Cable IV, etc.), Xilinx cable drivers must be recompiled for the host system's Linux kernel version and then installed. Otherwise, the cable does not connect and the design tool generates one or more of the following error messages:
"Module windrvr6 is not loaded. Please reinstall the cable drivers. See Answer Record 18612."
"Please update to WinDriver version 8.02 or later. See Answer Record 18612."
"/lib/modules/misc/windrvr6.o: kernel-module version mismatch
/lib/modules/misc/windrvr6.o was compiled for kernel version xxxxxx, while this kernel is version xxxxxx"
"insmod: error inserting lib/modules/misc/windrvr6.o: -1 Invalid module format"
Solution
Xilinx provides installer software to simplify cable driver recompilation and installation on Linux systems. Follow the instructions below to download and run the software.
Important notes about the installer:
- Always use a current version of the installer, which can be downloaded from the Xilinx ftp site (see Step 3, below).
- The fxload package is required when using the Platform Cable USB. If /sbin/fxload is not present, download and install the package.
- The kernel source files must be installed in the local machine where the drivers will be built.
- The driver installation procedure in this answer record applies to both 32-bit and 64-bit Linux operating systems.
- 32-bit Linux support for Parallel Cable IV and MultiPro Cable start with version 6.1i SP3 of Xilinx design tools.
- 32-bit Linux support for Xilinx Platform Cable USB starts with version 7.1i of Xilinx design tools.
- 64-bit Linux support for Xilinx Platform Cable USB, Parallel Cable IV and MultiPro Cable start with version 9.1i of Xilinx design tools.
Driver installation:
NOTE: You must have root permissions to perform this installation.
1. Disconnect the cable and, if necessary, close all applications that use the cable.
2. Log in as a root user and open a shell or terminal console.
3. Download the install_drivers.tar.gz file from the Xilinx ftp site to a local drive of the machine where the cable will be used.
<
ftp://ftp.xilinx.com/pub/utilities/fpga/install_drivers.tar.gz>.
4. Extract the install_drivers script and its support files by typing:
tar xzvf install_drivers.tar.gz
This will create a directory named install_drivers in your current directory.
5. Navigate to the "install_drivers" directory by typing: cd install_drivers.
6. Run the script by typing: ./install_drivers.
7. Change permissions on the USB / PC4 driver by typing: chmod 666 /dev/windrvr6.
NOTE: By default, access to windrvr6 is restricted to root only. This step grants group and user access to the driver. However, if you reboot your system, access to the driver will revert back to root-only and you will have to repeat step #7 (you do not have to rerun the installation script).
8. Reconnect the cable.