Skip to content

Commit 38bd4b4

Browse files
authored
Merge pull request #1116 from aap-sc/aap-sc/aug_upstream_sync
Merge up to ac63cd0 from upstream
2 parents e07d70e + 0fb31af commit 38bd4b4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+1362
-757
lines changed

AUTHORS

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,2 @@
1-
Dominic Rath <Dominic.Rath@gmx.de>
2-
Magnus Lundin <lundin@mlu.mine.nu>
3-
Michael Fischer <fischermi@t-online.de>
4-
Spencer Oliver <spen@spen-soft.co.uk>
5-
Carsten Schlote <schlote@vahanus.net>
6-
Øyvind Harboe <oyvind.harboe@zylin.com>
7-
Duane Ellis <openocd@duaneellis.com>
8-
Michael Schwingen <michael@schwingen.org>
9-
Rick Altherr <kc8apf@users.berlios.de>
10-
David Brownell <dbrownell@users.sourceforge.net>
11-
Vincint Palatin <vpalatin@users.berlios.de>
12-
Zachary T Welch <zw@superlucidity.net>
1+
Please check the source code files and/or Git history for a list of all authors
2+
and contributors.

Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ AM_CPPFLAGS = $(HOST_CPPFLAGS)\
5050
if INTERNAL_JIMTCL
5151
AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \
5252
-I$(top_builddir)/jimtcl
53+
else
54+
AM_CPPFLAGS += $(JIMTCL_CFLAGS)
5355
endif
5456
EXTRA_DIST += \
5557
BUGS \

bootstrap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ if [ -n "$SKIP_SUBMODULE" ]; then
3838
echo "Skipping submodule setup"
3939
else
4040
echo "Setting up submodules"
41-
git submodule init
42-
git submodule update
41+
git submodule sync
42+
git submodule update --init
4343
fi
4444

4545
if [ -x src/jtag/drivers/libjaylink/autogen.sh ]; then

configure.ac

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,15 @@ AS_IF([test "x$use_internal_jimtcl" = "xyes"], [
595595
], [
596596
AC_MSG_ERROR([jimtcl not found, run git submodule init and git submodule update.])
597597
])
598+
], [
599+
PKG_CHECK_MODULES([JIMTCL], [jimtcl >= 0.79], [
600+
have_jimtcl_pkg_config=yes
601+
], [
602+
have_jimtcl_pkg_config=no
603+
AC_CHECK_HEADER([jim.h], [], [
604+
AC_MSG_ERROR([jimtcl is required but not found via pkg-config and system includes])
605+
])
606+
])
598607
])
599608

600609
AS_IF([test "x$build_remote_bitbang" = "xyes"], [
@@ -782,6 +791,7 @@ AM_CONDITIONAL([DMEM], [test "x$build_dmem" = "xyes"])
782791
AM_CONDITIONAL([HAVE_CAPSTONE], [test "x$enable_capstone" != "xno"])
783792

784793
AM_CONDITIONAL([INTERNAL_JIMTCL], [test "x$use_internal_jimtcl" = "xyes"])
794+
AM_CONDITIONAL([HAVE_JIMTCL_PKG_CONFIG], [test "x$have_jimtcl_pkg_config" = "xyes"])
785795
AM_CONDITIONAL([INTERNAL_LIBJAYLINK], [test "x$use_internal_libjaylink" = "xyes"])
786796

787797
# Look for environ alternatives. Possibility #1: is environ in unistd.h or stdlib.h?

contrib/60-openocd.rules

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,27 @@ ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014", MODE="660", GROUP="plugdev",
2929
# Original FT231XQ VID:PID
3030
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", MODE="660", GROUP="plugdev", TAG+="uaccess"
3131

32+
# Original FT2233HP VID:PID
33+
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6040", MODE="660", GROUP="plugdev", TAG+="uaccess"
34+
35+
# Original FT4233HP VID:PID
36+
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6041", MODE="660", GROUP="plugdev", TAG+="uaccess"
37+
38+
# Original FT2232HP VID:PID
39+
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6042", MODE="660", GROUP="plugdev", TAG+="uaccess"
40+
41+
# Original FT4232HP VID:PID
42+
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6043", MODE="660", GROUP="plugdev", TAG+="uaccess"
43+
44+
# Original FT233HP VID:PID
45+
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6044", MODE="660", GROUP="plugdev", TAG+="uaccess"
46+
47+
# Original FT232HP VID:PID
48+
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6045", MODE="660", GROUP="plugdev", TAG+="uaccess"
49+
50+
# Original FT4232HA VID:PID
51+
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6048", MODE="660", GROUP="plugdev", TAG+="uaccess"
52+
3253
# DISTORTEC JTAG-lock-pick Tiny 2
3354
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="8220", MODE="660", GROUP="plugdev", TAG+="uaccess"
3455

doc/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
13
info_TEXINFOS += %D%/openocd.texi
24
%C%_openocd_TEXINFOS = %D%/fdl.texi
35

doc/openocd.1

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
1-
.TH "OPENOCD" "1" "November 24, 2009"
1+
.TH "OPENOCD" "1" "June 18, 2024"
22
.SH "NAME"
33
openocd \- A free and open on\-chip debugging, in\-system programming and
4-
boundary\-scan testing tool for ARM and MIPS systems
4+
boundary\-scan testing tool for microcontrollers and other embedded devices
55
.SH "SYNOPSIS"
6-
.B openocd \fR[\fB\-fsdlcphv\fR] [\fB\-\-file\fR <filename>] [\fB\-\-search\fR <dirname>] [\fB\-\-debug\fR <debuglevel>] [\fB\-\-log_output\fR <filename>] [\fB\-\-command\fR <cmd>] [\fB\-\-pipe\fR] [\fB\-\-help\fR] [\fB\-\-version\fR]
6+
.B openocd \fR[\fB\-fsdlchv\fR] [\fB\-\-file\fR <filename>] [\fB\-\-search\fR <dirname>] [\fB\-\-debug\fR <debuglevel>] [\fB\-\-log_output\fR <filename>] [\fB\-\-command\fR <cmd>] [\fB\-\-help\fR] [\fB\-\-version\fR]
77
.SH "DESCRIPTION"
88
.B OpenOCD
99
is an on\-chip debugging, in\-system programming and boundary\-scan
10-
testing tool for various ARM and MIPS systems.
10+
testing tool for various microcontrollers and other embedded devices.
1111
.PP
12-
The debugger uses an IEEE 1149\-1 compliant JTAG TAP bus master to access
13-
on\-chip debug functionality available on ARM based microcontrollers or
14-
system-on-chip solutions. For MIPS systems the EJTAG interface is supported.
12+
Various different types of debug adapters as well as transport protocols like
13+
JTAG and SWD are supported by OpenOCD, please check the \fIopenocd\fR info page
14+
for the complete list.
1515
.PP
1616
User interaction is realized through a telnet command line interface,
1717
a gdb (the GNU debugger) remote protocol server, and a simplified RPC
1818
connection that can be used to interface with OpenOCD's Jim Tcl engine.
19-
.PP
20-
OpenOCD supports various different types of JTAG interfaces/programmers,
21-
please check the \fIopenocd\fR info page for the complete list.
2219
.SH "OPTIONS"
2320
.TP
2421
.B "\-f, \-\-file <filename>"
@@ -68,8 +65,6 @@ Note that you will need to explicitly invoke
6865
.I init
6966
if the command requires access to a target or flash.
7067
.TP
71-
.B "\-p, \-\-pipe"
72-
Use pipes when talking to gdb.
7368
.TP
7469
.B "\-h, \-\-help"
7570
Show a help text and exit.
@@ -82,8 +77,6 @@ Please report any bugs on the mailing list at
8277
.SH "LICENCE"
8378
.B OpenOCD
8479
is covered by the GNU General Public License (GPL), version 2 or later.
85-
.SH "SEE ALSO"
86-
.BR jtag (1)
8780
.PP
8881
The full documentation for
8982
.B openocd

0 commit comments

Comments
 (0)