target: add generic Xtensa LX support 55/7055/18
authorIan Thompson <ianst@cadence.com>
Sat, 25 Jun 2022 05:27:32 +0000 (22:27 -0700)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 20 Aug 2022 15:38:41 +0000 (15:38 +0000)
commitce5ca9f7ba782ea9fba8ecd5fc1cb9407fd27949
tree4bffcfcf737def7c23ccc7b1b53c8a56e0a63ee9
parentbe2e5c6c35f77fecb4df2a19cec05cceac500ca9
target: add generic Xtensa LX support

Generic Xtensa LX support extends the original Espressif/Xtensa
patch-set to support arbitrary Xtensa configurations, as defined in
a core-specific .cfg file.  Not yet fully-featured.  Additional
functionality to be added:
- Xtensa NX support
- DAP/SWD support
- File-IO support
- Generic Xtensa multi-core support

Valgrind-clean, no new Clang analyzer warnings

Signed-off-by: Ian Thompson <ianst@cadence.com>
Change-Id: I08e7bf8fa57c25b5d0cb75a1aa7a2ac13a380c52
Reviewed-on: https://review.openocd.org/c/openocd/+/7055
Tested-by: jenkins
Reviewed-by: Erhan Kurubas <erhan.kurubas@espressif.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
25 files changed:
doc/openocd.texi
src/target/espressif/Makefile.am
src/target/espressif/esp32.c
src/target/espressif/esp32.h [deleted file]
src/target/espressif/esp32s2.c
src/target/espressif/esp32s2.h [deleted file]
src/target/espressif/esp32s3.c
src/target/espressif/esp32s3.h [deleted file]
src/target/espressif/esp_xtensa.c
src/target/espressif/esp_xtensa.h
src/target/espressif/esp_xtensa_smp.c
src/target/espressif/esp_xtensa_smp.h
src/target/target.c
src/target/xtensa/Makefile.am
src/target/xtensa/xtensa.c
src/target/xtensa/xtensa.h
src/target/xtensa/xtensa_chip.c [new file with mode: 0644]
src/target/xtensa/xtensa_chip.h [new file with mode: 0644]
src/target/xtensa/xtensa_regs.h
tcl/target/esp32.cfg
tcl/target/esp32s2.cfg
tcl/target/esp32s3.cfg
tcl/target/xtensa-core-esp32.cfg [new file with mode: 0644]
tcl/target/xtensa-core-esp32s2.cfg [new file with mode: 0644]
tcl/target/xtensa-core-esp32s3.cfg [new file with mode: 0644]

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)