Skip to content

Commit

Permalink
xtensa-build-all: add a separate target for JSL
Browse files Browse the repository at this point in the history
Use intel_adsp_cavs20_jsl Zephyr board when building for
Intel Jasper Lake.

BugLink: thesofproject#4539
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
(cherry picked from commit 6d0ecc3)
  • Loading branch information
kv2019i authored and lgirdwood committed Mar 18, 2022
1 parent d93efb7 commit 9e112a6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions scripts/xtensa-build-zephyr.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
"XTENSA_CORE": "X6H3CNL_2017_8",
"XTENSA_TOOLS_VERSION": f"RG-2017.8{xtensa_tools_version_postfix}"
},
{
"name": "jsl",
"PLAT_CONFIG": "intel_adsp_cavs20_jsl",
"XTENSA_CORE": "X6H3CNL_2017_8",
"XTENSA_TOOLS_VERSION": f"RG-2017.8{xtensa_tools_version_postfix}"
},
{
"name": "tgl",
"PLAT_CONFIG": "intel_adsp_cavs25",
Expand Down
7 changes: 5 additions & 2 deletions scripts/xtensa-build-zephyr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SOF_TOP=$(cd "$(dirname "$0")" && cd .. && pwd)
DEFAULT_PLATFORMS=()

# Intel
DEFAULT_PLATFORMS+=(apl cnl icl tgl-h tgl)
DEFAULT_PLATFORMS+=(apl cnl icl jsl tgl-h tgl)

# NXP
DEFAULT_PLATFORMS+=(imx8 imx8x imx8m)
Expand Down Expand Up @@ -200,8 +200,11 @@ build_platforms()
XTENSA_CORE="X6H3CNL_2017_8"
XTENSA_TOOLS_VERSION="RG-2017.8-linux"
;;
icl)
icl|jsl)
PLAT_CONFIG='intel_adsp_cavs20'
if test "$platform" = jsl ; then
PLAT_CONFIG="intel_adsp_cavs20_jsl"
fi
XTENSA_CORE="X6H3CNL_2017_8"
XTENSA_TOOLS_VERSION="RG-2017.8-linux"
;;
Expand Down

0 comments on commit 9e112a6

Please sign in to comment.