Hi, Does anybody have any luck with running the Xilinx usb-cable driver on a Linux 64 system? I'm having severe problems with this. I have done the steps below but have run out of ideas.
- system is latest opensuse 10.2 with kernel 2.6.18.8-0.5 The xilinx usb cable is detected as: $lsusb Bus 005 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 007 Device 001: ID 0000:0000 Bus 006 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 003: ID 0bda:8187 Realtek Semiconductor Corp. Bus 003 Device 002: ID 03fd:0008 Xilinx, Inc. Bus 003 Device 001: ID 0000:0000
I tried the udev driver, compiled as 32 bits but when preloaded I get ERROR: ld.so: object './libusb-driver.so' from LD_PRELOAD cannot be preloaded: ignored. Compiled as 64 bits gives the same problem. The contents of /etc/udev/rules.d/xusbdfwu.rules is: SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0008", NAME="windrvr6" BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0007", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex -D $TEMPNODE" BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0009", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex -D $TEMPNODE" BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000b", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex -D $TEMPNODE" BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000d", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex -D $TEMPNODE" BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000f", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex -D $TEMPNODE" ACTION=="add", BUS=="usb", SYSFS{idVendor}=="03fd", MODE="666"
And I think this is correct. f I manually run sbin/fxload with the options above and -D /proc/bus/usb/003/002 I can see that the cable is addressed on the spartan 3A board, but afterwards a lsusb shows: Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 007 Device 001: ID 0000:0000 Bus 006 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 005: ID 03fd:0008 Xilinx, Inc. Bus 003 Device 003: ID 0bda:8187 Realtek Semiconductor Corp. Bus 003 Device 001: ID 0000:0000
Any ideas? Anybody have any luck with modifying the makefile of windrvr64 driver to get a decent 2.6.18 kerneldriver or any clue on the LD_PRELOAD problem? Taco