Skip to content

Commit 1519f46

Browse files
lrgirdwogalak
authored andcommitted
xtensa: add config Intel_bdw_adsp
This adds the config ti build the toolchain for the Audio DSP on the Intel Broadwell 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 016fb6e commit 1519f46

File tree

7 files changed

+1883
-1
lines changed

7 files changed

+1883
-1
lines changed

.shippable.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ env:
1515
- TARGET=x86_64-zephyr-elf
1616
- TARGET=xtensa_sample_controller
1717
- TARGET=xtensa_intel_apl_adsp
18+
- TARGET=xtensa_intel_bdw_adsp
1819
- TARGET=xtensa_intel_s1000
1920
- TARGET="tools"
2021

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Currently we build the following toolchains:
1414
- arm64
1515
- riscv64
1616
- sparc
17-
- xtensa (sample_controller, intel_apl_adsp, intel_s1000)
17+
- xtensa (sample_controller, intel_apl_adsp, intel_s1000, intel_bdw_adsp)
1818

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

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="intel_bdw_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
@@ -123,6 +123,9 @@ for t in ${TARGETS}; do
123123
xtensa_intel_apl_adsp)
124124
patch -p1 -N < ${GITDIR}/patches/xtensa/hal/intel_apl_adsp/0001-Adding-APL-DSP-config-files.patch
125125
;;
126+
xtensa_intel_bdw_adsp)
127+
patch -p1 -N < ${GITDIR}/patches/xtensa/hal/intel_bdw_adsp/0001-Adding-BDW-DSP-config-files.patch
128+
;;
126129
xtensa_intel_s1000)
127130
patch -p1 -N < ${GITDIR}/patches/xtensa/hal/intel_s1000/0001-Add-Sue-Creek-config-files.patch
128131
;;
162 KB
Binary file not shown.

0 commit comments

Comments
 (0)