Skip to content

Commit 9d39988

Browse files
lrgirdwogalak
authored andcommitted
xtensa: add config nxp_imx_adsp
This adds the config ti build the toolchain for the Audio DSP on the NXP imx platform. The overlay is taken from the sof-gcc9x branch, commit f16cbc7dd794d0292be3613d6eeac986841f5492 The config has the selections of tools and their versions from the Sound Open Firmware project. Signed-off-by: Liam Girdwood <[email protected]>
1 parent 2c2e43f commit 9d39988

File tree

7 files changed

+1986
-1
lines changed

7 files changed

+1986
-1
lines changed

.shippable.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818
- TARGET=xtensa_intel_bdw_adsp
1919
- TARGET=xtensa_intel_byt_adsp
2020
- TARGET=xtensa_intel_s1000
21+
- TARGET=xtensa_nxp_imx_adsp
2122
- TARGET="tools"
2223

2324
build:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Currently we build the following toolchains:
1515
- riscv64
1616
- sparc
1717
- xtensa (sample_controller, intel_apl_adsp, intel_s1000, intel_bdw_adsp,
18-
intel_byt_adsp)
18+
intel_byt_adsp, nxp_imx_adsp)
1919

2020
To build for any of the above, run:
2121

configs/xtensa_nxp_imx_adsp.config

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
CT_CONFIG_VERSION="3"
2+
CT_OBSOLETE=y
3+
CT_EXPERIMENTAL=y
4+
CT_LOCAL_TARBALLS_DIR="${OUTPUT_DIR:-${HOME}/x-tools}/sources"
5+
# CT_PREFIX_DIR_RO is not set
6+
CT_PATCH_BUNDLED_LOCAL=y
7+
CT_LOCAL_PATCH_DIR="${CT_TOP_DIR}/../../patches"
8+
# CT_LOG_PROGRESS_BAR is not set
9+
CT_ARCH_XTENSA=y
10+
CT_XTENSA_CUSTOM=y
11+
# CT_ARCH_USE_MMU is not set
12+
CT_OVERLAY_NAME="nxp_imx_adsp"
13+
CT_OVERLAY_LOCATION="./overlays"
14+
CT_TARGET_VENDOR="zephyr"
15+
CT_NEWLIB_SRC_DEVEL=y
16+
CT_NEWLIB_DEVEL_URL="https://github.com/jcmvbkbc/newlib-xtensa.git"
17+
CT_NEWLIB_DEVEL_BRANCH="xtensa"
18+
CT_LIBC_NEWLIB_IO_LL=y
19+
CT_LIBC_NEWLIB_IO_FLOAT=y
20+
# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set
21+
CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
22+
CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y
23+
CT_LIBC_NEWLIB_LITE_EXIT=y
24+
# CT_LIBC_NEWLIB_MULTITHREAD is not set
25+
CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y
26+
# CT_LIBC_NEWLIB_WIDE_ORIENT is not set
27+
# CT_LIBC_NEWLIB_NANO_MALLOC is not set
28+
# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set
29+
CT_LIBC_NEWLIB_EXTRA_SECTIONS=y
30+
CT_LIBC_NANO_NEWLIB=y
31+
CT_LIBC_NANO_NEWLIB_IO_FLOAT=y
32+
# CT_LIBC_NANO_NEWLIB_FSEEK_OPTIMIZATION is not set
33+
CT_LIBC_NANO_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
34+
CT_LIBC_NANO_NEWLIB_GLOBAL_ATEXIT=y
35+
CT_LIBC_NANO_NEWLIB_LITE_EXIT=y
36+
# CT_LIBC_NANO_NEWLIB_MULTITHREAD is not set
37+
CT_LIBC_NANO_NEWLIB_RETARGETABLE_LOCKING=y
38+
# CT_LIBC_NANO_NEWLIB_WIDE_ORIENT is not set
39+
CT_LIBC_NANO_NEWLIB_NANO_MALLOC=y
40+
CT_LIBC_NANO_NEWLIB_NANO_FORMATTED_IO=y
41+
CT_LIBC_NANO_NEWLIB_EXTRA_SECTIONS=y
42+
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array"
43+
CT_CC_LANG_CXX=y
44+
CT_CC_GCC_LIBSTDCXX_NANO=y
45+
CT_DEBUG_GDB=y
46+
CT_GDB_V_8_3=y
47+
CT_ISL_V_0_18=y
48+
CT_LIBICONV_NEEDED=y

go.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ for t in ${TARGETS}; do
129129
xtensa_intel_byt_adsp)
130130
patch -p1 -N < ${GITDIR}/patches/xtensa/hal/intel_byt_adsp/0001-Adding-BYT-DSP-config-files.patch
131131
;;
132+
xtensa_nxp_imx_adsp)
133+
patch -p1 -N < ${GITDIR}/patches/xtensa/hal/nxp_imx_adsp/0001-Adding-IMX8-DSP-config-files.patch
134+
;;
132135
xtensa_intel_s1000)
133136
patch -p1 -N < ${GITDIR}/patches/xtensa/hal/intel_s1000/0001-Add-Sue-Creek-config-files.patch
134137
;;
391 KB
Binary file not shown.

0 commit comments

Comments
 (0)