Reply by Ken Ryan June 9, 20072007-06-09
Olaf,

Check out the userspace drivers:

	http://www.rmdir.de/~michael/xilinx/

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

		ken


Olaf wrote:
> 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 > http://www.xilinx.com/xlnx/xil_ans_display.jsp?iLanguageID=1&iCountryID=1&getPagePath=22648 > > Compiling the debian kernel I followed one of the howtos on net > (http://www.falkotimme.com/howtos/debian_kernel2.6_compile/). > > 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 by Olaf June 9, 20072007-06-09
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
http://www.xilinx.com/xlnx/xil_ans_display.jsp?iLanguageID=1&iCountryID=1&getPagePath=22648

Compiling the debian kernel I followed one of the howtos on net
(http://www.falkotimme.com/howtos/debian_kernel2.6_compile/).

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