[UPDATE] devel/openocd-0.9.0 (again)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[UPDATE] devel/openocd-0.9.0 (again)

SASANO Takayoshi
Hello,

I send this patch to ports@ on 3-Jan-2016
(see https://marc.info/?l=openbsd-ports&m=145181327024296&w=2 ).

About one year will be passed but there is no response to commit or not,
so I send this patch again.

If there is no problem, I will commit.

Best Regards,
--
SASANO Takayoshi <[hidden email]>

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/openocd/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile 16 Sep 2014 15:42:36 -0000 1.11
+++ Makefile 30 Dec 2016 15:34:50 -0000
@@ -2,12 +2,10 @@
 
 COMMENT = Open On-Chip Debugging
 
-DISTNAME = openocd-0.6.1
-REVISION = 1
+DISTNAME = openocd-0.9.0
+REVISION = 0
 CATEGORIES = devel
 
-SHARED_LIBS +=  openocd 1.0 # unknown
-
 HOMEPAGE = http://openocd.sourceforge.net/
 
 MAINTAINER = Sylvestre Gallon <[hidden email]>
@@ -23,16 +21,22 @@ EXTRACT_SUFX = .tar.bz2
 CONFIGURE_STYLE = gnu
 CONFIGURE_ARGS = --disable-werror \
  --disable-wextra \
- --enable-arm-jtag-ew \
+ --enable-armjtagew \
  --enable-at91rm9200 \
  --enable-ep93xx \
- --enable-ft2232_libftdi \
+ --enable-ftdi \
  --enable-jlink \
  --enable-presto_libftdi \
  --enable-rlink \
  --enable-usbprog \
  --enable-vsllink \
  --enable-ulink \
+ --enable-stlink \
+ --enable-ti-icdi \
+ --enable-usb-blaster-2 \
+ --enable-osbdm \
+ --enable-opendous \
+ --enable-aice \
  --enable-buspirate \
  --disable-internal-jimtcl
 
@@ -43,6 +47,7 @@ LIB_DEPENDS = devel/libftdi>=0.20 \
  lang/jimtcl>=0.75
 
 USE_GMAKE = Yes
+USE_LIBTOOL = gnu
 NO_TEST = Yes
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/openocd/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo 7 Feb 2013 00:02:30 -0000 1.4
+++ distinfo 30 Dec 2016 15:34:50 -0000
@@ -1,2 +1,2 @@
-SHA256 (openocd-0.6.1.tar.bz2) = 9MTMdEWtec+6G7JCCOecZu353AxGs8j8o5H05ByULys=
-SIZE (openocd-0.6.1.tar.bz2) = 3431071
+SHA256 (openocd-0.9.0.tar.bz2) = g3BCrJoVa5Njy/+h/Nr0Y7+4OkkzGt31LmMRlkK19EM=
+SIZE (openocd-0.9.0.tar.bz2) = 3873090
Index: patches/patch-src_flash_mflash_c
===================================================================
RCS file: /cvs/ports/devel/openocd/patches/patch-src_flash_mflash_c,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_flash_mflash_c
--- patches/patch-src_flash_mflash_c 16 Sep 2014 15:42:36 -0000 1.1
+++ patches/patch-src_flash_mflash_c 30 Dec 2016 15:34:50 -0000
@@ -2,14 +2,14 @@ $OpenBSD: patch-src_flash_mflash_c,v 1.1
 
 Fix bad bound.
 
---- src/flash/mflash.c.orig Fri Sep  5 19:36:35 2014
-+++ src/flash/mflash.c Fri Sep  5 19:43:06 2014
+--- src/flash/mflash.c.orig Sun Mar 30 01:55:12 2014
++++ src/flash/mflash.c Thu Dec 31 05:08:55 2015
 @@ -1161,7 +1161,7 @@ static void mg_gen_ataid(mg_io_type_drv_info *pSegIdDr
- memset((void *)pSegIdDrvInfo->vendor_uniq_bytes, 0x00, 62);
+ memset(pSegIdDrvInfo->vendor_uniq_bytes, 0x00, 62);
  /* CFA power mode 1 support in maximum 200mA */
  pSegIdDrvInfo->cfa_pwr_mode                     = 0x0100;
-- memset((void *)pSegIdDrvInfo->reserved7, 0x00, 190);
-+ memset((void *)pSegIdDrvInfo->reserved7, 0x00, 186);
+- memset(pSegIdDrvInfo->reserved7, 0x00, 190);
++ memset(pSegIdDrvInfo->reserved7, 0x00, 186);
  }
 
  static int mg_storage_config(void)
Index: patches/patch-src_helper_command_c
===================================================================
RCS file: patches/patch-src_helper_command_c
diff -N patches/patch-src_helper_command_c
--- patches/patch-src_helper_command_c 16 Sep 2014 15:42:36 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_helper_command_c,v 1.1 2014/09/16 15:42:36 stu Exp $
---- src/helper/command.c.orig Sun Oct  7 04:15:36 2012
-+++ src/helper/command.c Fri Sep  5 09:00:43 2014
-@@ -368,7 +368,7 @@ static int register_command_handler(struct command_con
-
- LOG_DEBUG("registering '%s'...", ocd_name);
-
-- Jim_CmdProc func = c->handler ? &script_command : &command_unknown;
-+ Jim_CmdProc *func = c->handler ? &script_command : &command_unknown;
- int retval = Jim_CreateCommand(interp, ocd_name, func, c, NULL);
- free((void *)ocd_name);
- if (JIM_OK != retval)
Index: patches/patch-src_helper_command_h
===================================================================
RCS file: patches/patch-src_helper_command_h
diff -N patches/patch-src_helper_command_h
--- patches/patch-src_helper_command_h 16 Sep 2014 15:42:36 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
-$OpenBSD: patch-src_helper_command_h,v 1.1 2014/09/16 15:42:36 stu Exp $
---- src/helper/command.h.orig Sun Oct  7 04:15:54 2012
-+++ src/helper/command.h Fri Sep  5 08:59:17 2014
-@@ -169,7 +169,7 @@ struct command {
- struct command *parent;
- struct command *children;
- command_handler_t handler;
-- Jim_CmdProc jim_handler;
-+ Jim_CmdProc *jim_handler;
- void *jim_handler_data;
- enum command_mode mode;
- struct command *next;
-@@ -205,7 +205,7 @@ char *command_name(struct command *c, char delim);
- struct command_registration {
- const char *name;
- command_handler_t handler;
-- Jim_CmdProc jim_handler;
-+ Jim_CmdProc *jim_handler;
- void *jim_handler_data;
- enum command_mode mode;
- const char *help;
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/openocd/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST 7 Feb 2013 00:02:30 -0000 1.4
+++ pkg/PLIST 30 Dec 2016 15:34:50 -0000
@@ -1,27 +1,27 @@
 @comment $OpenBSD: PLIST,v 1.4 2013/02/07 00:02:30 sthen Exp $
 @bin bin/openocd
 @info info/openocd.info
-lib/libopenocd.a
-lib/libopenocd.la
-@lib lib/libopenocd.so.${LIBopenocd_VERSION}
-lib/openocd/
-lib/openocd/OpenULINK/
-lib/openocd/OpenULINK/ulink_firmware.hex
 @man man/man1/openocd.1
 share/openocd/
+share/openocd/OpenULINK/
+share/openocd/OpenULINK/ulink_firmware.hex
 share/openocd/contrib/
+share/openocd/contrib/99-openocd.rules
 share/openocd/contrib/libdcc/
 share/openocd/contrib/libdcc/README
 share/openocd/contrib/libdcc/dcc_stdio.c
 share/openocd/contrib/libdcc/dcc_stdio.h
 share/openocd/contrib/libdcc/example.c
-share/openocd/contrib/openocd.udev
 share/openocd/scripts/
 share/openocd/scripts/bitsbytes.tcl
 share/openocd/scripts/board/
 share/openocd/scripts/board/actux3.cfg
+share/openocd/scripts/board/alphascale_asm9260_ek.cfg
+share/openocd/scripts/board/altera_sockit.cfg
 share/openocd/scripts/board/am3517evm.cfg
 share/openocd/scripts/board/arm_evaluator7t.cfg
+share/openocd/scripts/board/asus-rt-n16.cfg
+share/openocd/scripts/board/asus-rt-n66u.cfg
 share/openocd/scripts/board/at91cap7a-stk-sdram.cfg
 share/openocd/scripts/board/at91eb40a.cfg
 share/openocd/scripts/board/at91rm9200-dk.cfg
@@ -36,30 +36,52 @@ share/openocd/scripts/board/atmel_sam3n_
 share/openocd/scripts/board/atmel_sam3s_ek.cfg
 share/openocd/scripts/board/atmel_sam3u_ek.cfg
 share/openocd/scripts/board/atmel_sam3x_ek.cfg
+share/openocd/scripts/board/atmel_sam4e_ek.cfg
+share/openocd/scripts/board/atmel_sam4l8_xplained_pro.cfg
 share/openocd/scripts/board/atmel_sam4s_ek.cfg
+share/openocd/scripts/board/atmel_sam4s_xplained_pro.cfg
+share/openocd/scripts/board/atmel_samd20_xplained_pro.cfg
+share/openocd/scripts/board/atmel_samd21_xplained_pro.cfg
+share/openocd/scripts/board/atmel_samg53_xplained_pro.cfg
+share/openocd/scripts/board/atmel_saml21_xplained_pro.cfg
+share/openocd/scripts/board/atmel_samr21_xplained_pro.cfg
 share/openocd/scripts/board/balloon3-cpu.cfg
+share/openocd/scripts/board/bcm28155_ap.cfg
+share/openocd/scripts/board/bt-homehubv1.cfg
 share/openocd/scripts/board/colibri.cfg
 share/openocd/scripts/board/crossbow_tech_imote2.cfg
 share/openocd/scripts/board/csb337.cfg
 share/openocd/scripts/board/csb732.cfg
 share/openocd/scripts/board/da850evm.cfg
 share/openocd/scripts/board/digi_connectcore_wi-9c.cfg
+share/openocd/scripts/board/digilent_zedboard.cfg
 share/openocd/scripts/board/diolan_lpc4350-db1.cfg
+share/openocd/scripts/board/dk-tm4c129.cfg
 share/openocd/scripts/board/dm355evm.cfg
 share/openocd/scripts/board/dm365evm.cfg
 share/openocd/scripts/board/dm6446evm.cfg
+share/openocd/scripts/board/dp_busblaster_v3.cfg
 share/openocd/scripts/board/efikamx.cfg
+share/openocd/scripts/board/efm32.cfg
 share/openocd/scripts/board/eir.cfg
 share/openocd/scripts/board/ek-lm3s1968.cfg
 share/openocd/scripts/board/ek-lm3s3748.cfg
 share/openocd/scripts/board/ek-lm3s6965.cfg
 share/openocd/scripts/board/ek-lm3s811-revb.cfg
 share/openocd/scripts/board/ek-lm3s811.cfg
+share/openocd/scripts/board/ek-lm3s8962.cfg
 share/openocd/scripts/board/ek-lm3s9b9x.cfg
+share/openocd/scripts/board/ek-lm3s9d92.cfg
+share/openocd/scripts/board/ek-lm4f120xl.cfg
 share/openocd/scripts/board/ek-lm4f232.cfg
+share/openocd/scripts/board/ek-tm4c123gxl.cfg
+share/openocd/scripts/board/ek-tm4c1294xl.cfg
 share/openocd/scripts/board/embedded-artists_lpc2478-32.cfg
 share/openocd/scripts/board/ethernut3.cfg
+share/openocd/scripts/board/frdm-kl25z.cfg
+share/openocd/scripts/board/frdm-kl46z.cfg
 share/openocd/scripts/board/glyn_tonga2.cfg
+share/openocd/scripts/board/gumstix-aerocore.cfg
 share/openocd/scripts/board/hammer.cfg
 share/openocd/scripts/board/hilscher_nxdb500sys.cfg
 share/openocd/scripts/board/hilscher_nxeb500hmi.cfg
@@ -80,21 +102,31 @@ share/openocd/scripts/board/imx27lnst.cf
 share/openocd/scripts/board/imx28evk.cfg
 share/openocd/scripts/board/imx31pdk.cfg
 share/openocd/scripts/board/imx35pdk.cfg
+share/openocd/scripts/board/imx53-m53evk.cfg
 share/openocd/scripts/board/imx53loco.cfg
 share/openocd/scripts/board/keil_mcb1700.cfg
 share/openocd/scripts/board/keil_mcb2140.cfg
 share/openocd/scripts/board/kwikstik.cfg
+share/openocd/scripts/board/linksys-wrt54gl.cfg
 share/openocd/scripts/board/linksys_nslu2.cfg
 share/openocd/scripts/board/lisa-l.cfg
 share/openocd/scripts/board/logicpd_imx27.cfg
+share/openocd/scripts/board/lpc1850_spifi_generic.cfg
+share/openocd/scripts/board/lpc4350_spifi_generic.cfg
 share/openocd/scripts/board/lubbock.cfg
+share/openocd/scripts/board/mbed-lpc11u24.cfg
+share/openocd/scripts/board/mbed-lpc1768.cfg
 share/openocd/scripts/board/mcb1700.cfg
 share/openocd/scripts/board/microchip_explorer16.cfg
 share/openocd/scripts/board/mini2440.cfg
 share/openocd/scripts/board/mini6410.cfg
+share/openocd/scripts/board/nds32_xc5.cfg
+share/openocd/scripts/board/netgear-dg834v3.cfg
+share/openocd/scripts/board/nordic_nrf51822_mkit.cfg
 share/openocd/scripts/board/olimex_LPC2378STK.cfg
 share/openocd/scripts/board/olimex_lpc_h2148.cfg
 share/openocd/scripts/board/olimex_sam7_ex256.cfg
+share/openocd/scripts/board/olimex_sam7_la2.cfg
 share/openocd/scripts/board/olimex_sam9_l9260.cfg
 share/openocd/scripts/board/olimex_stm32_h103.cfg
 share/openocd/scripts/board/olimex_stm32_h107.cfg
@@ -102,23 +134,32 @@ share/openocd/scripts/board/olimex_stm32
 share/openocd/scripts/board/omap2420_h4.cfg
 share/openocd/scripts/board/open-bldc.cfg
 share/openocd/scripts/board/openrd.cfg
+share/openocd/scripts/board/or1k_generic.cfg
 share/openocd/scripts/board/osk5912.cfg
 share/openocd/scripts/board/phone_se_j100i.cfg
 share/openocd/scripts/board/phytec_lpc3250.cfg
 share/openocd/scripts/board/pic-p32mx.cfg
 share/openocd/scripts/board/propox_mmnet1001.cfg
 share/openocd/scripts/board/pxa255_sst.cfg
+share/openocd/scripts/board/quark_x10xx_board.cfg
 share/openocd/scripts/board/redbee.cfg
 share/openocd/scripts/board/rsc-w910.cfg
 share/openocd/scripts/board/sheevaplug.cfg
 share/openocd/scripts/board/smdk6410.cfg
+share/openocd/scripts/board/spansion_sk-fm4-176l-s6e2cc.cfg
 share/openocd/scripts/board/spear300evb.cfg
 share/openocd/scripts/board/spear300evb_mod.cfg
 share/openocd/scripts/board/spear310evb20.cfg
 share/openocd/scripts/board/spear310evb20_mod.cfg
 share/openocd/scripts/board/spear320cpu.cfg
 share/openocd/scripts/board/spear320cpu_mod.cfg
+share/openocd/scripts/board/st_nucleo_f0.cfg
+share/openocd/scripts/board/st_nucleo_f103rb.cfg
+share/openocd/scripts/board/st_nucleo_f3.cfg
+share/openocd/scripts/board/st_nucleo_f4.cfg
+share/openocd/scripts/board/st_nucleo_l1.cfg
 share/openocd/scripts/board/steval_pcc010.cfg
+share/openocd/scripts/board/stm320518_eval.cfg
 share/openocd/scripts/board/stm320518_eval_stlink.cfg
 share/openocd/scripts/board/stm32100b_eval.cfg
 share/openocd/scripts/board/stm3210b_eval.cfg
@@ -128,22 +169,35 @@ share/openocd/scripts/board/stm3220g_eva
 share/openocd/scripts/board/stm3220g_eval_stlink.cfg
 share/openocd/scripts/board/stm3241g_eval.cfg
 share/openocd/scripts/board/stm3241g_eval_stlink.cfg
+share/openocd/scripts/board/stm32429i_eval.cfg
+share/openocd/scripts/board/stm32429i_eval_stlink.cfg
+share/openocd/scripts/board/stm32439i_eval.cfg
+share/openocd/scripts/board/stm32439i_eval_stlink.cfg
 share/openocd/scripts/board/stm32f0discovery.cfg
+share/openocd/scripts/board/stm32f334discovery.cfg
 share/openocd/scripts/board/stm32f3discovery.cfg
+share/openocd/scripts/board/stm32f429discovery.cfg
 share/openocd/scripts/board/stm32f4discovery.cfg
+share/openocd/scripts/board/stm32l0discovery.cfg
 share/openocd/scripts/board/stm32ldiscovery.cfg
 share/openocd/scripts/board/stm32vldiscovery.cfg
 share/openocd/scripts/board/str910-eval.cfg
 share/openocd/scripts/board/telo.cfg
+share/openocd/scripts/board/ti-cc3200-launchxl.cfg
 share/openocd/scripts/board/ti_am335xevm.cfg
+share/openocd/scripts/board/ti_am437x_idk.cfg
+share/openocd/scripts/board/ti_am43xx_evm.cfg
 share/openocd/scripts/board/ti_beagleboard.cfg
 share/openocd/scripts/board/ti_beagleboard_xm.cfg
 share/openocd/scripts/board/ti_beaglebone.cfg
 share/openocd/scripts/board/ti_blaze.cfg
 share/openocd/scripts/board/ti_pandaboard.cfg
 share/openocd/scripts/board/ti_pandaboard_es.cfg
+share/openocd/scripts/board/ti_tmdx570ls20susb.cfg
+share/openocd/scripts/board/ti_tmdx570ls31usb.cfg
 share/openocd/scripts/board/topas910.cfg
 share/openocd/scripts/board/topasa900.cfg
+share/openocd/scripts/board/tp-link_tl-mr3020.cfg
 share/openocd/scripts/board/twr-k60f120m.cfg
 share/openocd/scripts/board/twr-k60n512.cfg
 share/openocd/scripts/board/tx25_stk5.cfg
@@ -154,6 +208,12 @@ share/openocd/scripts/board/verdex.cfg
 share/openocd/scripts/board/voipac.cfg
 share/openocd/scripts/board/voltcraft_dso-3062c.cfg
 share/openocd/scripts/board/x300t.cfg
+share/openocd/scripts/board/xmc-2go.cfg
+share/openocd/scripts/board/xmc1100-boot-kit.cfg
+share/openocd/scripts/board/xmc4200-application-kit-actuator.cfg
+share/openocd/scripts/board/xmc4500-application-kit-general.cfg
+share/openocd/scripts/board/xmc4500-application-kit-sdram.cfg
+share/openocd/scripts/board/xmc4500-relax.cfg
 share/openocd/scripts/board/zy1000.cfg
 share/openocd/scripts/chip/
 share/openocd/scripts/chip/atmel/
@@ -202,6 +262,7 @@ share/openocd/scripts/cpu/arm/arm966.tcl
 share/openocd/scripts/cpu/arm/cortex_m3.tcl
 share/openocd/scripts/interface/
 share/openocd/scripts/interface/altera-usb-blaster.cfg
+share/openocd/scripts/interface/altera-usb-blaster2.cfg
 share/openocd/scripts/interface/arm-jtag-ew.cfg
 share/openocd/scripts/interface/at91rm9200.cfg
 share/openocd/scripts/interface/axm0432.cfg
@@ -211,6 +272,7 @@ share/openocd/scripts/interface/calao-us
 share/openocd/scripts/interface/calao-usb-a9260-c02.cfg
 share/openocd/scripts/interface/calao-usb-a9260.cfg
 share/openocd/scripts/interface/chameleon.cfg
+share/openocd/scripts/interface/cmsis-dap.cfg
 share/openocd/scripts/interface/cortino.cfg
 share/openocd/scripts/interface/digilent-hs1.cfg
 share/openocd/scripts/interface/dlp-usb1232h.cfg
@@ -226,12 +288,15 @@ share/openocd/scripts/interface/ftdi/axm
 share/openocd/scripts/interface/ftdi/calao-usb-a9260-c01.cfg
 share/openocd/scripts/interface/ftdi/calao-usb-a9260-c02.cfg
 share/openocd/scripts/interface/ftdi/cortino.cfg
+share/openocd/scripts/interface/ftdi/digilent_jtag_smt2.cfg
 share/openocd/scripts/interface/ftdi/dlp-usb1232h.cfg
 share/openocd/scripts/interface/ftdi/dp_busblaster.cfg
+share/openocd/scripts/interface/ftdi/dp_busblaster_kt-link.cfg
 share/openocd/scripts/interface/ftdi/flossjtag-noeeprom.cfg
 share/openocd/scripts/interface/ftdi/flossjtag.cfg
 share/openocd/scripts/interface/ftdi/flyswatter.cfg
 share/openocd/scripts/interface/ftdi/flyswatter2.cfg
+share/openocd/scripts/interface/ftdi/gw16042.cfg
 share/openocd/scripts/interface/ftdi/hilscher_nxhx10_etm.cfg
 share/openocd/scripts/interface/ftdi/hilscher_nxhx500_etm.cfg
 share/openocd/scripts/interface/ftdi/hilscher_nxhx500_re.cfg
@@ -240,6 +305,7 @@ share/openocd/scripts/interface/ftdi/hil
 share/openocd/scripts/interface/ftdi/hitex_lpc1768stick.cfg
 share/openocd/scripts/interface/ftdi/hitex_str9-comstick.cfg
 share/openocd/scripts/interface/ftdi/icebear.cfg
+share/openocd/scripts/interface/ftdi/iotlab-usb.cfg
 share/openocd/scripts/interface/ftdi/jtag-lock-pick_tiny_2.cfg
 share/openocd/scripts/interface/ftdi/jtagkey.cfg
 share/openocd/scripts/interface/ftdi/jtagkey2.cfg
@@ -249,23 +315,31 @@ share/openocd/scripts/interface/ftdi/lis
 share/openocd/scripts/interface/ftdi/luminary-icdi.cfg
 share/openocd/scripts/interface/ftdi/luminary-lm3s811.cfg
 share/openocd/scripts/interface/ftdi/luminary.cfg
+share/openocd/scripts/interface/ftdi/m53evk.cfg
 share/openocd/scripts/interface/ftdi/minimodule.cfg
 share/openocd/scripts/interface/ftdi/neodb.cfg
 share/openocd/scripts/interface/ftdi/ngxtech.cfg
+share/openocd/scripts/interface/ftdi/olimex-arm-jtag-swd.cfg
 share/openocd/scripts/interface/ftdi/olimex-arm-usb-ocd-h.cfg
 share/openocd/scripts/interface/ftdi/olimex-arm-usb-ocd.cfg
 share/openocd/scripts/interface/ftdi/olimex-arm-usb-tiny-h.cfg
 share/openocd/scripts/interface/ftdi/olimex-jtag-tiny.cfg
 share/openocd/scripts/interface/ftdi/oocdlink.cfg
+share/openocd/scripts/interface/ftdi/opendous_ftdi.cfg
 share/openocd/scripts/interface/ftdi/openocd-usb-hs.cfg
 share/openocd/scripts/interface/ftdi/openocd-usb.cfg
 share/openocd/scripts/interface/ftdi/openrd.cfg
 share/openocd/scripts/interface/ftdi/redbee-econotag.cfg
 share/openocd/scripts/interface/ftdi/redbee-usb.cfg
+share/openocd/scripts/interface/ftdi/rowley-cc-arm-swd.cfg
 share/openocd/scripts/interface/ftdi/sheevaplug.cfg
 share/openocd/scripts/interface/ftdi/signalyzer-lite.cfg
 share/openocd/scripts/interface/ftdi/signalyzer.cfg
 share/openocd/scripts/interface/ftdi/stm32-stick.cfg
+share/openocd/scripts/interface/ftdi/swd-resistor-hack.cfg
+share/openocd/scripts/interface/ftdi/ti-icdi.cfg
+share/openocd/scripts/interface/ftdi/tumpa-lite.cfg
+share/openocd/scripts/interface/ftdi/tumpa.cfg
 share/openocd/scripts/interface/ftdi/turtelizer2-revB.cfg
 share/openocd/scripts/interface/ftdi/turtelizer2-revC.cfg
 share/openocd/scripts/interface/ftdi/vpaclink.cfg
@@ -279,6 +353,7 @@ share/openocd/scripts/interface/hitex_st
 share/openocd/scripts/interface/icebear.cfg
 share/openocd/scripts/interface/jlink.cfg
 share/openocd/scripts/interface/jtag-lock-pick_tiny_2.cfg
+share/openocd/scripts/interface/jtag_vpi.cfg
 share/openocd/scripts/interface/jtagkey-tiny.cfg
 share/openocd/scripts/interface/jtagkey.cfg
 share/openocd/scripts/interface/jtagkey2.cfg
@@ -289,6 +364,7 @@ share/openocd/scripts/interface/luminary
 share/openocd/scripts/interface/luminary-lm3s811.cfg
 share/openocd/scripts/interface/luminary.cfg
 share/openocd/scripts/interface/minimodule.cfg
+share/openocd/scripts/interface/nds32-aice.cfg
 share/openocd/scripts/interface/neodb.cfg
 share/openocd/scripts/interface/ngxtech.cfg
 share/openocd/scripts/interface/olimex-arm-usb-ocd-h.cfg
@@ -297,12 +373,15 @@ share/openocd/scripts/interface/olimex-a
 share/openocd/scripts/interface/olimex-jtag-tiny.cfg
 share/openocd/scripts/interface/oocdlink.cfg
 share/openocd/scripts/interface/opendous.cfg
+share/openocd/scripts/interface/opendous_ftdi.cfg
+share/openocd/scripts/interface/openjtag.cfg
 share/openocd/scripts/interface/openocd-usb-hs.cfg
 share/openocd/scripts/interface/openocd-usb.cfg
 share/openocd/scripts/interface/openrd.cfg
 share/openocd/scripts/interface/osbdm.cfg
 share/openocd/scripts/interface/parport.cfg
 share/openocd/scripts/interface/parport_dlc5.cfg
+share/openocd/scripts/interface/raspberrypi-native.cfg
 share/openocd/scripts/interface/redbee-econotag.cfg
 share/openocd/scripts/interface/redbee-usb.cfg
 share/openocd/scripts/interface/rlink.cfg
@@ -312,8 +391,11 @@ share/openocd/scripts/interface/signalyz
 share/openocd/scripts/interface/signalyzer-lite.cfg
 share/openocd/scripts/interface/signalyzer.cfg
 share/openocd/scripts/interface/stlink-v1.cfg
+share/openocd/scripts/interface/stlink-v2-1.cfg
 share/openocd/scripts/interface/stlink-v2.cfg
 share/openocd/scripts/interface/stm32-stick.cfg
+share/openocd/scripts/interface/sysfsgpio-raspberrypi.cfg
+share/openocd/scripts/interface/ti-icdi.cfg
 share/openocd/scripts/interface/turtelizer2.cfg
 share/openocd/scripts/interface/ulink.cfg
 share/openocd/scripts/interface/usb-jtag.cfg
@@ -325,10 +407,15 @@ share/openocd/scripts/mem_helper.tcl
 share/openocd/scripts/memory.tcl
 share/openocd/scripts/mmr_helpers.tcl
 share/openocd/scripts/target/
+share/openocd/scripts/target/1986ве1т.cfg
 share/openocd/scripts/target/aduc702x.cfg
+share/openocd/scripts/target/alphascale_asm9260t.cfg
+share/openocd/scripts/target/altera_fpgasoc.cfg
 share/openocd/scripts/target/am335x.cfg
+share/openocd/scripts/target/am437x.cfg
 share/openocd/scripts/target/amdm37x.cfg
 share/openocd/scripts/target/ar71xx.cfg
+share/openocd/scripts/target/armada370.cfg
 share/openocd/scripts/target/at32ap7000.cfg
 share/openocd/scripts/target/at91r40008.cfg
 share/openocd/scripts/target/at91rm9200.cfg
@@ -346,7 +433,10 @@ share/openocd/scripts/target/at91sam3u4c
 share/openocd/scripts/target/at91sam3u4e.cfg
 share/openocd/scripts/target/at91sam3uxx.cfg
 share/openocd/scripts/target/at91sam4XXX.cfg
+share/openocd/scripts/target/at91sam4lXX.cfg
 share/openocd/scripts/target/at91sam4sXX.cfg
+share/openocd/scripts/target/at91sam4sd32x.cfg
+share/openocd/scripts/target/at91sam7a2.cfg
 share/openocd/scripts/target/at91sam7se512.cfg
 share/openocd/scripts/target/at91sam7sx.cfg
 share/openocd/scripts/target/at91sam7x256.cfg
@@ -360,22 +450,40 @@ share/openocd/scripts/target/at91sam9g10
 share/openocd/scripts/target/at91sam9g20.cfg
 share/openocd/scripts/target/at91sam9g45.cfg
 share/openocd/scripts/target/at91sam9rl.cfg
+share/openocd/scripts/target/at91samdXX.cfg
+share/openocd/scripts/target/at91samg5x.cfg
+share/openocd/scripts/target/atheros_ar9331.cfg
 share/openocd/scripts/target/atmega128.cfg
 share/openocd/scripts/target/avr32.cfg
+share/openocd/scripts/target/bcm281xx.cfg
+share/openocd/scripts/target/bcm4706.cfg
+share/openocd/scripts/target/bcm4718.cfg
+share/openocd/scripts/target/bcm47xx.cfg
+share/openocd/scripts/target/bcm5352e.cfg
+share/openocd/scripts/target/bcm6348.cfg
 share/openocd/scripts/target/c100.cfg
 share/openocd/scripts/target/c100config.tcl
 share/openocd/scripts/target/c100helper.tcl
 share/openocd/scripts/target/c100regs.tcl
+share/openocd/scripts/target/cc2538.cfg
+share/openocd/scripts/target/cc26xx.cfg
+share/openocd/scripts/target/cc32xx.cfg
 share/openocd/scripts/target/cs351x.cfg
 share/openocd/scripts/target/davinci.cfg
 share/openocd/scripts/target/dragonite.cfg
 share/openocd/scripts/target/dsp56321.cfg
 share/openocd/scripts/target/dsp568013.cfg
 share/openocd/scripts/target/dsp568037.cfg
+share/openocd/scripts/target/efm32.cfg
+share/openocd/scripts/target/efm32_stlink.cfg
+share/openocd/scripts/target/em357.cfg
+share/openocd/scripts/target/em358.cfg
 share/openocd/scripts/target/epc9301.cfg
 share/openocd/scripts/target/faux.cfg
 share/openocd/scripts/target/feroceon.cfg
 share/openocd/scripts/target/fm3.cfg
+share/openocd/scripts/target/fm4.cfg
+share/openocd/scripts/target/gp326xxxa.cfg
 share/openocd/scripts/target/hilscher_netx10.cfg
 share/openocd/scripts/target/hilscher_netx50.cfg
 share/openocd/scripts/target/hilscher_netx500.cfg
@@ -389,24 +497,23 @@ share/openocd/scripts/target/imx31.cfg
 share/openocd/scripts/target/imx35.cfg
 share/openocd/scripts/target/imx51.cfg
 share/openocd/scripts/target/imx53.cfg
+share/openocd/scripts/target/imx6.cfg
 share/openocd/scripts/target/is5114.cfg
 share/openocd/scripts/target/ixp42x.cfg
 share/openocd/scripts/target/k40.cfg
 share/openocd/scripts/target/k60.cfg
-share/openocd/scripts/target/lpc1751.cfg
-share/openocd/scripts/target/lpc1752.cfg
-share/openocd/scripts/target/lpc1754.cfg
-share/openocd/scripts/target/lpc1756.cfg
-share/openocd/scripts/target/lpc1758.cfg
-share/openocd/scripts/target/lpc1759.cfg
-share/openocd/scripts/target/lpc1763.cfg
-share/openocd/scripts/target/lpc1764.cfg
-share/openocd/scripts/target/lpc1765.cfg
-share/openocd/scripts/target/lpc1766.cfg
-share/openocd/scripts/target/lpc1767.cfg
-share/openocd/scripts/target/lpc1768.cfg
-share/openocd/scripts/target/lpc1769.cfg
+share/openocd/scripts/target/kl25.cfg
+share/openocd/scripts/target/kl25z_hla.cfg
+share/openocd/scripts/target/kl46.cfg
+share/openocd/scripts/target/klx.cfg
+share/openocd/scripts/target/ks869x.cfg
+share/openocd/scripts/target/kx.cfg
+share/openocd/scripts/target/lpc11xx.cfg
+share/openocd/scripts/target/lpc12xx.cfg
+share/openocd/scripts/target/lpc13xx.cfg
 share/openocd/scripts/target/lpc17xx.cfg
+share/openocd/scripts/target/lpc1850.cfg
+share/openocd/scripts/target/lpc1xxx.cfg
 share/openocd/scripts/target/lpc2103.cfg
 share/openocd/scripts/target/lpc2124.cfg
 share/openocd/scripts/target/lpc2129.cfg
@@ -419,8 +526,17 @@ share/openocd/scripts/target/lpc2900.cfg
 share/openocd/scripts/target/lpc2xxx.cfg
 share/openocd/scripts/target/lpc3131.cfg
 share/openocd/scripts/target/lpc3250.cfg
+share/openocd/scripts/target/lpc40xx.cfg
 share/openocd/scripts/target/lpc4350.cfg
+share/openocd/scripts/target/lpc8xx.cfg
+share/openocd/scripts/target/m051.cfg
 share/openocd/scripts/target/mc13224v.cfg
+share/openocd/scripts/target/mdr32f9q2i.cfg
+share/openocd/scripts/target/nds32v2.cfg
+share/openocd/scripts/target/nds32v3.cfg
+share/openocd/scripts/target/nds32v3m.cfg
+share/openocd/scripts/target/nrf51.cfg
+share/openocd/scripts/target/nrf51_stlink.tcl
 share/openocd/scripts/target/nuc910.cfg
 share/openocd/scripts/target/omap2420.cfg
 share/openocd/scripts/target/omap3530.cfg
@@ -428,10 +544,13 @@ share/openocd/scripts/target/omap4430.cf
 share/openocd/scripts/target/omap4460.cfg
 share/openocd/scripts/target/omap5912.cfg
 share/openocd/scripts/target/omapl138.cfg
+share/openocd/scripts/target/or1k.cfg
 share/openocd/scripts/target/pic32mx.cfg
+share/openocd/scripts/target/psoc4.cfg
 share/openocd/scripts/target/pxa255.cfg
 share/openocd/scripts/target/pxa270.cfg
 share/openocd/scripts/target/pxa3xx.cfg
+share/openocd/scripts/target/quark_x10xx.cfg
 share/openocd/scripts/target/readme.txt
 share/openocd/scripts/target/samsung_s3c2410.cfg
 share/openocd/scripts/target/samsung_s3c2440.cfg
@@ -439,10 +558,13 @@ share/openocd/scripts/target/samsung_s3c
 share/openocd/scripts/target/samsung_s3c4510.cfg
 share/openocd/scripts/target/samsung_s3c6410.cfg
 share/openocd/scripts/target/sharp_lh79532.cfg
+share/openocd/scripts/target/sim3x.cfg
 share/openocd/scripts/target/smp8634.cfg
 share/openocd/scripts/target/spear3xx.cfg
 share/openocd/scripts/target/stellaris.cfg
+share/openocd/scripts/target/stellaris_icdi.cfg
 share/openocd/scripts/target/stm32_stlink.cfg
+share/openocd/scripts/target/stm32f0x.cfg
 share/openocd/scripts/target/stm32f0x_stlink.cfg
 share/openocd/scripts/target/stm32f1x.cfg
 share/openocd/scripts/target/stm32f1x_stlink.cfg
@@ -452,8 +574,12 @@ share/openocd/scripts/target/stm32f3x.cf
 share/openocd/scripts/target/stm32f3x_stlink.cfg
 share/openocd/scripts/target/stm32f4x.cfg
 share/openocd/scripts/target/stm32f4x_stlink.cfg
-share/openocd/scripts/target/stm32l.cfg
+share/openocd/scripts/target/stm32l0.cfg
+share/openocd/scripts/target/stm32l1.cfg
+share/openocd/scripts/target/stm32l1x_dual_bank.cfg
 share/openocd/scripts/target/stm32lx_stlink.cfg
+share/openocd/scripts/target/stm32w108_stlink.cfg
+share/openocd/scripts/target/stm32w108xx.cfg
 share/openocd/scripts/target/stm32xl.cfg
 share/openocd/scripts/target/str710.cfg
 share/openocd/scripts/target/str730.cfg
@@ -462,13 +588,26 @@ share/openocd/scripts/target/str912.cfg
 share/openocd/scripts/target/swj-dp.tcl
 share/openocd/scripts/target/test_reset_syntax_error.cfg
 share/openocd/scripts/target/test_syntax_error.cfg
+share/openocd/scripts/target/ti-ar7.cfg
+share/openocd/scripts/target/ti-cjtag.cfg
 share/openocd/scripts/target/ti_calypso.cfg
 share/openocd/scripts/target/ti_dm355.cfg
 share/openocd/scripts/target/ti_dm365.cfg
 share/openocd/scripts/target/ti_dm6446.cfg
+share/openocd/scripts/target/ti_rm4x.cfg
+share/openocd/scripts/target/ti_tms570.cfg
+share/openocd/scripts/target/ti_tms570ls20xxx.cfg
+share/openocd/scripts/target/ti_tms570ls3137.cfg
 share/openocd/scripts/target/tmpa900.cfg
 share/openocd/scripts/target/tmpa910.cfg
 share/openocd/scripts/target/u8500.cfg
+share/openocd/scripts/target/xmc1xxx.cfg
+share/openocd/scripts/target/xmc4xxx.cfg
+share/openocd/scripts/target/zynq_7000.cfg
+share/openocd/scripts/target/к1879xб1я.cfg
 share/openocd/scripts/test/
 share/openocd/scripts/test/selftest.cfg
 share/openocd/scripts/test/syntax1.cfg
+share/openocd/scripts/tools/
+share/openocd/scripts/tools/firmware-recovery.tcl
+share/openocd/scripts/tools/memtest.tcl

Reply | Threaded
Open this post in threaded view
|

Re: [UPDATE] devel/openocd-0.9.0 (again)

Stuart Henderson
On 2016/12/31 00:51, SASANO Takayoshi wrote:
> Hello,
>
> I send this patch to ports@ on 3-Jan-2016
> (see https://marc.info/?l=openbsd-ports&m=145181327024296&w=2 ).
>
> About one year will be passed but there is no response to commit or not,
> so I send this patch again.
>
> If there is no problem, I will commit.

I think we can safely say that 1 year counts as "maintainer timeout" :-)

> -DISTNAME = openocd-0.6.1
> -REVISION = 1
> +DISTNAME = openocd-0.9.0
> +REVISION = 0

Please remove the REVISION line rather than setting to 0.

> +USE_LIBTOOL = gnu

gnu libtool shouldn't be used in normal cases in ports - could you
add a comment explaining what it's needed for please?

Reply | Threaded
Open this post in threaded view
|

Re: [UPDATE] devel/openocd-0.9.0 (again)

SASANO Takayoshi
Hi,

REVISION is deleted from Makefile, and gnu libtool is required.
Without gnu libtool, many undefined references occurs when
linking main.o and libopenocd.a. Here is the log.

----
/usr/bin/libtool  --tag=CC   --mode=link cc -std=gnu99  -O2 -pipe -Wall -Wstrict-prototypes -Wformat-security -Wshadow  -L/usr/local/lib -pthread -o openocd main.o libopenocd.la  -ljim -lm
libtool: link: cc -o openocd -pthread -std=gnu99 -O2 -pipe -Wall -Wstrict-prototypes -Wformat-security -Wshadow main.o /usr/ports/pobj/openocd-0.9.0/openocd-0.9.0/src/.libs/libopenocd.a -L.libs -lftdi -lusb -lusb-1.0 -ljim -lm -Wl,-rpath-link,/usr/local/lib
/usr/ports/pobj/openocd-0.9.0/openocd-0.9.0/src/.libs/libopenocd.a(tcl.o): In function `jim_jtag_newtap':
tcl.c:(.text+0x1f62): warning: warning: sprintf() is often misused, please use snprintf()
/usr/ports/pobj/openocd-0.9.0/openocd-0.9.0/src/.libs/libopenocd.a(librtos_la-FreeRTOS.o): In function `FreeRTOS_update_threads':
FreeRTOS.c:(.text+0x346): warning: warning: strcpy() is almost always misused, please use strlcpy()
/usr/ports/pobj/openocd-0.9.0/openocd-0.9.0/src/.libs/libopenocd.a(target.o): In function `handle_test_mem_access_command':
target.c:(.text+0x8548): warning: warning: rand() may return deterministic values, is that what you want?
/usr/ports/pobj/openocd-0.9.0/openocd-0.9.0/src/.libs/libopenocd.a(libhelper_la-log.o): In function `log_printf_lf':
log.c:(.text+0x6c5): warning: warning: strcat() is almost always misused, please use strlcat()
/usr/ports/pobj/openocd-0.9.0/openocd-0.9.0/src/.libs/libopenocd.a(libopenocd_la-openocd.o):(.data.rel.ro+0x38): undefined reference to `flash_register_commands'
/usr/ports/pobj/openocd-0.9.0/openocd-0.9.0/src/.libs/libopenocd.a(libserver_la-gdb_server.o): In function `gdb_query_packet':
gdb_server.c:(.text+0x226f): undefined reference to `flash_get_bank_count'
gdb_server.c:(.text+0x2339): undefined reference to `flash_get_bank_count'
gdb_server.c:(.text+0x2364): undefined reference to `flash_get_bank_count'
gdb_server.c:(.text+0x2373): undefined reference to `get_flash_bank_by_num_noprobe'
gdb_server.c:(.text+0x238b): undefined reference to `get_flash_bank_by_num'
gdb_server.c:(.text+0x285a): undefined reference to `flash_get_bank_count'
/usr/ports/pobj/openocd-0.9.0/openocd-0.9.0/src/.libs/libopenocd.a(libserver_la-gdb_server.o): In function `gdb_new_connection':
gdb_server.c:(.text+0x3f94): undefined reference to `flash_get_bank_count'
gdb_server.c:(.text+0x3f9f): undefined reference to `get_flash_bank_by_num_noprobe'
gdb_server.c:(.text+0x3fb8): undefined reference to `get_flash_bank_by_num'
/usr/ports/pobj/openocd-0.9.0/openocd-0.9.0/src/.libs/libopenocd.a(libserver_la-gdb_server.o): In function `gdb_input':
gdb_server.c:(.text+0x564c): undefined reference to `flash_write'
gdb_server.c:(.text+0x572f): undefined reference to `flash_set_dirty'
gdb_server.c:(.text+0x574c): undefined reference to `flash_erase_address_range'
collect2: ld returned 1 exit status
Error while executing cc -o openocd -pthread -std=gnu99 -O2 -pipe -Wall -Wstrict-prototypes -Wformat-security -Wshadow main.o /usr/ports/pobj/openocd-0.9.0/openocd-0.9.0/src/.libs/libopenocd.a -L.libs -lftdi -lusb -lusb-1.0 -ljim -lm -Wl,-rpath-link,/usr/local/lib
gmake[4]: *** [Makefile:542: openocd] Error 2
gmake[4]: Leaving directory '/usr/ports/pobj/openocd-0.9.0/openocd-0.9.0/src'
gmake[3]: *** [Makefile:605: all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/pobj/openocd-0.9.0/openocd-0.9.0/src'
gmake[2]: *** [Makefile:441: all] Error 2
gmake[2]: Leaving directory '/usr/ports/pobj/openocd-0.9.0/openocd-0.9.0/src'
gmake[1]: *** [Makefile:500: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/ports/pobj/openocd-0.9.0/openocd-0.9.0'
gmake: *** [Makefile:407: all] Error 2
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2687 '/usr/ports/pobj/openocd-0.9.0/.build_done')
*** Error 1 in /usr/ports/devel/openocd (/usr/ports/infrastructure/mk/bsd.port.mk:2389 'all')
#

--
SASANO Takayoshi <[hidden email]>

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/openocd/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile 16 Sep 2014 15:42:36 -0000 1.11
+++ Makefile 1 Jan 2017 06:50:31 -0000
@@ -2,12 +2,9 @@
 
 COMMENT = Open On-Chip Debugging
 
-DISTNAME = openocd-0.6.1
-REVISION = 1
+DISTNAME = openocd-0.9.0
 CATEGORIES = devel
 
-SHARED_LIBS +=  openocd 1.0 # unknown
-
 HOMEPAGE = http://openocd.sourceforge.net/
 
 MAINTAINER = Sylvestre Gallon <[hidden email]>
@@ -23,16 +20,22 @@ EXTRACT_SUFX = .tar.bz2
 CONFIGURE_STYLE = gnu
 CONFIGURE_ARGS = --disable-werror \
  --disable-wextra \
- --enable-arm-jtag-ew \
+ --enable-armjtagew \
  --enable-at91rm9200 \
  --enable-ep93xx \
- --enable-ft2232_libftdi \
+ --enable-ftdi \
  --enable-jlink \
  --enable-presto_libftdi \
  --enable-rlink \
  --enable-usbprog \
  --enable-vsllink \
  --enable-ulink \
+ --enable-stlink \
+ --enable-ti-icdi \
+ --enable-usb-blaster-2 \
+ --enable-osbdm \
+ --enable-opendous \
+ --enable-aice \
  --enable-buspirate \
  --disable-internal-jimtcl
 
@@ -43,6 +46,8 @@ LIB_DEPENDS = devel/libftdi>=0.20 \
  lang/jimtcl>=0.75
 
 USE_GMAKE = Yes
+# Fails to link main.o and libopenocd.a properly resulting in undefined reference in the gdb_server.o
+USE_LIBTOOL = gnu
 NO_TEST = Yes
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/openocd/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo 7 Feb 2013 00:02:30 -0000 1.4
+++ distinfo 1 Jan 2017 06:50:31 -0000
@@ -1,2 +1,2 @@
-SHA256 (openocd-0.6.1.tar.bz2) = 9MTMdEWtec+6G7JCCOecZu353AxGs8j8o5H05ByULys=
-SIZE (openocd-0.6.1.tar.bz2) = 3431071
+SHA256 (openocd-0.9.0.tar.bz2) = g3BCrJoVa5Njy/+h/Nr0Y7+4OkkzGt31LmMRlkK19EM=
+SIZE (openocd-0.9.0.tar.bz2) = 3873090
Index: patches/patch-src_flash_mflash_c
===================================================================
RCS file: /cvs/ports/devel/openocd/patches/patch-src_flash_mflash_c,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_flash_mflash_c
--- patches/patch-src_flash_mflash_c 16 Sep 2014 15:42:36 -0000 1.1
+++ patches/patch-src_flash_mflash_c 1 Jan 2017 06:50:31 -0000
@@ -2,14 +2,14 @@ $OpenBSD: patch-src_flash_mflash_c,v 1.1
 
 Fix bad bound.
 
---- src/flash/mflash.c.orig Fri Sep  5 19:36:35 2014
-+++ src/flash/mflash.c Fri Sep  5 19:43:06 2014
+--- src/flash/mflash.c.orig Sun Mar 30 01:55:12 2014
++++ src/flash/mflash.c Thu Dec 31 05:08:55 2015
 @@ -1161,7 +1161,7 @@ static void mg_gen_ataid(mg_io_type_drv_info *pSegIdDr
- memset((void *)pSegIdDrvInfo->vendor_uniq_bytes, 0x00, 62);
+ memset(pSegIdDrvInfo->vendor_uniq_bytes, 0x00, 62);
  /* CFA power mode 1 support in maximum 200mA */
  pSegIdDrvInfo->cfa_pwr_mode                     = 0x0100;
-- memset((void *)pSegIdDrvInfo->reserved7, 0x00, 190);
-+ memset((void *)pSegIdDrvInfo->reserved7, 0x00, 186);
+- memset(pSegIdDrvInfo->reserved7, 0x00, 190);
++ memset(pSegIdDrvInfo->reserved7, 0x00, 186);
  }
 
  static int mg_storage_config(void)
Index: patches/patch-src_helper_command_c
===================================================================
RCS file: patches/patch-src_helper_command_c
diff -N patches/patch-src_helper_command_c
--- patches/patch-src_helper_command_c 16 Sep 2014 15:42:36 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_helper_command_c,v 1.1 2014/09/16 15:42:36 stu Exp $
---- src/helper/command.c.orig Sun Oct  7 04:15:36 2012
-+++ src/helper/command.c Fri Sep  5 09:00:43 2014
-@@ -368,7 +368,7 @@ static int register_command_handler(struct command_con
-
- LOG_DEBUG("registering '%s'...", ocd_name);
-
-- Jim_CmdProc func = c->handler ? &script_command : &command_unknown;
-+ Jim_CmdProc *func = c->handler ? &script_command : &command_unknown;
- int retval = Jim_CreateCommand(interp, ocd_name, func, c, NULL);
- free((void *)ocd_name);
- if (JIM_OK != retval)
Index: patches/patch-src_helper_command_h
===================================================================
RCS file: patches/patch-src_helper_command_h
diff -N patches/patch-src_helper_command_h
--- patches/patch-src_helper_command_h 16 Sep 2014 15:42:36 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
-$OpenBSD: patch-src_helper_command_h,v 1.1 2014/09/16 15:42:36 stu Exp $
---- src/helper/command.h.orig Sun Oct  7 04:15:54 2012
-+++ src/helper/command.h Fri Sep  5 08:59:17 2014
-@@ -169,7 +169,7 @@ struct command {
- struct command *parent;
- struct command *children;
- command_handler_t handler;
-- Jim_CmdProc jim_handler;
-+ Jim_CmdProc *jim_handler;
- void *jim_handler_data;
- enum command_mode mode;
- struct command *next;
-@@ -205,7 +205,7 @@ char *command_name(struct command *c, char delim);
- struct command_registration {
- const char *name;
- command_handler_t handler;
-- Jim_CmdProc jim_handler;
-+ Jim_CmdProc *jim_handler;
- void *jim_handler_data;
- enum command_mode mode;
- const char *help;
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/openocd/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST 7 Feb 2013 00:02:30 -0000 1.4
+++ pkg/PLIST 1 Jan 2017 06:50:31 -0000
@@ -1,27 +1,27 @@
 @comment $OpenBSD: PLIST,v 1.4 2013/02/07 00:02:30 sthen Exp $
 @bin bin/openocd
 @info info/openocd.info
-lib/libopenocd.a
-lib/libopenocd.la
-@lib lib/libopenocd.so.${LIBopenocd_VERSION}
-lib/openocd/
-lib/openocd/OpenULINK/
-lib/openocd/OpenULINK/ulink_firmware.hex
 @man man/man1/openocd.1
 share/openocd/
+share/openocd/OpenULINK/
+share/openocd/OpenULINK/ulink_firmware.hex
 share/openocd/contrib/
+share/openocd/contrib/99-openocd.rules
 share/openocd/contrib/libdcc/
 share/openocd/contrib/libdcc/README
 share/openocd/contrib/libdcc/dcc_stdio.c
 share/openocd/contrib/libdcc/dcc_stdio.h
 share/openocd/contrib/libdcc/example.c
-share/openocd/contrib/openocd.udev
 share/openocd/scripts/
 share/openocd/scripts/bitsbytes.tcl
 share/openocd/scripts/board/
 share/openocd/scripts/board/actux3.cfg
+share/openocd/scripts/board/alphascale_asm9260_ek.cfg
+share/openocd/scripts/board/altera_sockit.cfg
 share/openocd/scripts/board/am3517evm.cfg
 share/openocd/scripts/board/arm_evaluator7t.cfg
+share/openocd/scripts/board/asus-rt-n16.cfg
+share/openocd/scripts/board/asus-rt-n66u.cfg
 share/openocd/scripts/board/at91cap7a-stk-sdram.cfg
 share/openocd/scripts/board/at91eb40a.cfg
 share/openocd/scripts/board/at91rm9200-dk.cfg
@@ -36,30 +36,52 @@ share/openocd/scripts/board/atmel_sam3n_
 share/openocd/scripts/board/atmel_sam3s_ek.cfg
 share/openocd/scripts/board/atmel_sam3u_ek.cfg
 share/openocd/scripts/board/atmel_sam3x_ek.cfg
+share/openocd/scripts/board/atmel_sam4e_ek.cfg
+share/openocd/scripts/board/atmel_sam4l8_xplained_pro.cfg
 share/openocd/scripts/board/atmel_sam4s_ek.cfg
+share/openocd/scripts/board/atmel_sam4s_xplained_pro.cfg
+share/openocd/scripts/board/atmel_samd20_xplained_pro.cfg
+share/openocd/scripts/board/atmel_samd21_xplained_pro.cfg
+share/openocd/scripts/board/atmel_samg53_xplained_pro.cfg
+share/openocd/scripts/board/atmel_saml21_xplained_pro.cfg
+share/openocd/scripts/board/atmel_samr21_xplained_pro.cfg
 share/openocd/scripts/board/balloon3-cpu.cfg
+share/openocd/scripts/board/bcm28155_ap.cfg
+share/openocd/scripts/board/bt-homehubv1.cfg
 share/openocd/scripts/board/colibri.cfg
 share/openocd/scripts/board/crossbow_tech_imote2.cfg
 share/openocd/scripts/board/csb337.cfg
 share/openocd/scripts/board/csb732.cfg
 share/openocd/scripts/board/da850evm.cfg
 share/openocd/scripts/board/digi_connectcore_wi-9c.cfg
+share/openocd/scripts/board/digilent_zedboard.cfg
 share/openocd/scripts/board/diolan_lpc4350-db1.cfg
+share/openocd/scripts/board/dk-tm4c129.cfg
 share/openocd/scripts/board/dm355evm.cfg
 share/openocd/scripts/board/dm365evm.cfg
 share/openocd/scripts/board/dm6446evm.cfg
+share/openocd/scripts/board/dp_busblaster_v3.cfg
 share/openocd/scripts/board/efikamx.cfg
+share/openocd/scripts/board/efm32.cfg
 share/openocd/scripts/board/eir.cfg
 share/openocd/scripts/board/ek-lm3s1968.cfg
 share/openocd/scripts/board/ek-lm3s3748.cfg
 share/openocd/scripts/board/ek-lm3s6965.cfg
 share/openocd/scripts/board/ek-lm3s811-revb.cfg
 share/openocd/scripts/board/ek-lm3s811.cfg
+share/openocd/scripts/board/ek-lm3s8962.cfg
 share/openocd/scripts/board/ek-lm3s9b9x.cfg
+share/openocd/scripts/board/ek-lm3s9d92.cfg
+share/openocd/scripts/board/ek-lm4f120xl.cfg
 share/openocd/scripts/board/ek-lm4f232.cfg
+share/openocd/scripts/board/ek-tm4c123gxl.cfg
+share/openocd/scripts/board/ek-tm4c1294xl.cfg
 share/openocd/scripts/board/embedded-artists_lpc2478-32.cfg
 share/openocd/scripts/board/ethernut3.cfg
+share/openocd/scripts/board/frdm-kl25z.cfg
+share/openocd/scripts/board/frdm-kl46z.cfg
 share/openocd/scripts/board/glyn_tonga2.cfg
+share/openocd/scripts/board/gumstix-aerocore.cfg
 share/openocd/scripts/board/hammer.cfg
 share/openocd/scripts/board/hilscher_nxdb500sys.cfg
 share/openocd/scripts/board/hilscher_nxeb500hmi.cfg
@@ -80,21 +102,31 @@ share/openocd/scripts/board/imx27lnst.cf
 share/openocd/scripts/board/imx28evk.cfg
 share/openocd/scripts/board/imx31pdk.cfg
 share/openocd/scripts/board/imx35pdk.cfg
+share/openocd/scripts/board/imx53-m53evk.cfg
 share/openocd/scripts/board/imx53loco.cfg
 share/openocd/scripts/board/keil_mcb1700.cfg
 share/openocd/scripts/board/keil_mcb2140.cfg
 share/openocd/scripts/board/kwikstik.cfg
+share/openocd/scripts/board/linksys-wrt54gl.cfg
 share/openocd/scripts/board/linksys_nslu2.cfg
 share/openocd/scripts/board/lisa-l.cfg
 share/openocd/scripts/board/logicpd_imx27.cfg
+share/openocd/scripts/board/lpc1850_spifi_generic.cfg
+share/openocd/scripts/board/lpc4350_spifi_generic.cfg
 share/openocd/scripts/board/lubbock.cfg
+share/openocd/scripts/board/mbed-lpc11u24.cfg
+share/openocd/scripts/board/mbed-lpc1768.cfg
 share/openocd/scripts/board/mcb1700.cfg
 share/openocd/scripts/board/microchip_explorer16.cfg
 share/openocd/scripts/board/mini2440.cfg
 share/openocd/scripts/board/mini6410.cfg
+share/openocd/scripts/board/nds32_xc5.cfg
+share/openocd/scripts/board/netgear-dg834v3.cfg
+share/openocd/scripts/board/nordic_nrf51822_mkit.cfg
 share/openocd/scripts/board/olimex_LPC2378STK.cfg
 share/openocd/scripts/board/olimex_lpc_h2148.cfg
 share/openocd/scripts/board/olimex_sam7_ex256.cfg
+share/openocd/scripts/board/olimex_sam7_la2.cfg
 share/openocd/scripts/board/olimex_sam9_l9260.cfg
 share/openocd/scripts/board/olimex_stm32_h103.cfg
 share/openocd/scripts/board/olimex_stm32_h107.cfg
@@ -102,23 +134,32 @@ share/openocd/scripts/board/olimex_stm32
 share/openocd/scripts/board/omap2420_h4.cfg
 share/openocd/scripts/board/open-bldc.cfg
 share/openocd/scripts/board/openrd.cfg
+share/openocd/scripts/board/or1k_generic.cfg
 share/openocd/scripts/board/osk5912.cfg
 share/openocd/scripts/board/phone_se_j100i.cfg
 share/openocd/scripts/board/phytec_lpc3250.cfg
 share/openocd/scripts/board/pic-p32mx.cfg
 share/openocd/scripts/board/propox_mmnet1001.cfg
 share/openocd/scripts/board/pxa255_sst.cfg
+share/openocd/scripts/board/quark_x10xx_board.cfg
 share/openocd/scripts/board/redbee.cfg
 share/openocd/scripts/board/rsc-w910.cfg
 share/openocd/scripts/board/sheevaplug.cfg
 share/openocd/scripts/board/smdk6410.cfg
+share/openocd/scripts/board/spansion_sk-fm4-176l-s6e2cc.cfg
 share/openocd/scripts/board/spear300evb.cfg
 share/openocd/scripts/board/spear300evb_mod.cfg
 share/openocd/scripts/board/spear310evb20.cfg
 share/openocd/scripts/board/spear310evb20_mod.cfg
 share/openocd/scripts/board/spear320cpu.cfg
 share/openocd/scripts/board/spear320cpu_mod.cfg
+share/openocd/scripts/board/st_nucleo_f0.cfg
+share/openocd/scripts/board/st_nucleo_f103rb.cfg
+share/openocd/scripts/board/st_nucleo_f3.cfg
+share/openocd/scripts/board/st_nucleo_f4.cfg
+share/openocd/scripts/board/st_nucleo_l1.cfg
 share/openocd/scripts/board/steval_pcc010.cfg
+share/openocd/scripts/board/stm320518_eval.cfg
 share/openocd/scripts/board/stm320518_eval_stlink.cfg
 share/openocd/scripts/board/stm32100b_eval.cfg
 share/openocd/scripts/board/stm3210b_eval.cfg
@@ -128,22 +169,35 @@ share/openocd/scripts/board/stm3220g_eva
 share/openocd/scripts/board/stm3220g_eval_stlink.cfg
 share/openocd/scripts/board/stm3241g_eval.cfg
 share/openocd/scripts/board/stm3241g_eval_stlink.cfg
+share/openocd/scripts/board/stm32429i_eval.cfg
+share/openocd/scripts/board/stm32429i_eval_stlink.cfg
+share/openocd/scripts/board/stm32439i_eval.cfg
+share/openocd/scripts/board/stm32439i_eval_stlink.cfg
 share/openocd/scripts/board/stm32f0discovery.cfg
+share/openocd/scripts/board/stm32f334discovery.cfg
 share/openocd/scripts/board/stm32f3discovery.cfg
+share/openocd/scripts/board/stm32f429discovery.cfg
 share/openocd/scripts/board/stm32f4discovery.cfg
+share/openocd/scripts/board/stm32l0discovery.cfg
 share/openocd/scripts/board/stm32ldiscovery.cfg
 share/openocd/scripts/board/stm32vldiscovery.cfg
 share/openocd/scripts/board/str910-eval.cfg
 share/openocd/scripts/board/telo.cfg
+share/openocd/scripts/board/ti-cc3200-launchxl.cfg
 share/openocd/scripts/board/ti_am335xevm.cfg
+share/openocd/scripts/board/ti_am437x_idk.cfg
+share/openocd/scripts/board/ti_am43xx_evm.cfg
 share/openocd/scripts/board/ti_beagleboard.cfg
 share/openocd/scripts/board/ti_beagleboard_xm.cfg
 share/openocd/scripts/board/ti_beaglebone.cfg
 share/openocd/scripts/board/ti_blaze.cfg
 share/openocd/scripts/board/ti_pandaboard.cfg
 share/openocd/scripts/board/ti_pandaboard_es.cfg
+share/openocd/scripts/board/ti_tmdx570ls20susb.cfg
+share/openocd/scripts/board/ti_tmdx570ls31usb.cfg
 share/openocd/scripts/board/topas910.cfg
 share/openocd/scripts/board/topasa900.cfg
+share/openocd/scripts/board/tp-link_tl-mr3020.cfg
 share/openocd/scripts/board/twr-k60f120m.cfg
 share/openocd/scripts/board/twr-k60n512.cfg
 share/openocd/scripts/board/tx25_stk5.cfg
@@ -154,6 +208,12 @@ share/openocd/scripts/board/verdex.cfg
 share/openocd/scripts/board/voipac.cfg
 share/openocd/scripts/board/voltcraft_dso-3062c.cfg
 share/openocd/scripts/board/x300t.cfg
+share/openocd/scripts/board/xmc-2go.cfg
+share/openocd/scripts/board/xmc1100-boot-kit.cfg
+share/openocd/scripts/board/xmc4200-application-kit-actuator.cfg
+share/openocd/scripts/board/xmc4500-application-kit-general.cfg
+share/openocd/scripts/board/xmc4500-application-kit-sdram.cfg
+share/openocd/scripts/board/xmc4500-relax.cfg
 share/openocd/scripts/board/zy1000.cfg
 share/openocd/scripts/chip/
 share/openocd/scripts/chip/atmel/
@@ -202,6 +262,7 @@ share/openocd/scripts/cpu/arm/arm966.tcl
 share/openocd/scripts/cpu/arm/cortex_m3.tcl
 share/openocd/scripts/interface/
 share/openocd/scripts/interface/altera-usb-blaster.cfg
+share/openocd/scripts/interface/altera-usb-blaster2.cfg
 share/openocd/scripts/interface/arm-jtag-ew.cfg
 share/openocd/scripts/interface/at91rm9200.cfg
 share/openocd/scripts/interface/axm0432.cfg
@@ -211,6 +272,7 @@ share/openocd/scripts/interface/calao-us
 share/openocd/scripts/interface/calao-usb-a9260-c02.cfg
 share/openocd/scripts/interface/calao-usb-a9260.cfg
 share/openocd/scripts/interface/chameleon.cfg
+share/openocd/scripts/interface/cmsis-dap.cfg
 share/openocd/scripts/interface/cortino.cfg
 share/openocd/scripts/interface/digilent-hs1.cfg
 share/openocd/scripts/interface/dlp-usb1232h.cfg
@@ -226,12 +288,15 @@ share/openocd/scripts/interface/ftdi/axm
 share/openocd/scripts/interface/ftdi/calao-usb-a9260-c01.cfg
 share/openocd/scripts/interface/ftdi/calao-usb-a9260-c02.cfg
 share/openocd/scripts/interface/ftdi/cortino.cfg
+share/openocd/scripts/interface/ftdi/digilent_jtag_smt2.cfg
 share/openocd/scripts/interface/ftdi/dlp-usb1232h.cfg
 share/openocd/scripts/interface/ftdi/dp_busblaster.cfg
+share/openocd/scripts/interface/ftdi/dp_busblaster_kt-link.cfg
 share/openocd/scripts/interface/ftdi/flossjtag-noeeprom.cfg
 share/openocd/scripts/interface/ftdi/flossjtag.cfg
 share/openocd/scripts/interface/ftdi/flyswatter.cfg
 share/openocd/scripts/interface/ftdi/flyswatter2.cfg
+share/openocd/scripts/interface/ftdi/gw16042.cfg
 share/openocd/scripts/interface/ftdi/hilscher_nxhx10_etm.cfg
 share/openocd/scripts/interface/ftdi/hilscher_nxhx500_etm.cfg
 share/openocd/scripts/interface/ftdi/hilscher_nxhx500_re.cfg
@@ -240,6 +305,7 @@ share/openocd/scripts/interface/ftdi/hil
 share/openocd/scripts/interface/ftdi/hitex_lpc1768stick.cfg
 share/openocd/scripts/interface/ftdi/hitex_str9-comstick.cfg
 share/openocd/scripts/interface/ftdi/icebear.cfg
+share/openocd/scripts/interface/ftdi/iotlab-usb.cfg
 share/openocd/scripts/interface/ftdi/jtag-lock-pick_tiny_2.cfg
 share/openocd/scripts/interface/ftdi/jtagkey.cfg
 share/openocd/scripts/interface/ftdi/jtagkey2.cfg
@@ -249,23 +315,31 @@ share/openocd/scripts/interface/ftdi/lis
 share/openocd/scripts/interface/ftdi/luminary-icdi.cfg
 share/openocd/scripts/interface/ftdi/luminary-lm3s811.cfg
 share/openocd/scripts/interface/ftdi/luminary.cfg
+share/openocd/scripts/interface/ftdi/m53evk.cfg
 share/openocd/scripts/interface/ftdi/minimodule.cfg
 share/openocd/scripts/interface/ftdi/neodb.cfg
 share/openocd/scripts/interface/ftdi/ngxtech.cfg
+share/openocd/scripts/interface/ftdi/olimex-arm-jtag-swd.cfg
 share/openocd/scripts/interface/ftdi/olimex-arm-usb-ocd-h.cfg
 share/openocd/scripts/interface/ftdi/olimex-arm-usb-ocd.cfg
 share/openocd/scripts/interface/ftdi/olimex-arm-usb-tiny-h.cfg
 share/openocd/scripts/interface/ftdi/olimex-jtag-tiny.cfg
 share/openocd/scripts/interface/ftdi/oocdlink.cfg
+share/openocd/scripts/interface/ftdi/opendous_ftdi.cfg
 share/openocd/scripts/interface/ftdi/openocd-usb-hs.cfg
 share/openocd/scripts/interface/ftdi/openocd-usb.cfg
 share/openocd/scripts/interface/ftdi/openrd.cfg
 share/openocd/scripts/interface/ftdi/redbee-econotag.cfg
 share/openocd/scripts/interface/ftdi/redbee-usb.cfg
+share/openocd/scripts/interface/ftdi/rowley-cc-arm-swd.cfg
 share/openocd/scripts/interface/ftdi/sheevaplug.cfg
 share/openocd/scripts/interface/ftdi/signalyzer-lite.cfg
 share/openocd/scripts/interface/ftdi/signalyzer.cfg
 share/openocd/scripts/interface/ftdi/stm32-stick.cfg
+share/openocd/scripts/interface/ftdi/swd-resistor-hack.cfg
+share/openocd/scripts/interface/ftdi/ti-icdi.cfg
+share/openocd/scripts/interface/ftdi/tumpa-lite.cfg
+share/openocd/scripts/interface/ftdi/tumpa.cfg
 share/openocd/scripts/interface/ftdi/turtelizer2-revB.cfg
 share/openocd/scripts/interface/ftdi/turtelizer2-revC.cfg
 share/openocd/scripts/interface/ftdi/vpaclink.cfg
@@ -279,6 +353,7 @@ share/openocd/scripts/interface/hitex_st
 share/openocd/scripts/interface/icebear.cfg
 share/openocd/scripts/interface/jlink.cfg
 share/openocd/scripts/interface/jtag-lock-pick_tiny_2.cfg
+share/openocd/scripts/interface/jtag_vpi.cfg
 share/openocd/scripts/interface/jtagkey-tiny.cfg
 share/openocd/scripts/interface/jtagkey.cfg
 share/openocd/scripts/interface/jtagkey2.cfg
@@ -289,6 +364,7 @@ share/openocd/scripts/interface/luminary
 share/openocd/scripts/interface/luminary-lm3s811.cfg
 share/openocd/scripts/interface/luminary.cfg
 share/openocd/scripts/interface/minimodule.cfg
+share/openocd/scripts/interface/nds32-aice.cfg
 share/openocd/scripts/interface/neodb.cfg
 share/openocd/scripts/interface/ngxtech.cfg
 share/openocd/scripts/interface/olimex-arm-usb-ocd-h.cfg
@@ -297,12 +373,15 @@ share/openocd/scripts/interface/olimex-a
 share/openocd/scripts/interface/olimex-jtag-tiny.cfg
 share/openocd/scripts/interface/oocdlink.cfg
 share/openocd/scripts/interface/opendous.cfg
+share/openocd/scripts/interface/opendous_ftdi.cfg
+share/openocd/scripts/interface/openjtag.cfg
 share/openocd/scripts/interface/openocd-usb-hs.cfg
 share/openocd/scripts/interface/openocd-usb.cfg
 share/openocd/scripts/interface/openrd.cfg
 share/openocd/scripts/interface/osbdm.cfg
 share/openocd/scripts/interface/parport.cfg
 share/openocd/scripts/interface/parport_dlc5.cfg
+share/openocd/scripts/interface/raspberrypi-native.cfg
 share/openocd/scripts/interface/redbee-econotag.cfg
 share/openocd/scripts/interface/redbee-usb.cfg
 share/openocd/scripts/interface/rlink.cfg
@@ -312,8 +391,11 @@ share/openocd/scripts/interface/signalyz
 share/openocd/scripts/interface/signalyzer-lite.cfg
 share/openocd/scripts/interface/signalyzer.cfg
 share/openocd/scripts/interface/stlink-v1.cfg
+share/openocd/scripts/interface/stlink-v2-1.cfg
 share/openocd/scripts/interface/stlink-v2.cfg
 share/openocd/scripts/interface/stm32-stick.cfg
+share/openocd/scripts/interface/sysfsgpio-raspberrypi.cfg
+share/openocd/scripts/interface/ti-icdi.cfg
 share/openocd/scripts/interface/turtelizer2.cfg
 share/openocd/scripts/interface/ulink.cfg
 share/openocd/scripts/interface/usb-jtag.cfg
@@ -325,10 +407,15 @@ share/openocd/scripts/mem_helper.tcl
 share/openocd/scripts/memory.tcl
 share/openocd/scripts/mmr_helpers.tcl
 share/openocd/scripts/target/
+share/openocd/scripts/target/1986ве1т.cfg
 share/openocd/scripts/target/aduc702x.cfg
+share/openocd/scripts/target/alphascale_asm9260t.cfg
+share/openocd/scripts/target/altera_fpgasoc.cfg
 share/openocd/scripts/target/am335x.cfg
+share/openocd/scripts/target/am437x.cfg
 share/openocd/scripts/target/amdm37x.cfg
 share/openocd/scripts/target/ar71xx.cfg
+share/openocd/scripts/target/armada370.cfg
 share/openocd/scripts/target/at32ap7000.cfg
 share/openocd/scripts/target/at91r40008.cfg
 share/openocd/scripts/target/at91rm9200.cfg
@@ -346,7 +433,10 @@ share/openocd/scripts/target/at91sam3u4c
 share/openocd/scripts/target/at91sam3u4e.cfg
 share/openocd/scripts/target/at91sam3uxx.cfg
 share/openocd/scripts/target/at91sam4XXX.cfg
+share/openocd/scripts/target/at91sam4lXX.cfg
 share/openocd/scripts/target/at91sam4sXX.cfg
+share/openocd/scripts/target/at91sam4sd32x.cfg
+share/openocd/scripts/target/at91sam7a2.cfg
 share/openocd/scripts/target/at91sam7se512.cfg
 share/openocd/scripts/target/at91sam7sx.cfg
 share/openocd/scripts/target/at91sam7x256.cfg
@@ -360,22 +450,40 @@ share/openocd/scripts/target/at91sam9g10
 share/openocd/scripts/target/at91sam9g20.cfg
 share/openocd/scripts/target/at91sam9g45.cfg
 share/openocd/scripts/target/at91sam9rl.cfg
+share/openocd/scripts/target/at91samdXX.cfg
+share/openocd/scripts/target/at91samg5x.cfg
+share/openocd/scripts/target/atheros_ar9331.cfg
 share/openocd/scripts/target/atmega128.cfg
 share/openocd/scripts/target/avr32.cfg
+share/openocd/scripts/target/bcm281xx.cfg
+share/openocd/scripts/target/bcm4706.cfg
+share/openocd/scripts/target/bcm4718.cfg
+share/openocd/scripts/target/bcm47xx.cfg
+share/openocd/scripts/target/bcm5352e.cfg
+share/openocd/scripts/target/bcm6348.cfg
 share/openocd/scripts/target/c100.cfg
 share/openocd/scripts/target/c100config.tcl
 share/openocd/scripts/target/c100helper.tcl
 share/openocd/scripts/target/c100regs.tcl
+share/openocd/scripts/target/cc2538.cfg
+share/openocd/scripts/target/cc26xx.cfg
+share/openocd/scripts/target/cc32xx.cfg
 share/openocd/scripts/target/cs351x.cfg
 share/openocd/scripts/target/davinci.cfg
 share/openocd/scripts/target/dragonite.cfg
 share/openocd/scripts/target/dsp56321.cfg
 share/openocd/scripts/target/dsp568013.cfg
 share/openocd/scripts/target/dsp568037.cfg
+share/openocd/scripts/target/efm32.cfg
+share/openocd/scripts/target/efm32_stlink.cfg
+share/openocd/scripts/target/em357.cfg
+share/openocd/scripts/target/em358.cfg
 share/openocd/scripts/target/epc9301.cfg
 share/openocd/scripts/target/faux.cfg
 share/openocd/scripts/target/feroceon.cfg
 share/openocd/scripts/target/fm3.cfg
+share/openocd/scripts/target/fm4.cfg
+share/openocd/scripts/target/gp326xxxa.cfg
 share/openocd/scripts/target/hilscher_netx10.cfg
 share/openocd/scripts/target/hilscher_netx50.cfg
 share/openocd/scripts/target/hilscher_netx500.cfg
@@ -389,24 +497,23 @@ share/openocd/scripts/target/imx31.cfg
 share/openocd/scripts/target/imx35.cfg
 share/openocd/scripts/target/imx51.cfg
 share/openocd/scripts/target/imx53.cfg
+share/openocd/scripts/target/imx6.cfg
 share/openocd/scripts/target/is5114.cfg
 share/openocd/scripts/target/ixp42x.cfg
 share/openocd/scripts/target/k40.cfg
 share/openocd/scripts/target/k60.cfg
-share/openocd/scripts/target/lpc1751.cfg
-share/openocd/scripts/target/lpc1752.cfg
-share/openocd/scripts/target/lpc1754.cfg
-share/openocd/scripts/target/lpc1756.cfg
-share/openocd/scripts/target/lpc1758.cfg
-share/openocd/scripts/target/lpc1759.cfg
-share/openocd/scripts/target/lpc1763.cfg
-share/openocd/scripts/target/lpc1764.cfg
-share/openocd/scripts/target/lpc1765.cfg
-share/openocd/scripts/target/lpc1766.cfg
-share/openocd/scripts/target/lpc1767.cfg
-share/openocd/scripts/target/lpc1768.cfg
-share/openocd/scripts/target/lpc1769.cfg
+share/openocd/scripts/target/kl25.cfg
+share/openocd/scripts/target/kl25z_hla.cfg
+share/openocd/scripts/target/kl46.cfg
+share/openocd/scripts/target/klx.cfg
+share/openocd/scripts/target/ks869x.cfg
+share/openocd/scripts/target/kx.cfg
+share/openocd/scripts/target/lpc11xx.cfg
+share/openocd/scripts/target/lpc12xx.cfg
+share/openocd/scripts/target/lpc13xx.cfg
 share/openocd/scripts/target/lpc17xx.cfg
+share/openocd/scripts/target/lpc1850.cfg
+share/openocd/scripts/target/lpc1xxx.cfg
 share/openocd/scripts/target/lpc2103.cfg
 share/openocd/scripts/target/lpc2124.cfg
 share/openocd/scripts/target/lpc2129.cfg
@@ -419,8 +526,17 @@ share/openocd/scripts/target/lpc2900.cfg
 share/openocd/scripts/target/lpc2xxx.cfg
 share/openocd/scripts/target/lpc3131.cfg
 share/openocd/scripts/target/lpc3250.cfg
+share/openocd/scripts/target/lpc40xx.cfg
 share/openocd/scripts/target/lpc4350.cfg
+share/openocd/scripts/target/lpc8xx.cfg
+share/openocd/scripts/target/m051.cfg
 share/openocd/scripts/target/mc13224v.cfg
+share/openocd/scripts/target/mdr32f9q2i.cfg
+share/openocd/scripts/target/nds32v2.cfg
+share/openocd/scripts/target/nds32v3.cfg
+share/openocd/scripts/target/nds32v3m.cfg
+share/openocd/scripts/target/nrf51.cfg
+share/openocd/scripts/target/nrf51_stlink.tcl
 share/openocd/scripts/target/nuc910.cfg
 share/openocd/scripts/target/omap2420.cfg
 share/openocd/scripts/target/omap3530.cfg
@@ -428,10 +544,13 @@ share/openocd/scripts/target/omap4430.cf
 share/openocd/scripts/target/omap4460.cfg
 share/openocd/scripts/target/omap5912.cfg
 share/openocd/scripts/target/omapl138.cfg
+share/openocd/scripts/target/or1k.cfg
 share/openocd/scripts/target/pic32mx.cfg
+share/openocd/scripts/target/psoc4.cfg
 share/openocd/scripts/target/pxa255.cfg
 share/openocd/scripts/target/pxa270.cfg
 share/openocd/scripts/target/pxa3xx.cfg
+share/openocd/scripts/target/quark_x10xx.cfg
 share/openocd/scripts/target/readme.txt
 share/openocd/scripts/target/samsung_s3c2410.cfg
 share/openocd/scripts/target/samsung_s3c2440.cfg
@@ -439,10 +558,13 @@ share/openocd/scripts/target/samsung_s3c
 share/openocd/scripts/target/samsung_s3c4510.cfg
 share/openocd/scripts/target/samsung_s3c6410.cfg
 share/openocd/scripts/target/sharp_lh79532.cfg
+share/openocd/scripts/target/sim3x.cfg
 share/openocd/scripts/target/smp8634.cfg
 share/openocd/scripts/target/spear3xx.cfg
 share/openocd/scripts/target/stellaris.cfg
+share/openocd/scripts/target/stellaris_icdi.cfg
 share/openocd/scripts/target/stm32_stlink.cfg
+share/openocd/scripts/target/stm32f0x.cfg
 share/openocd/scripts/target/stm32f0x_stlink.cfg
 share/openocd/scripts/target/stm32f1x.cfg
 share/openocd/scripts/target/stm32f1x_stlink.cfg
@@ -452,8 +574,12 @@ share/openocd/scripts/target/stm32f3x.cf
 share/openocd/scripts/target/stm32f3x_stlink.cfg
 share/openocd/scripts/target/stm32f4x.cfg
 share/openocd/scripts/target/stm32f4x_stlink.cfg
-share/openocd/scripts/target/stm32l.cfg
+share/openocd/scripts/target/stm32l0.cfg
+share/openocd/scripts/target/stm32l1.cfg
+share/openocd/scripts/target/stm32l1x_dual_bank.cfg
 share/openocd/scripts/target/stm32lx_stlink.cfg
+share/openocd/scripts/target/stm32w108_stlink.cfg
+share/openocd/scripts/target/stm32w108xx.cfg
 share/openocd/scripts/target/stm32xl.cfg
 share/openocd/scripts/target/str710.cfg
 share/openocd/scripts/target/str730.cfg
@@ -462,13 +588,26 @@ share/openocd/scripts/target/str912.cfg
 share/openocd/scripts/target/swj-dp.tcl
 share/openocd/scripts/target/test_reset_syntax_error.cfg
 share/openocd/scripts/target/test_syntax_error.cfg
+share/openocd/scripts/target/ti-ar7.cfg
+share/openocd/scripts/target/ti-cjtag.cfg
 share/openocd/scripts/target/ti_calypso.cfg
 share/openocd/scripts/target/ti_dm355.cfg
 share/openocd/scripts/target/ti_dm365.cfg
 share/openocd/scripts/target/ti_dm6446.cfg
+share/openocd/scripts/target/ti_rm4x.cfg
+share/openocd/scripts/target/ti_tms570.cfg
+share/openocd/scripts/target/ti_tms570ls20xxx.cfg
+share/openocd/scripts/target/ti_tms570ls3137.cfg
 share/openocd/scripts/target/tmpa900.cfg
 share/openocd/scripts/target/tmpa910.cfg
 share/openocd/scripts/target/u8500.cfg
+share/openocd/scripts/target/xmc1xxx.cfg
+share/openocd/scripts/target/xmc4xxx.cfg
+share/openocd/scripts/target/zynq_7000.cfg
+share/openocd/scripts/target/к1879xб1я.cfg
 share/openocd/scripts/test/
 share/openocd/scripts/test/selftest.cfg
 share/openocd/scripts/test/syntax1.cfg
+share/openocd/scripts/tools/
+share/openocd/scripts/tools/firmware-recovery.tcl
+share/openocd/scripts/tools/memtest.tcl