xilinx windrv install on linux

Hi,

since I want to start with my brand new xilinx Spartan 3e board on linux I followed the Answer Record #22648 for the linux 2.6.21 kernel and ISE9.1 at

formatting link

Compiling the debian kernel I followed one of the howtos on net

formatting link

Anyway, compiling of the driver failed:

tuxler:/usr/src/xilinx-usb-driver/install_drivers# ./install_drivers

--Kernel version = 2.6.21-1-686.

--Arch = i686.

--Installer version = 1029

--User has root permission.

--File /lib/modules/misc/install_windrvr6 does not exist.

--Installing windrvr6--------------------------------------------- loading cache ./config.cache checking for cpu architecture... i386 checking for WinDriver root directory... /usr/src/xilinx-usb-driver/install_drivers/linux_drivers/windriver32 checking for linux kernel source... found at /lib/modules/2.6.21-1-686/build checking for lib directory... /usr/lib checking which directories to include...

-I/lib/modules/2.6.21-1-686/build/include

-I/lib/modules/2.6.21-1-686/build/include/asm/mach-default checking linux kernel version... ./configure: line 651: test: too many arguments int init_module(void) { char *jsver = UTS_RELEASE; return 0; } checking for modules installation directory... ./configure: line 659: test: too many arguments /lib/modules/misc checking for gcc kernel version... 4 checking output directory... LINUX.int init_module(void) { char *jsver = UTS_RELEASE; return 0; }.i386 checking target... LINUX.int init_module(void) { char *jsver = UTS_RELEASE; return 0; }.i386/windrvr6.o checking for usb support... yes checking for right linked object... windrvr_gcc_v3.a creating ./config.status creating makefile makefile:25: *** missing separator. Schluss. makefile:25: *** missing separator. Schluss.

--make windrvr rc = 2

--install_windrvr6 rc = 2

--Installing USB drivers------------------------------------------

--Using udev.

--File /usr/share/xusbdfwu.hex exists.

--File /usr/share/xusbdfwu.hex version = 1025

--File xusbdfwu.hex exists.

--File xusbdfwu.hex version = 1025

--File xusbdfwu.hex is already updated.

--File /etc/udev/rules.d/xusbdfwu.rules exists.

--File /etc/udev/rules.d/xusbdfwu.rules version = 0001

--File xusbdfwu.rules exists.

--File xusbdfwu.rules version = 0001

--File xusbdfwu.rules is already updated.

--File /sbin/fxload exists.

--install_pcusb rc = 0

--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.

Any ideas what is going on here?

Thanks Olaf

Reply to
Olaf
Loading thread data ...

Olaf,

Check out the userspace drivers:

formatting link

I think you can save yourself a lot of grief, especially every time you update your kernel...

ken

Olaf wrote:

formatting link

Reply to
Ken Ryan

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.