./devel/openocd, Open On-Chip Debugger

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.10.0nb1, Package name: openocd-0.10.0nb1, Maintainer: pkgsrc-users

Free and open on-chip debugging, in-system programming and boundary-scan

Required to run:
[lang/tcl] [devel/libusb1] [devel/libusb-compat] [comms/libhidapi]

Required to build:

Package options: libhidapi, libusb, libusb1

Master sites:

SHA1: 3245d43d60a1a93f8b0f6b1ce20b53e38cab7a4a
RMD160: c3ae519d50e0f4185768a7642eefbc954c56d84a
Filesize: 4680.309 KB

Version history: (Expand)

CVS history: (Expand)

   2019-07-08 18:27:13 by Martin Husemann | Files touched by this commit (1)
Log message:
Remove -Werror, so this has a chance to compile on newer gcc versions
   2018-03-13 04:01:15 by David A. Holland | Files touched by this commit (3)
Log message:
Patch ctype.h misuse, which for some reason only clang was objecting to.
   2018-02-11 01:55:58 by Ryo ONODERA | Files touched by this commit (5) | Package updated
Log message:
Update to 0.10.0

* Fix the hardcoded pathes and the flag for libhidapi option
* Tested with STM32F4Discovery board

Highlights of the changes made in the OpenOCD source archive release

JTAG Layer:

    New driver for J-Link adapters based on libjaylink
      (including support for FPGA configuration, SWO and EMUCOM)
    FTDI improvements to work at 30MHz clock
    BCM2835 native driver SWD and Raspberry Pi2 support
    BCM2835 is set to 4ma drive, slow slew rate
    ixo-usb-jtag (emulation of an Altera Bus Blaster I on Cypress FX2 IC)
    JTAG pass-through mode for CMSIS-DAP (including support for FPGA
    OpenJTAG support for Cypress CY7C65215
    connect_assert_srst support for SWD
    Xilinx Virtex-II Series7 bitstream loading support
    Use JEP106 data to decode IDs
    Deprecated “ft2232″ driver removed (use “ftdi” instead)
    GPL-incompatible FTDI D2XX library support dropped (Presto, OpenJTAG and
      USB-Blaster I are using libftdi only now)
    ZY1000 support dropped (unmaintained since long)
    oocd_trace support dropped

Target Layer:

    ARMv7-A, Cortex-M, Cortex-A/R important fixes and improvements (allowing
      e.g. simultaneous debugging of A8 and M3 cores, JTAG WAIT support etc.)
    ARM Cortex-A,R allow interrupt disable during single-step (maskisr command)
    Semihosting support for ARMv7-A
    ARM Cortex-M7 support
    Intel Quark mcu D2000 support
    Freescale LS102x SAP support
    ThreadX RTOS support on ARM926E-JS
    Cortex-M RTOS stack alignment fixes
    FreeRTOS FPU support
    uC/OS-III RTOS support
    bridging semihosting to GDB’s File-I/O support
    -defer-examine option added to target create command
    verify_image_checksum command added

Flash Layer:

    Atmel SAM4S, SAM4N, SAM4C support
    Atmel SAMV, SAMS, SAME (Cortex-M7) support
    Atmel AT91SAMD handle reset run/halt in DSU, other fixes
    Atmel AT91SAML21, SAML22, SAMC20/SAMC21, SAMD09 support
    ST STM32F4x support
    ST STM32F74x/76x/77x, STM32L4 support
    ST STM32L0 categories 1, 2 and 5 support
    Kinetis K02, K21, K22, K24, K26, K63, K64, K66 support
    Kinetis KE, KVx, K8x families support
    Kinetis FlexNVM handling
    Kinetis flash protection, security, mass_erase improvements
    Infineon XMC4xxx family support
    Infineon XMC1000 flash driver
    Energy Micro EFM32 Happy Gecko support
    Energy Micro EFM32 debug interface lock support
    Analog Devices ADuCM360 support
    Unified Nuvoton NuMicro flash driver
    NIIET K1921VK01T (Cortex-M4) support
    Nordic Semiconductor nRF51 improvements
    Spansion FM4 flash (including MB9BFx64/x65, S6E2DH) driver
    Ambiq Micro Apollo flash driver
    PIC32MX new device IDs, 17x/27x flash support
    read_bank() and verify_bank() NOR flash internal API to allow reading
      (and verifying) non-memory-mapped devices
    JTAGSPI driver to access SPI NOR flashes via a trivial FPGA proxy
    Milandr read/verify for Info memory support
    Various discrete SPI NOR flashes support
    CFI 16-bit flash reversed endianness support

Board, Target, and Interface Configuration Scripts:

    Digilent JTAG-HS2, JTAG-HS3 interfaces configs
    FTDI UM232H module as JTAG interface config
    100ask’s OpenJTAG interface config
    MBFTDI interface config
    XDS100v3 interface config
    Freescale Vybrid VF6xx target config
    EmCraft VF6 SOM and baseboard configs
    Freescale SabreSD board config
    Freescale VF65GS10 tower board config
    Pipistrello Xilinx Spartan6 LX45 FPGA board config
    miniSpartan6+ board config
    Xilinx Kintex7 Development board config
    Parallella-I board config
    Digilent Atlys and Analog Discovery board configs
    Numato Opsis board config
    Xilinx Spartan 6 FPGA “Device DNA” reading support
    Altera 10M50 FPGA (MAX10 family) target config
    Altera EPM240 CPLD (MAXII family) target config
    Marsohod2, Marsohod3 FPGA, Marsohod CPLD boards configs
    Novena’s integrated FPGA board config
    XMOS XS1-XAU8A-10′s ARM core config
    XMOS xCORE-XA Core Module board config
    Exynos5250 target config
    Arndale board config
    FM4 MB9BFxxx family configs
    Spansion SK-FM4-U120-9B560 board config
    Diolan LPC4357-DB1 board config
    ST STM32F469 discovery board config
    ST STM32F7-DISCO, STM327[4|5]6G-EVAL boards configs
    ST STM32L4 discovery, NUCLEO L476RG, STM32F429I-DISC1 boards configs
    Atheros AR2313, AR2315 targets config
    Netgear WP102 board config
    La Fonera FON2200 board config
    Linksys WAG200G board config
    LPC-Link2 board config
    NXP LPC4370 target config
    Atmel SAMV, SAMS, SAME target configs
    Atmel SAM E70 Xplained, SAM V71 Xplained Ultra boards configs
    Nordic nRF52 target config
    Nordic nRF51-DK, nRF52-DK boards configs
    Infineon XMC4700 Relax Kit, XMC4800 Relax EtherCAT Kit, XMC4300 Relax
      EtherCAT Kit boards configs
    Renesas S7G2 target config
    Renesas DK-S7G2 board config
    Altera EP3C10 FPGA (Cyclone III family) target config
    TI MSP432P4xx target config
    Cypress PSoC 5LP target config
    Analog Devices ADSP-SC58x target config (Cortex-A5 core only)

Server Layer:

    tcl_trace command for async target trace output via Tcl RPC

Build and Release:

    Various fixes thanks to http://coccinellery.org
    libftdi is now autodetected with pkgconfig
    Releases should now support reproducible builds
    Conversion to non-recursive make, requires automake >= 1.14
    Udev rules modified to add uaccess tag and moved to 60-openocd.rules
    Support searching for scripts relative to the openocd binary for all
      major architectures
   2018-02-10 14:53:49 by Pierre Pronchery | Files touched by this commit (39)
Log message:
Import global switch for libusb's implementation [2/2]

This switch is meant to be used by packages requiring an implementation of the
former libusb (as in devel/libusb). The original implementation can be
chosen by setting LIBUSB_TYPE to "native".

The alternative implementation libusb-compat (as in devel/libusb-compat) wraps
libusb1 (in devel/libusb1). This implementation can be chosen by setting
LIBUSB_TYPE to "compat". On NetBSD, it has the advantage of not \ 
requiring root
privileges to locate and use USB devices without a kernel driver.

This second part switches packages using libusb to this framework. It does not
change compilation options or dependencies at this point.

Compile-tested on most packages affected and available on NetBSD/amd64.
   2017-09-16 21:27:31 by Thomas Klausner | Files touched by this commit (372)
Log message:
Reset maintainer
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-10-08 01:14:47 by Joerg Sonnenberger | Files touched by this commit (2)
Log message:
Remove a tautologic check to unbreak build with clang.
   2015-10-02 01:06:37 by Blue Rats | Files touched by this commit (5) | Package updated
Log message:
Update to 0.9.0. Request from riz@. Upstream integrated two patches, so
remove those. From NEWS:

JTAG Layer:

    SWD support with FTDI, Versaloon, J-Link, sysfsgpio
    CMSIS-DAP massive speed and stability improvements
    Versaloon driver ported to libusb-1.0
    STLink can reestablish communication with a target that was disconnected or \ 
    STLink FAULT and WAIT SWD handling improved
    New hla_serial command to distinguish between several HLA adapters attached \ 
to a single machine
    Serial number support for CMSIS-DAP and J-Link adapters
    Support for more J-Link adapters
    TAP autoprobing improvements
    Big speedup for SVF playback with USB Blaster

Boundary Scan:

Target Layer:

    Stability improvements for targets that get disconnected or rebooted during \ 
a debug session
    MIPS speed and reliability improvements
    MIPS 1.5/2.0 fixes
    ARMv7-R improvements
    Cortex-A improvements, A7, A15 MPCores support
    FPU support for ARMv7-M (Cortex-M4F)
    TPIU/ITM support (including SWO/SWV tracing), can be captured with external \ 
tools or STLink
    JTAG Serial Port (Advanced Debug System softcore) support
    Profiling support for OpenRISC
    ChibiOS/RT 3.0 support (with and without FPU)
    FreeRTOS current versions support
    Freescale MQX RTOS support
    GDB target description support for MIPS
    The last created target is auto-selected as the current

Flash Layer:

    nRF51 async loader to improve flashing performance and stability
    Cypress PSoC 41xx/42xx and CCG1 families flash driver
    Silabs SiM3 family flash driver
    Marvell Wireless Microcontroller SPI flash driver
    Kinetis mass erase (part unsecuring) implemented
    lpcspifi stability fixes
    STM32 family sync with reference manuals, L0 support, bugfixes
    LPC2000 driver automatically determines part and flash size
    NXP LPC11(x)xx, LPC13xx, LPC15xx, LPC8xx, LPC5410x, LPC407x support
    Atmel SAMD, SAMR, SAML21 devices support
    Atmel SAM4E16 support
    ZeroGecko family support
    TI Tiva C Blizzard and Snowflake families support
    Nuvoton NuMicro M051 support
    EZR32 support in EFM32 driver

Board, Target, and Interface Configuration Scripts:

    Normal target configs can work with HLA (STLink, ICDI) adapters
    STM32 discovery and Nucleo boards configs
    Gumstix AeroCore board config
    General Plus GP326XXXA target config
    Micrel KS869x target config
    ASUS RT-N66U board config
    Atmel SAM4E-EK board config
    Atmel AT91SAM4L proper reset handling implemented
    TI OMAP/AM 3505, 3517 target configs
    nRF51822-mKIT board config
    RC Module 1879-1 target config
    TI TMDX570LS20SUSB board config
    TI TMS570 USB Kit board config
    TI CC2538, CC26xx target configs
    TI AM437x major config improvements, DDR support
    TI AM437X IDK board config
    TI SimpleLink Wi-Fi CC3200 LaunchPad configs
    Silicon Labs EM357, EM358 target configs
    Infineon XMC1000, XMC4000 family targets and boards configs
    Atheros AR9331 target config
    TP-LINK TL-MR3020 board config
    Alphascale asm9260t target and eval kit configs
    Olimex SAM7-LA2 (AT91SAM7A2) board config
    EFM32 Gecko boards configs
    Spansion FM4 target and SK-FM4-176L-S6E2CC board configs
    LPC1xxx target configs were restructured
    IoT-LAB debug adapter config
    DP BusBlaster KT-Link compatible config

Server Layer:

    Polling period can be configured
    shutdown command has an immediate effect
    The program command doesn't lead to a shutdown by default, use optional exit \ 
parameter for the old behaviour
    Proper OS signal handling was implemented
    Async target notifications for the Tcl RPC