pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46320: misc/urjtag is missing USB cable support



>Number:         46320
>Category:       pkg
>Synopsis:       misc/urjtag is missing USB cable support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 10 13:10:05 +0000 2012
>Originator:     Makoto Fujiwara
>Release:        NetBSD 6.99.4
>Organization:
KINU Corporation
>Environment:
        
        
System: NetBSD modena 6.99.4 NetBSD 6.99.4 (GENERIC) #0: Tue Apr 10 11:02:35 
JST 2012 root@modena:/export/src/src/sys/arch/amd64/compile/obj/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
(cd /usr/pkgsrc/misc/urjtag; make configure)

(1) Before patch
At  configure stage: You will see following lines:
----------
checking for x86_64--netbsd-libftdi-config... no
checking for libftdi-config... no
checking for ftdi_usb_open... no
configure: WARNING: *** libftdi not detected. No support for FTDI-based USB 
JTAG cables via libftdi.
checking for FT_OpenEx in -lftd2xx... no
configure: WARNING: *** libftd2xx not found. No support for FTDI-based USB JTAG 
cables via libftd2xx.
checking for flex... flex
checking lex output file root... lex.yy
-----------
And after install, the supported list of cables are listed as:

t-105@makoto 20:32:57/120410(..misc/urjtag)% jtag
UrJTAG 0.10 #1502
.....(omitted) ...

jtag> help cable

.....(omitted) ...

List of supported cables:
ARCOM         Arcom JTAG Cable
ByteBlaster   Altera ByteBlaster/ByteBlaster II/ByteBlasterMV Parallel Port 
Download Cable
DLC5          Xilinx DLC5 JTAG Parallel Cable III
EA253         ETC EA253 JTAG Cable
EI012         ETC EI012 JTAG Cable
IGLOO         Excelpoint IGLOO JTAG Cable
KeithKoep     Keith & Koep JTAG cable
Lattice       Lattice Parallel Port JTAG Cable
MPCBDM        Mpcbdm JTAG cable
TRITON        Ka-Ro TRITON Starterkit II (PXA255/250) JTAG Cable
WIGGLER       Macraigor Wiggler JTAG Cable
WIGGLER2      Modified (with CPU Reset) WIGGLER JTAG Cable
xpc_int       Xilinx Platform Cable USB internal chain
xpc_ext       Xilinx Platform Cable USB external chain
jlink         Segger/IAR J-Link, Atmel SAM-ICE and others.
usbprog       usbprog with usbprogJTAG firmware
jtag> 
-------------

(2) After patch
With attached patch, the lines at configure changes to
-------------
(ftdi_usb_open becomes ...yes)
-------------
checking for x86_64--netbsd-libftdi-config... no
checking for libftdi-config... /usr/pkg/bin/libftdi-config
checking for ftdi_usb_open... yes
checking for FT_OpenEx in -lftd2xx... no
configure: WARNING: *** libftd2xx not found. No support for FTDI-based USB JTAG 
cables via libftd2xx.
checking for flex... flex
checking lex output file root... lex.yy
--------------

And after install, the supported list of cables are increased:
--------------
t-105@makoto 20:37:52/120410(..misc/urjtag)% jtag                  

UrJTAG 0.10 #1502

.....(omitted) ...

jtag> help cable

.....(omitted) ...

List of supported cables:
ARCOM         Arcom JTAG Cable
ByteBlaster   Altera ByteBlaster/ByteBlaster II/ByteBlasterMV Parallel Port 
Download Cable

UsbBlaster    Altera USB-Blaster Cable
FT2232        Generic FTDI FT2232 Cable
JTAGkey       Amontec JTAGkey (FT2232) Cable
ARM-USB-OCD   Olimex ARM-USB-OCD[-TINY] (FT2232) Cable
gnICE         Analog Devices Blackfin gnICE (FT2232) Cable (EXPERIMENTAL)
OOCDLink-s    OOCDLink-s (FT2232) Cable (EXPERIMENTAL)
Signalyzer    Xverve DT-USB-ST Signalyzer Tool (FT2232) Cable (EXPERIMENTAL)
Turtelizer2   Turtelizer 2 Rev. B (FT2232) Cable (EXPERIMENTAL)
USB-to-JTAG-IF USB to JTAG Interface (FT2232) Cable (EXPERIMENTAL)
Flyswatter    TinCanTools Flyswatter (FT2232) Cable
usbScarab2    KrisTech usbScarabeus2 (FT2232) Cable

DLC5          Xilinx DLC5 JTAG Parallel Cable III
EA253         ETC EA253 JTAG Cable
EI012         ETC EI012 JTAG Cable
IGLOO         Excelpoint IGLOO JTAG Cable
KeithKoep     Keith & Koep JTAG cable
Lattice       Lattice Parallel Port JTAG Cable
MPCBDM        Mpcbdm JTAG cable
TRITON        Ka-Ro TRITON Starterkit II (PXA255/250) JTAG Cable
WIGGLER       Macraigor Wiggler JTAG Cable
WIGGLER2      Modified (with CPU Reset) WIGGLER JTAG Cable
xpc_int       Xilinx Platform Cable USB internal chain
xpc_ext       Xilinx Platform Cable USB external chain
jlink         Segger/IAR J-Link, Atmel SAM-ICE and others.
usbprog       usbprog with usbprogJTAG firmware
jtag> 
-------------
(The blank lines above are added manually)
11 cables are now added Starting from

UsbBlaster    Altera USB-Blaster Cable
To 
usbScarab2    KrisTech usbScarabeus2 (FT2232) Cable


>How-To-Repeat:
        (cd /usr/pkgsrc/misc/urjtag; make package-install; jtag ; cable)
>Fix:
Index: misc/urjtag/Makefile
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/misc/urjtag/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- misc/urjtag/Makefile        9 Aug 2010 19:37:45 -0000       1.4
+++ misc/urjtag/Makefile        10 Apr 2012 11:40:52 -0000
@@ -2,7 +2,7 @@
 #
 
 DISTNAME=      urjtag-0.10
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    misc
 MASTER_SITES=  http://downloads.sourceforge.net/project/urjtag/urjtag/0.10/
 
@@ -23,4 +23,5 @@
 
 .include "../../devel/readline/buildlink3.mk"
 .include "../../devel/libusb/buildlink3.mk"
+.include "../../devel/libftdi/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index