Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2014 12:38:52 GMT
From:      "Bjoern A. Zeeb" <bzeeb+freebsd+ports@zabbadoz.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189469: [update, patch] misc/fxload patch for xilinx.conf devd rules
Message-ID:  <201405081238.s48CcqVB094508@cgiserv.freebsd.org>
Resent-Message-ID: <201405081240.s48Ce0bR046483@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189469
>Category:       ports
>Synopsis:       [update,patch] misc/fxload patch for xilinx.conf devd rules
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 08 12:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Bjoern A. Zeeb
>Release:        10/11
>Organization:
>Environment:
>Description:
Update the Xilinx reference path to a slightly more modern version, which is commonly used currently by one major research project at least.   It's unclear to me (yet) what to do about Vivado.

Adjust the xilinx.conf for devd to do the right thing on my 10/11 FreeBSD system.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

!
! patch for misc/fxload/files/xilinx.conf
!
! Update for slightly more modern Xilinx toolchain
! on a probably slightly more modern FreeBSD.
!
! Submitted by:	bz
!
--- xilinx.conf.orig	2014-04-12 05:01:25.000000000 +0000
+++ xilinx.conf	2014-01-23 15:16:56.000000000 +0000
@@ -12,53 +12,65 @@
 #
 # All configuration variables were taken from:
 #
-#	/compat/linux/opt/Xilinx/11.1/common/bin/lin/xusbdfwu.rules
+#	/compat/linux/opt/Xilinx/13.4/ISE_DS/common/bin/lin/xusbdfwu.rules
 #
 # and adopted accordingly for FreeBSD infrastructure.
 #
 
 options {
-	set X "/compat/linux/opt/Xilinx/11.1/common/bin/lin";
+	set X "/compat/linux/opt/Xilinx/13.4/ISE_DS/common/bin/lin";
 	set F "/usr/local/sbin/fxload -v -t fx2";
 };
 
-attach 100 {
-	device-name "^ugen";
+notify 100 {
+	match "system"		"USB";
+	match "subsystem"	"DEVICE";
+	match "type"		"ATTACH";
 	match "vendor" "0x03fd";
 	match "product" "0x0007";
 	action "$F -I $X/xusbdfwu.hex -D vid=$vendor,pid=$product";
 };
 
-attach 100 {
-	device-name "^ugen";
+notify 100 {
+	match "system"		"USB";
+	match "subsystem"	"DEVICE";
+	match "type"		"ATTACH";
 	match "vendor" "0x03fd";
 	match "product" "0x0009";
 	action "$F -I $X/xusb_xup.hex -D vid=$vendor,pid=$product";
 };
 
-attach 100 {
-	device-name "^ugen";
+notify 100 {
+	match "system"		"USB";
+	match "subsystem"	"DEVICE";
+	match "type"		"ATTACH";
 	match "vendor" "0x03fd";
 	match "product" "0x000d";
 	action "$F -I $X/xusbdfwu.hex -D vid=$vendor,pid=$product";
 };
 
-attach 100 {
-	device-name "^ugen";
+notify 100 {
+	match "system"		"USB";
+	match "subsystem"	"DEVICE";
+	match "type"		"ATTACH";
 	match "vendor" "0x03fd";
 	match "product" "0x000f";
 	action "$F -I $X/xusb_xlp.hex -D vid=$vendor,pid=$product";
 };
 
-attach 100 {
-	device-name "^ugen";
+notify 100 {
+	match "system"		"USB";
+	match "subsystem"	"DEVICE";
+	match "type"		"ATTACH";
 	match "vendor" "0x03fd";
 	match "product" "0x0013";
 	action "$F -I $X/xusb_xp2.hex -D vid=$vendor,pid=$product";
 };
 
-attach 100 {
-	device-name "^ugen";
+notify 100 {
+	match "system"		"USB";
+	match "subsystem"	"DEVICE";
+	match "type"		"ATTACH";
 	match "vendor" "0x03fd";
 	match "product" "0x0015";
 	action "$F -I $X/xusb_xse.hex -D vid=$vendor,pid=$product";


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405081238.s48CcqVB094508>