Skip to content

Commit 9c9fb89

Browse files
dcpleungstephanosio
authored andcommitted
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 <[email protected]>
1 parent de76a4a commit 9c9fb89

File tree

12 files changed

+131453
-0
lines changed

12 files changed

+131453
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ on:
5555
- xtensa-espressif_esp32s3_zephyr-elf
5656
- xtensa-intel_ace15_mtpm_zephyr-elf
5757
- xtensa-intel_s1000_zephyr-elf
58+
- xtensa-intel_tgl_adsp_zephyr-elf
5859
- xtensa-nxp_imx_adsp_zephyr-elf
5960
- xtensa-nxp_imx8m_adsp_zephyr-elf
6061
- xtensa-sample_controller_zephyr-elf
@@ -163,6 +164,7 @@ jobs:
163164
xtensa-espressif_esp32s3_zephyr-elf) build_target_xtensa_espressif_esp32s3_zephyr_elf="y";;
164165
xtensa-intel_ace15_mtpm_zephyr-elf) build_target_xtensa_intel_ace15_mtpm_zephyr_elf="y";;
165166
xtensa-intel_s1000_zephyr-elf) build_target_xtensa_intel_s1000_zephyr_elf="y";;
167+
xtensa-intel_tgl_adsp_zephyr-elf) build_target_xtensa_intel_tgl_adsp_zephyr_elf="y";;
166168
xtensa-nxp_imx_adsp_zephyr-elf) build_target_xtensa_nxp_imx_adsp_zephyr_elf="y";;
167169
xtensa-nxp_imx8m_adsp_zephyr-elf) build_target_xtensa_nxp_imx8m_adsp_zephyr_elf="y";;
168170
xtensa-sample_controller_zephyr-elf) build_target_xtensa_sample_controller_zephyr_elf="y";;
@@ -199,6 +201,7 @@ jobs:
199201
build_target_xtensa_espressif_esp32s3_zephyr_elf="y"
200202
build_target_xtensa_intel_ace15_mtpm_zephyr_elf="y"
201203
build_target_xtensa_intel_s1000_zephyr_elf="y"
204+
build_target_xtensa_intel_tgl_adsp_zephyr_elf="y"
202205
build_target_xtensa_nxp_imx_adsp_zephyr_elf="y"
203206
build_target_xtensa_nxp_imx8m_adsp_zephyr_elf="y"
204207
build_target_xtensa_sample_controller_zephyr_elf="y"
@@ -275,6 +278,7 @@ jobs:
275278
[ "${build_target_xtensa_espressif_esp32s3_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-espressif_esp32s3_zephyr-elf",'
276279
[ "${build_target_xtensa_intel_ace15_mtpm_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-intel_ace15_mtpm_zephyr-elf",'
277280
[ "${build_target_xtensa_intel_s1000_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-intel_s1000_zephyr-elf",'
281+
[ "${build_target_xtensa_intel_tgl_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-intel_tgl_adsp_zephyr-elf",'
278282
[ "${build_target_xtensa_nxp_imx_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_imx_adsp_zephyr-elf",'
279283
[ "${build_target_xtensa_nxp_imx8m_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_imx8m_adsp_zephyr-elf",'
280284
[ "${build_target_xtensa_sample_controller_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-sample_controller_zephyr-elf",'
@@ -1534,6 +1538,9 @@ jobs:
15341538
# board that uses this toolchain.
15351539
# PLATFORM_ARGS+="-p intel_adsp_cavs18 "
15361540
;;
1541+
xtensa-intel_tgl_adsp_zephyr-elf)
1542+
PLATFORM_ARGS+="-p intel_adsp_cavs25 "
1543+
;;
15371544
xtensa-nxp_imx_adsp_zephyr-elf)
15381545
PLATFORM_ARGS+="-p nxp_adsp_imx8 "
15391546
;;
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CT_CONFIG_VERSION="3"
2+
CT_EXPERIMENTAL=y
3+
CT_OVERLAY_LOCATION="overlays"
4+
CT_OVERLAY_NAME="intel_tgl_adsp"
5+
CT_ARCH_XTENSA=y
6+
CT_XTENSA_CUSTOM=y
7+
CT_TARGET_VENDOR="intel_tgl_adsp_zephyr"
8+
CT_TARGET_CFLAGS="-ftls-model=local-exec"
9+
CT_CC_GCC_CONFIG_TLS=n
10+
CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="--enable-xtensa-use-target-regnum --disable-xtensa-remote-g-packet"

0 commit comments

Comments
 (0)