Skip to content

Commit b107e40

Browse files
LaurentiuM1234dbaluta
authored andcommitted
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 <laurentiu.mihalcea@nxp.com>
1 parent beb1e68 commit b107e40

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

scripts/xtensa-build-zephyr.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ class PlatformConfig:
164164
"hifi4_nxp2_s7_v2_1a_prod",
165165
RIMAGE_KEY = "key param ignored by imx8ulp"
166166
),
167+
"imx95" : PlatformConfig(
168+
"imx", "imx95_evk/mimx9596/m7/ddr",
169+
"", "", "", ""
170+
),
167171
}
168172

169173
platform_configs = platform_configs_all.copy()
@@ -1160,7 +1164,7 @@ def gzip_compress(fname, gzdst=None):
11601164
# Don't run sof_ri_info and ignore silently .ri files that don't have one.
11611165
RI_INFO_UNSUPPORTED = []
11621166

1163-
RI_INFO_UNSUPPORTED += ['imx8', 'imx8x', 'imx8m', 'imx8ulp']
1167+
RI_INFO_UNSUPPORTED += ['imx8', 'imx8x', 'imx8m', 'imx8ulp', 'imx95']
11641168
RI_INFO_UNSUPPORTED += ['rn']
11651169
RI_INFO_UNSUPPORTED += ['mt8186', 'mt8195']
11661170

tools/rimage/config/imx95.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version = [1, 0]
2+
3+
[adsp]
4+
name = "imx95"
5+
6+
[[adsp.mem_zone]]
7+
type = "DRAM"
8+
base = "0x80000000"
9+
size = "0x100000"

0 commit comments

Comments
 (0)