Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge up to ac63cd00d792331914db0b6edd3f427c30eec3fa from upstream #1116

Merged
merged 52 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
23c33e1
target/cortex_m: workaround Cortex-M7 erratum 3092511
tom-van Jun 10, 2024
c9f22c7
doc: document 'target create' flags '-dbgbase' and '-coreid'
borneoa Feb 3, 2024
2fe392e
flash: psoc6: drop use of 'coreid' to identify the CPU
borneoa Feb 3, 2024
31e0fc4
doc: Remove outdated '-pipe' option
zapb-0 Jun 19, 2024
636f003
AUTHORS: Refer to source code and Git history
zapb-0 Jun 18, 2024
6ed0589
doc: Refurbish manual page
zapb-0 Jun 18, 2024
990869f
openocd: build: prevent old clone to fail on git submodules
borneoa Jun 21, 2024
7957208
openocd: fix some coding style
zqb-all Apr 10, 2023
4d99e77
jtag/hla: Restructure commands
zapb-0 Nov 9, 2023
ed80a18
tcl: Replace 'hla_' prefix with 'hla' command group
zapb-0 Jun 14, 2024
df7a31f
target: cortex_m: fix detection of STAR-MC1 device
borneoa Jun 4, 2024
fbb16b0
target: cortex_m: add detection for Cortex-M52
borneoa Jun 4, 2024
6da4025
target: cortex_m: replace 'implementor' with 'implementer'
borneoa Jun 4, 2024
c322060
target/xtensa: flag additional write-only registers
ianstcdns May 14, 2024
f09ccc8
flash/nor/nrf5: split chip and bank probes
tom-van Jun 8, 2024
c97a8ff
flash/nor/nrf5: remove asserts on dereferenced pointers
tom-van Jun 8, 2024
53b94fa
binarybuffer: Fix str_to_buf() parsing function
Jun 3, 2024
2992ec9
jtag/drivers/mpsse: Added FT4232HA
jonyscathe May 1, 2024
44cfdef
server/gdb: Restructure commands
zapb-0 Jun 14, 2024
b764fc2
tcl: Replace 'gdb_' prefix with 'gdb' command group
zapb-0 Jun 14, 2024
73b1519
server/tcl: Restructure commands
zapb-0 Jun 17, 2024
40a6af6
tcl: Replace 'tcl_' prefix with 'tcl' command group
zapb-0 Jun 17, 2024
812fad0
tcl/board: Add am62p/am62a7/j722s native swd configuration
nmenon May 16, 2024
7f2d3e2
rtos/hwthread: derive threadid from SMP index
en-sc Oct 31, 2023
6554d17
flash/stm32l4x: support STM32U59/U5Ax devices
tarek-bochkati Dec 3, 2021
052a4a6
flash/stm32l4x: support STM32U53/U54x devices
tarek-bochkati Apr 28, 2023
5b7b773
cortex_m: fix scan-build false positive
borneoa Jul 13, 2024
4c6646f
doc: fix makeinfo warning
borneoa Jul 14, 2024
2cbfd14
jep106: update to revision JEP106BJ.01 July 2024
borneoa Jul 18, 2024
16c114c
flash/startup.tcl: Tidy flash program preverify documentation
grantramsay Jun 25, 2024
a8a0b4c
configure: Use pkg-config for jimtcl
zapb-0 Jul 2, 2024
1b5c137
tcl/target: add initial Bouffalo Lab BL702 chip series support
gamelaster Jul 20, 2024
13f9f29
checkpatch: extend checks to TCL, Makefile.am and configure.ac files
borneoa Jul 21, 2024
4c77f94
tcl: fix minor typos and repeated words
borneoa Jul 21, 2024
5543bb4
doc: Makefile.am: add SPDX license
borneoa Jul 21, 2024
882749d
uncrustify.cfg: add SPDX license
borneoa Jul 21, 2024
632df9e
jtag: Use bool data type for 'jtag_verify'
zapb-0 Jul 17, 2024
4fac138
jtag: Use 'unsigned int' for 'abs_chain_position'
zapb-0 Jul 17, 2024
4245034
jtag: Use 'unsigned int' for 'ir_length'
zapb-0 Jul 17, 2024
0847a4d
jtag/commands: Use 'unsigned int' data type
zapb-0 Jul 17, 2024
9ef59da
target/avrt: Remove unused parameter 'rti'
zapb-0 Jul 21, 2024
7d56407
jtag: Use 'unsigned int' for 'scan_field.num_bits'
zapb-0 Jul 21, 2024
2b6d63a
jtag: Use 'unsigned int' data type
zapb-0 Jul 22, 2024
fc0ec6c
adapter/jlink: Use COMMAND_PARSE_* instead of sscanf()
zapb-0 Jul 22, 2024
4cab20b
adapter/jlink: Allow to determine the target power state
zapb-0 Jul 24, 2024
5b3d503
doc: Add 'jlink targetpower' command
zapb-0 Jul 24, 2024
d5adab6
target/breakpoints: Fix 'orig_instr' output
zapb-0 Apr 21, 2024
b9224c0
transport: Remove echo in transport selection
zapb-0 Apr 15, 2024
efe9022
server/telnet: Always allow 'exit' command
zapb-0 Jun 24, 2024
ac63cd0
tcl/interface/raspberrypi5-gpiod: fix string match pattern escaping
tom-van Aug 2, 2024
9740a4d
Merge up to ac63cd00d792331914db0b6edd3f427c30eec3fa from upstream
aap-sc Aug 20, 2024
0fb31af
fixed compilation failure due to signed/unsigned comparison warning
aap-sc Aug 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,12 +1,2 @@
Dominic Rath <[email protected]>
Magnus Lundin <[email protected]>
Michael Fischer <[email protected]>
Spencer Oliver <[email protected]>
Carsten Schlote <[email protected]>
Øyvind Harboe <[email protected]>
Duane Ellis <[email protected]>
Michael Schwingen <[email protected]>
Rick Altherr <[email protected]>
David Brownell <[email protected]>
Vincint Palatin <[email protected]>
Zachary T Welch <[email protected]>
Please check the source code files and/or Git history for a list of all authors
and contributors.
2 changes: 2 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ AM_CPPFLAGS = $(HOST_CPPFLAGS)\
if INTERNAL_JIMTCL
AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \
-I$(top_builddir)/jimtcl
else
AM_CPPFLAGS += $(JIMTCL_CFLAGS)
endif
EXTRA_DIST += \
BUGS \
Expand Down
4 changes: 2 additions & 2 deletions bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ if [ -n "$SKIP_SUBMODULE" ]; then
echo "Skipping submodule setup"
else
echo "Setting up submodules"
git submodule init
git submodule update
git submodule sync
git submodule update --init
fi

if [ -x src/jtag/drivers/libjaylink/autogen.sh ]; then
Expand Down
10 changes: 10 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,15 @@ AS_IF([test "x$use_internal_jimtcl" = "xyes"], [
], [
AC_MSG_ERROR([jimtcl not found, run git submodule init and git submodule update.])
])
], [
PKG_CHECK_MODULES([JIMTCL], [jimtcl >= 0.79], [
have_jimtcl_pkg_config=yes
], [
have_jimtcl_pkg_config=no
AC_CHECK_HEADER([jim.h], [], [
AC_MSG_ERROR([jimtcl is required but not found via pkg-config and system includes])
])
])
])

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

AM_CONDITIONAL([INTERNAL_JIMTCL], [test "x$use_internal_jimtcl" = "xyes"])
AM_CONDITIONAL([HAVE_JIMTCL_PKG_CONFIG], [test "x$have_jimtcl_pkg_config" = "xyes"])
AM_CONDITIONAL([INTERNAL_LIBJAYLINK], [test "x$use_internal_libjaylink" = "xyes"])

# Look for environ alternatives. Possibility #1: is environ in unistd.h or stdlib.h?
Expand Down
21 changes: 21 additions & 0 deletions contrib/60-openocd.rules
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,27 @@ ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014", MODE="660", GROUP="plugdev",
# Original FT231XQ VID:PID
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", MODE="660", GROUP="plugdev", TAG+="uaccess"

# Original FT2233HP VID:PID
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6040", MODE="660", GROUP="plugdev", TAG+="uaccess"

# Original FT4233HP VID:PID
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6041", MODE="660", GROUP="plugdev", TAG+="uaccess"

# Original FT2232HP VID:PID
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6042", MODE="660", GROUP="plugdev", TAG+="uaccess"

# Original FT4232HP VID:PID
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6043", MODE="660", GROUP="plugdev", TAG+="uaccess"

# Original FT233HP VID:PID
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6044", MODE="660", GROUP="plugdev", TAG+="uaccess"

# Original FT232HP VID:PID
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6045", MODE="660", GROUP="plugdev", TAG+="uaccess"

# Original FT4232HA VID:PID
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6048", MODE="660", GROUP="plugdev", TAG+="uaccess"

# DISTORTEC JTAG-lock-pick Tiny 2
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="8220", MODE="660", GROUP="plugdev", TAG+="uaccess"

Expand Down
2 changes: 2 additions & 0 deletions doc/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later

info_TEXINFOS += %D%/openocd.texi
%C%_openocd_TEXINFOS = %D%/fdl.texi

Expand Down
21 changes: 7 additions & 14 deletions doc/openocd.1
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
.TH "OPENOCD" "1" "November 24, 2009"
.TH "OPENOCD" "1" "June 18, 2024"
.SH "NAME"
openocd \- A free and open on\-chip debugging, in\-system programming and
boundary\-scan testing tool for ARM and MIPS systems
boundary\-scan testing tool for microcontrollers and other embedded devices
.SH "SYNOPSIS"
.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]
.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]
.SH "DESCRIPTION"
.B OpenOCD
is an on\-chip debugging, in\-system programming and boundary\-scan
testing tool for various ARM and MIPS systems.
testing tool for various microcontrollers and other embedded devices.
.PP
The debugger uses an IEEE 1149\-1 compliant JTAG TAP bus master to access
on\-chip debug functionality available on ARM based microcontrollers or
system-on-chip solutions. For MIPS systems the EJTAG interface is supported.
Various different types of debug adapters as well as transport protocols like
JTAG and SWD are supported by OpenOCD, please check the \fIopenocd\fR info page
for the complete list.
.PP
User interaction is realized through a telnet command line interface,
a gdb (the GNU debugger) remote protocol server, and a simplified RPC
connection that can be used to interface with OpenOCD's Jim Tcl engine.
.PP
OpenOCD supports various different types of JTAG interfaces/programmers,
please check the \fIopenocd\fR info page for the complete list.
.SH "OPTIONS"
.TP
.B "\-f, \-\-file <filename>"
Expand Down Expand Up @@ -68,8 +65,6 @@ Note that you will need to explicitly invoke
.I init
if the command requires access to a target or flash.
.TP
.B "\-p, \-\-pipe"
Use pipes when talking to gdb.
.TP
.B "\-h, \-\-help"
Show a help text and exit.
Expand All @@ -82,8 +77,6 @@ Please report any bugs on the mailing list at
.SH "LICENCE"
.B OpenOCD
is covered by the GNU General Public License (GPL), version 2 or later.
.SH "SEE ALSO"
.BR jtag (1)
.PP
The full documentation for
.B openocd
Expand Down
Loading
Loading