From b0d71a23a6f60981e45b8108d4bcd956616397ad Mon Sep 17 00:00:00 2001 From: Jaska Uimonen Date: Tue, 21 Jun 2022 17:22:17 +0300 Subject: [PATCH] xtensa-build-zephyr.py: add tgl-h ipc4 overlay Add missing IPC4 overlay target and toml config for tgl-h. Signed-off-by: Jaska Uimonen --- overlays/tgl-h/ipc4_overlay.conf | 13 +++++++++++++ scripts/xtensa-build-zephyr.py | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 overlays/tgl-h/ipc4_overlay.conf diff --git a/overlays/tgl-h/ipc4_overlay.conf b/overlays/tgl-h/ipc4_overlay.conf new file mode 100644 index 000000000..b986e772f --- /dev/null +++ b/overlays/tgl-h/ipc4_overlay.conf @@ -0,0 +1,13 @@ +CONFIG_IPC_MAJOR_4=y +CONFIG_INTEL_DMIC_NHLT=y +CONFIG_RIMAGE_SIGNING_SCHEMA="tgl-cavs" +CONFIG_PCM_CONVERTER_FORMAT_S16LE=y +CONFIG_PCM_CONVERTER_FORMAT_S24LE=y +CONFIG_PCM_CONVERTER_FORMAT_S32LE=y +CONFIG_PCM_CONVERTER_FORMAT_S24_3LE=y +CONFIG_PCM_CONVERTER_FORMAT_FLOAT=y +CONFIG_PCM_CONVERTER_FORMAT_S16_C16_AND_S16_C32=y +CONFIG_PCM_CONVERTER_FORMAT_S16_C32_AND_S32_C32=y +CONFIG_PCM_CONVERTER_FORMAT_S16_C32_AND_S24_C32=y +CONFIG_PCM_CONVERTER_FORMAT_S16_C32_AND_S16_C32=y + diff --git a/scripts/xtensa-build-zephyr.py b/scripts/xtensa-build-zephyr.py index ddabfccaa..bd8f36671 100755 --- a/scripts/xtensa-build-zephyr.py +++ b/scripts/xtensa-build-zephyr.py @@ -72,6 +72,8 @@ platform_list = [ { "name": "tgl-h", "PLAT_CONFIG": "intel_adsp_cavs25_tgph", + "IPC4_CONFIG_OVERLAY": "ipc4_overlay.conf", + "IPC4_RIMAGE_DESC": "tgl-h-cavs.toml", "XTENSA_CORE": "cavs2x_LX6HiFi3_2017_8", "XTENSA_TOOLS_VERSION": f"RG-2017.8{xtensa_tools_version_postfix}", "RIMAGE_KEY": pathlib.Path("modules", "audio", "sof", "keys", "otc_private_key_3k.pem")