ports/189469: [update, patch] misc/fxload patch for xilinx.conf devd rules

Bjoern A. Zeeb bzeeb+freebsd+ports at zabbadoz.net
Thu May 8 12:40:00 UTC 2014


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


More information about the freebsd-ports-bugs mailing list