fxload fx2lp dev board master
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 17 Aug 2014 20:15:48 +0000 (22:15 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 17 Aug 2014 20:15:48 +0000 (22:15 +0200)
Makefile

index df07f9c..0a22d9a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -63,9 +63,11 @@ ${LIBDIR}/${LIB}:
 \r
 .PHONY: boot\r
 boot: usbjtag.hex\r
-       -test -e /dev/usb_jtag    && /sbin/fxload -D /dev/usb_jtag    -I usbjtag.hex -t fx2\r
-       -test -e /dev/tracii_xl2  && /sbin/fxload -D /dev/tracii_xl2  -I usbjtag.hex -t fx2\r
-       -test -e /dev/xilinx_xpcu && /sbin/fxload -D /dev/xilinx_xpcu -I usbjtag.hex -t fx2\r
+#      -test -e /dev/usb_jtag    && /sbin/fxload -D /dev/usb_jtag    -I usbjtag.hex -t fx2\r
+#      -test -e /dev/tracii_xl2  && /sbin/fxload -D /dev/tracii_xl2  -I usbjtag.hex -t fx2\r
+#      -test -e /dev/xilinx_xpcu && /sbin/fxload -D /dev/xilinx_xpcu -I usbjtag.hex -t fx2\r
+       /sbin/fxload -t fx2lp -I usbjtag.hex -v -D `lsusb -d 04b4:8613 | cut -d: -f1 | awk '{ print "/dev/bus/usb/" $$2 "/" $$4 }'`\r
+       \r
 \r
 REF=/home/kawk/work/xilinx/xtern/xusbdfwu/xusbdfwu-1025.hex\r
 \r