« Return to Thread: FPGA Dev Kit for Linux

Re: FPGA Dev Kit for Linux

by ST-7 :: Rate this Message:

Reply to Author | View in Thread

Hi
> I'm looking for a good FPGA develoment kit for Linux platform.
I am running the xilinx tools ISE and EDK under Debian Sarge, Etch and Sid.
The worst problem is the cable drivers. You need the newest Jungo driver,
and even then i have problems with the usb cable with our XUP board. After
first connecting the board and loading the firmware with fxload the running
board has to be unplugged and plugged in again to get it working.

tar xzf WD802.tar.gz
cd WinDriver/redist
./configure
make
chown a+rw /dev/windrvr6

create file /etc/udev/rules.d/00-xilinxusb.rules
ENV{UDEVD_EVENT}=="1", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0007",  RUN+="/sbin/fxload -v -t fx2  -I /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex -D $env{DEVNAME}"
ENV{UDEVD_EVENT}=="1", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0009",  RUN+="/sbin/fxload -v -t fx2  -I /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex -D $env{DEVNAME}"
ENV{UDEVD_EVENT}=="1", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000b",  RUN+="/sbin/fxload -v -t fx2  -I /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex -D $env{DEVNAME}"
ENV{UDEVD_EVENT}=="1", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000d",  RUN+="/sbin/fxload -v -t fx2  -I /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex -D $env{DEVNAME}"
ENV{UDEVD_EVENT}=="1", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000f",  RUN+="/sbin/fxload -v -t fx2  -I /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex -D $env{DEVNAME}"

ACTION=="add", DEVPATH=="/module/windrvr6", RUN+="/bin/rm -f /dev/windrvr6"
ACTION=="add", DEVPATH=="/module/windrvr6", PROGRAM="/bin/grep windrvr6 /proc/devices" RUN+="/bin/mknod -m 0666 /dev/windrvr6 c %c{1} 0"
ACTION=="remove", DEVPATH=="/module/windrvr6", RUN+="/bin/rm -f /dev/windrvr6"

then call setup_pcusb in $XILINX_ISE/bin/lin/

If s.o. knows how to avoid replugging the XUP board i would be thankful.
ST
_______________________________________________
http://www.opencores.org/mailman/listinfo/cores

 « Return to Thread: FPGA Dev Kit for Linux