From b107e40976e333d818e430577e9b74e0bf0db78d Mon Sep 17 00:00:00 2001 From: Laurentiu Mihalcea Date: Wed, 25 Sep 2024 14:15:48 +0300 Subject: [PATCH] build: add support for building SOF on imx95 This means modifying 'xtensa-build-zephyr.py' to allow building the new platform and adding a new toml file for the platform. Signed-off-by: Laurentiu Mihalcea --- scripts/xtensa-build-zephyr.py | 6 +++++- tools/rimage/config/imx95.toml | 9 +++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 tools/rimage/config/imx95.toml diff --git a/scripts/xtensa-build-zephyr.py b/scripts/xtensa-build-zephyr.py index c4d360e65609..b7640ea8ce58 100755 --- a/scripts/xtensa-build-zephyr.py +++ b/scripts/xtensa-build-zephyr.py @@ -164,6 +164,10 @@ class PlatformConfig: "hifi4_nxp2_s7_v2_1a_prod", RIMAGE_KEY = "key param ignored by imx8ulp" ), + "imx95" : PlatformConfig( + "imx", "imx95_evk/mimx9596/m7/ddr", + "", "", "", "" + ), } platform_configs = platform_configs_all.copy() @@ -1160,7 +1164,7 @@ def gzip_compress(fname, gzdst=None): # Don't run sof_ri_info and ignore silently .ri files that don't have one. RI_INFO_UNSUPPORTED = [] -RI_INFO_UNSUPPORTED += ['imx8', 'imx8x', 'imx8m', 'imx8ulp'] +RI_INFO_UNSUPPORTED += ['imx8', 'imx8x', 'imx8m', 'imx8ulp', 'imx95'] RI_INFO_UNSUPPORTED += ['rn'] RI_INFO_UNSUPPORTED += ['mt8186', 'mt8195'] diff --git a/tools/rimage/config/imx95.toml b/tools/rimage/config/imx95.toml new file mode 100644 index 000000000000..69e6811be3bc --- /dev/null +++ b/tools/rimage/config/imx95.toml @@ -0,0 +1,9 @@ +version = [1, 0] + +[adsp] +name = "imx95" + +[[adsp.mem_zone]] +type = "DRAM" +base = "0x80000000" +size = "0x100000"