Port details on branch 2024Q4 |
- openocd Open On-Chip Debugger
- 0.12.0_5 devel =0 0.12.0_5Version of this port present on the latest quarterly branch.
- Maintainer: jbo@FreeBSD.org
- Port Added: 2024-12-23 13:06:06
- Last Update: 2024-12-23 13:02:37
- Commit Hash: e328e7c
- License: GPLv2
- WWW:
- https://openocd.sf.net
- Description:
- The Open On-Chip Debugger (OpenOCD) aims to provide debugging, in-system
programming and boundary-scan testing for embedded target devices. OpenOCD
uses a "hardware interface dongle" to communicate with the JTAG (IEEE 1149.1)
compliant taps on your target board. OpenOCD currently supports many types
of hardware dongles: USB based, parallel port based, and other standalone boxes
that run OpenOCD internally. It allows MIPS, ARM7, ARM9, XScale and Cortex
based cores to be debugged via the GDB protocol. Flash writing is supported
for external CFI compatible NOR flashes, NAND and several internal flashes.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/devel/openocd/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/openocd
- pkg install openocd
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: openocd
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1699915116
SHA256 (openocd-0.12.0.tar.bz2) = af254788be98861f2bd9103fe6e60a774ec96a8c374744eef9197f6043075afa
SIZE (openocd-0.12.0.tar.bz2) = 6790673
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.4.1 : devel/gmake
- makeinfo : print/texinfo
- pkgconf>=1.3.0_1 : devel/pkgconf
- Runtime dependencies:
-
- indexinfo : print/indexinfo
- Library dependencies:
-
- libftdi.so : devel/libftdi
- libhidapi.so : comms/hidapi
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for openocd-0.12.0_5:
====> Build with debugging support
VERBOSE_JTAGIO=off: Enable verbose JTAG I/O messages
VERBOSE_USBIO=off: Enable verbose USB I/O messages
VERBOSE_USBCOMM=off: Enable verbose USB communication messages
====> Hardware adapters/programmers/debuggers support
BITBANG_REMOTE=on: Remote bitbang driver
LIBUSB=on: Adapters using libusb
LIBHIDAPI=on: Adapters using libhidapi
LIBFTDI=on: Adapters using libftdi
SERIAL=on: Adapters using serial port
PARPORT=off: Adapters using parallel port
====> Jim Tcl interpreter: you have to select exactly one of them
JIMTCL_INTERNAL=on: Internal
JIMTCL_EXTERNAL=off: External
===> Use 'make config' to modify these settings
- Options name:
- devel_openocd
- USES:
- gmake libtool makeinfo pkgconfig tar:bzip2
- pkg-message:
- For install:
- OpenOCD is now installed, this software can damage your hardware, enjoy!
User's guide is at:
http://openocd.sourceforge.net/documentation/online-docs/
Developer's guide is at:
http://openocd.sourceforge.net/documentation/openocd-reference-manual/
FreeBSD USB NOTE:
To allow an ordinary user to acces any of the the hotplug USB interface
add him/her to the operator group (pw groupmod operator -m username), then
setup the devfs subsystem by adding these lines to the following files:
***/etc/devfs.rules:
[localrules=10]
add path 'ugen*' mode 0660 group operator
add path 'usb/*' mode 0660 group operator
add path 'usb' mode 0770 group operator
***/etc/rc.conf:
devfs_system_ruleset="localrules"
- Master Sites:
|