Commit Graph

60 Commits

Author SHA1 Message Date
Vit Stanicek 15daabb558 xtensa: Add nxp_rt600_adsp toolchain
Files taken from "nxp_rt600_RI23_11_newlib_linux.tgz" available from
https://tensilicatools.com.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2023-12-11 15:10:57 +09:00
Iuliana Prodan 600b08ac20 xtensa: nxp_imx8ulp_adsp: Add missing include header
Add missing header to fix imx8ulp_adsp toolchain.

Fixes: e88c208e53 ("xtensa: Add 8ulp_adsp toolchain")
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2023-11-13 18:46:57 +09:00
Iuliana Prodan e88c208e53 xtensa: Add 8ulp_adsp toolchain
Add Xtensa toolchain for the HiFi4 DSP from i.MX8ULP.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2023-10-13 09:41:51 -04:00
Daniel Leung 0f841b6445 xtensa: mtk_mt8195_adsp: unify naming to mtk_mt8195_adsp
This unifies various naming of mt8195 to mtk_mt8195_adsp
which is of scheme xtensa-<vendor>_<soc name>-elf (except
the QEMU cores). This renames the overlay directory, and
updating both the config file and github workflows to
match.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-08-30 17:59:15 -04:00
Andy Ross e8701a7f75 overlays/mt8195_adsp: Fix typo
One byte error in copy/paste code.  Because I'm congenitally unable to
write trivial syntax correctly the first time.  But also because we
have no way to execute this code except inside of a Github CI
container.

Signed-off-by: Andy Ross <andyross@google.com>
2023-08-30 12:19:55 -04:00
Andy Ross 427e9fc455 overlays: mt8195_adsp: Update for gdb 12.1
Update the upstream file to build against recent gdb source (see
e.g. commit 34b88dc6ee ("overlays: xtensa_nxp_imx8m_adsp: gdb:
Update xtensa-config.c")).

Signed-off-by: Andy Ross <andyross@google.com>
2023-08-29 18:43:40 -04:00
Andy Ross 11ad6f1cbf xtensa: Add mt8195_adsp toolchain
Yet another Xtensa SOC for the SDK.  Mostly the same as the other LX
cores, but different enough to not be able to share code. (No MULUH
instruction on this model, which breaks on compiler-generated 64 bit
multiplies).

Signed-off-by: Andy Ross <andyross@google.com>
2023-08-29 18:43:40 -04:00
Daniel Leung b9b150ad31 xtensa: add xtensa_dc233c
This adds config and overlay to support the dc233c core
that is available on QEMU. This core has more features
than sample_controller, such as MMU support.

The overlay comes from:
https://github.com/jcmvbkbc/xtensa-toolchain-build/blob/master/overlays/original/dc233c.tar.gz

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-08-25 22:06:22 -04:00
Daniel Baluta 7d1b95ecfa xtensa: add rt500_adsp toolchain
This adds the Xtensa toolchain for Tensilica Fusion F1 DSP found on NXP
RT500 MCU family.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2023-08-25 16:40:52 -04:00
Daniel Leung 2c676a6d72 xtensa: remove intel_s1000
The intel_s1000 board has been removed from Zephyr main long
time ago, and other boards have been incorrectly using this
toolchain for a while. With the introduction of intel_tgl_adsp
for the intel_adsp_cavs25 board, there is no need for the old
S1000 toolchain anymore. So remove.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-04-22 22:08:09 +09:00
Daniel Leung 9c9fb89a01 xtensa: add intel_tgl_adsp
This adds the config and overlay to build the toolchain for
the audio DSP on Intel Tiger Lake SoC, which is used by
the intel_adsp_cavs25 board in Zephyr main.

The overlay archive is from branch sof-gcc10.2,
commit 726dd0c8786c2e41c109b3d4bc3ce8edfd6e1b6b at
https://github.com/thesofproject/xtensa-overlay, file
xtensa_lx7hifi4.tar.gz.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-04-22 22:08:09 +09:00
Daniel Leung de76a4a218 xtensa: remove intel_apl_adsp
The intel_adsp_cavs15 has been removed from Zephyr main which is
the only board using this toolchain. So remove.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-04-22 22:08:09 +09:00
Daniel Leung 6b32f32a76 xtensa: add xtensa-intel_ace15_mtpm_zephyr-elf
This adds the config and overlay files to enable building
the toolchain needed for the intel_adsp_ace15_mtpm board
in Zephyr.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-03-23 16:28:20 +09:00
Sylvio Alves 08edc9d3b8 overlays: xtensa_espressif_esp32s3: gdb: rename xtensa-xtregs file
'xtensa-xtregs.c` file has been renamed to `xtensa-xtregs.cc` to meet
GDB specs.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2023-03-07 16:43:59 +09:00
Sylvio Alves d61334773d overlays: xtensa_espressif_esp32s3: gdb: update xtensa-config.c
This commit updates the `xtensa_tdep` global variable definition in the
GDB `xtensa-config.c` to use the new type introduced in GDB 12.1.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2023-03-07 16:43:59 +09:00
Sylvio Alves 22fb292ca1 espressif: add esp32s3 toolchain files
This brings ESP32-S3 overlays, CI and configurations.

Overlay URL:
https://github.com/espressif/xtensa-overlays/tree/master/xtensa_esp32s3
commit: a5ab689f009c89712b0e9d4a3bb06e70b2931fcf

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2023-03-07 16:43:59 +09:00
Daniel Leung eb98aaa5ef xtensa: remove unused intel_bdw and intel_byt
Both intel_bdw and intel_byt are not being used in upstream
Zephyr project. So there is no need to build them.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2022-11-29 12:53:48 +09:00
Stephanos Ioannidis 1643afa83a overlays: xtensa_espressif_esp32s2: gdb: Relocate gdbserver files
This commit relocates the gdbserver `xtensa-xtregs.c`, which was
previously located under `gdb/gdbserver` to `gdbserver` as required by
the GDB 12.1.

Also note that the `xtensa-xtregs.c` file has been renamed to
`xtensa-xtregs.cc`.

The `xtensa-regmap.c` file is removed because it is not used anywhere.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis 2849d32477 overlays: xtensa_espressif_esp32s2: gdb: Update xtensa-config.c
This commit updates the `xtensa_tdep` global variable definition in the
GDB `xtensa-config.c` to use the new type introduced in GDB 12.1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis 194b204a33 overlays: xtensa_espressif_esp32: gdb: Relocate gdbserver files
This commit relocates the gdbserver `xtensa-xtregs.c`, which was
previously located under `gdb/gdbserver` to `gdbserver` as required by
the GDB 12.1.

Also note that the `xtensa-xtregs.c` file has been renamed to
`xtensa-xtregs.cc`.

The `xtensa-regmap.c` file is removed because it is not used anywhere.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis c1122a584d overlays: xtensa_espressif_esp32: gdb: Update xtensa-config.c
This commit updates the `xtensa_tdep` global variable definition in the
GDB `xtensa-config.c` to use the new type introduced in GDB 12.1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis 91772125c4 overlays: xtensa_nxp_imx8m_adsp: Remove unused directories
This commit removes the `linux` and `u-boot` overlay directories
because these components are not part of the Zephyr SDK and never used
by it.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis 0d393ab07b overlays: xtensa_nxp_imx8m_adsp: gdb: Relocate gdbserver files
This commit relocates the gdbserver `xtensa-xtregs.c`, which was
previously located under `gdb/gdbserver` to `gdbserver` as required by
the GDB 12.1.

Also note that the `xtensa-xtregs.c` file has been renamed to
`xtensa-xtregs.cc`.

The `xtensa-regmap.c` file is removed because it is not used anywhere.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis 34b88dc6ee overlays: xtensa_nxp_imx8m_adsp: gdb: Update xtensa-config.c
This commit updates the `xtensa_tdep` global variable definition in the
GDB `xtensa-config.c` to use the new type introduced in GDB 12.1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis e2c92c1736 overlays: xtensa_nxp_imx_adsp: Remove unused directories
This commit removes the `linux` and `u-boot` overlay directories
because these components are not part of the Zephyr SDK and never used
by it.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis c6fcffb3f8 overlays: xtensa_nxp_imx_adsp: gdb: Relocate gdbserver files
This commit relocates the gdbserver `xtensa-xtregs.c`, which was
previously located under `gdb/gdbserver` to `gdbserver` as required by
the GDB 12.1.

Also note that the `xtensa-xtregs.c` file has been renamed to
`xtensa-xtregs.cc`.

The `xtensa-regmap.c` file is removed because it is not used anywhere.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis c41a567944 overlays: xtensa_nxp_imx_adsp: gdb: Update xtensa-config.c
This commit updates the `xtensa_tdep` global variable definition in the
GDB `xtensa-config.c` to use the new type introduced in GDB 12.1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis 984c18d009 overlays: xtensa_intel_s1000: Remove unused directories
This commit removes the `linux` and `u-boot` overlay directories
because these components are not part of the Zephyr SDK and never used
by it.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis 892dbd5a57 overlays: xtensa_intel_s1000: gdb: Relocate gdbserver files
This commit relocates the gdbserver `xtensa-xtregs.c`, which was
previously located under `gdb/gdbserver` to `gdbserver` as required by
the GDB 12.1.

Also note that the `xtensa-xtregs.c` file has been renamed to
`xtensa-xtregs.cc`.

The `xtensa-regmap.c` file is removed because it is not used anywhere.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis 85aebed115 overlays: xtensa_intel_s1000: gdb: Update xtensa-config.c
This commit updates the `xtensa_tdep` global variable definition in the
GDB `xtensa-config.c` to use the new type introduced in GDB 12.1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis d763a28921 overlays: xtensa_intel_byt_adsp: Remove unused directories
This commit removes the `linux` and `u-boot` overlay directories
because these components are not part of the Zephyr SDK and never used
by it.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis 4bf7a8c25e overlays: xtensa_intel_byt_adsp: gdb: Relocate gdbserver files
This commit relocates the gdbserver `xtensa-xtregs.c`, which was
previously located under `gdb/gdbserver` to `gdbserver` as required by
the GDB 12.1.

Also note that the `xtensa-xtregs.c` file has been renamed to
`xtensa-xtregs.cc`.

The `xtensa-regmap.c` file is removed because it is not used anywhere.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis e3f23a6d0d overlays: xtensa_intel_byt_adsp: gdb: Update xtensa-config.c
This commit updates the `xtensa_tdep` global variable definition in the
GDB `xtensa-config.c` to use the new type introduced in GDB 12.1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis a701261572 overlays: xtensa_intel_bdw_adsp: gdb: Relocate gdbserver files
This commit relocates the gdbserver `xtensa-xtregs.c`, which was
previously located under `gdb/gdbserver` to `gdbserver` as required by
the GDB 12.1.

Also note that the `xtensa-xtregs.c` file has been renamed to
`xtensa-xtregs.cc`.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis e984ac114d overlays: xtensa_intel_bdw_adsp: gdb: Update xtensa-config.c
This commit updates the `xtensa_tdep` global variable definition in the
GDB `xtensa-config.c` to use the new type introduced in GDB 12.1, and
adds the missing `defs.h` include.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis 42c06a08a6 overlays: xtensa_intel_apl_adsp: Remove unused directories
This commit removes the `linux` and `u-boot` overlay directories
because these components are not part of the Zephyr SDK and never used
by it.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis edad5134c1 overlays: xtensa_intel_apl_adsp: gdb: Relocate gdbserver files
This commit relocates the gdbserver `xtensa-xtregs.c`, which was
previously located under `gdb/gdbserver` to `gdbserver` as required by
the GDB 12.1.

Also note that the `xtensa-xtregs.c` file has been renamed to
`xtensa-xtregs.cc`.

The `xtensa-regmap.c` file is removed because it is not used anywhere.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis fd81be4b13 overlays: xtensa_intel_apl_adsp: gdb: Update xtensa-config.c
This commit updates the `xtensa_tdep` global variable definition in the
GDB `xtensa-config.c` to use the new type introduced in GDB 12.1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis 63d5bfd786 overlays: xtensa_sample_controller: Remove unused directories
This commit removes the `linux` and `u-boot` overlay directories
because these components are not part of the Zephyr SDK and never used
by it.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis 971ad038e9 overlays: xtensa_sample_controller: gdb: Relocate gdbserver files
This commit relocates the gdbserver `xtensa-xtregs.c`, which was
previously located under `gdb/gdbserver` to `gdbserver` as required by
the GDB 12.1.

Also note that the `xtensa-xtregs.c` file has been renamed to
`xtensa-xtregs.cc`.

The `xtensa-regmap.c` file is removed because it is not used anywhere.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis 4f0d508673 overlays: xtensa_sample_controller: gdb: Update xtensa-config.c
This commit updates the `xtensa_tdep` global variable definition in the
GDB `xtensa-config.c` to use the new type introduced in GDB 12.1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis 6003fc4505 overlay: Use Markdown syntax in README
This commit updates the toolchain overlay README to use the Markdown
syntax.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-25 00:05:09 +09:00
Stephanos Ioannidis ffcdb0e61a overlays: Convert xtensa_espressif_esp32s2 overlay to directory
crosstool-ng allows specifying a toolchain overlay as a directory.

This commit extracts contents of the toolchain overlay archive file
into the corresponding directory so that any changes to the overlay
itself can be tracked in the version control system.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-25 00:05:09 +09:00
Stephanos Ioannidis 978d239a51 overlays: Convert xtensa_espressif_esp32 overlay to directory
crosstool-ng allows specifying a toolchain overlay as a directory.

This commit extracts contents of the toolchain overlay archive file
into the corresponding directory so that any changes to the overlay
itself can be tracked in the version control system.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-25 00:05:09 +09:00
Stephanos Ioannidis 6972bad759 overlays: Convert xtensa_nxp_imx8m_adsp overlay to directory
crosstool-ng allows specifying a toolchain overlay as a directory.

This commit extracts contents of the toolchain overlay archive file
into the corresponding directory so that any changes to the overlay
itself can be tracked in the version control system.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-25 00:05:09 +09:00
Stephanos Ioannidis 292512668f overlays: Convert xtensa_nxp_imx_adsp overlay to directory
crosstool-ng allows specifying a toolchain overlay as a directory.

This commit extracts contents of the toolchain overlay archive file
into the corresponding directory so that any changes to the overlay
itself can be tracked in the version control system.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-25 00:05:09 +09:00
Stephanos Ioannidis 82f14a2874 overlays: Convert xtensa_intel_s1000 overlay to directory
crosstool-ng allows specifying a toolchain overlay as a directory.

This commit extracts contents of the toolchain overlay archive file
into the corresponding directory so that any changes to the overlay
itself can be tracked in the version control system.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-25 00:05:09 +09:00
Stephanos Ioannidis bb34182705 overlays: Convert xtensa_intel_byt_adsp overlay to directory
crosstool-ng allows specifying a toolchain overlay as a directory.

This commit extracts contents of the toolchain overlay archive file
into the corresponding directory so that any changes to the overlay
itself can be tracked in the version control system.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-25 00:05:09 +09:00
Stephanos Ioannidis 6822c351af overlays: Convert xtensa_intel_bdw_adsp overlay to directory
crosstool-ng allows specifying a toolchain overlay as a directory.

This commit extracts contents of the toolchain overlay archive file
into the corresponding directory so that any changes to the overlay
itself can be tracked in the version control system.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-25 00:05:09 +09:00
Stephanos Ioannidis 59f4fe4cde overlays: Convert xtensa_intel_apl_adsp overlay to directory
crosstool-ng allows specifying a toolchain overlay as a directory.

This commit extracts contents of the toolchain overlay archive file
into the corresponding directory so that any changes to the overlay
itself can be tracked in the version control system.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-25 00:05:09 +09:00