Skip to content

Commit

Permalink
build: add support for building SOF on imx95
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
LaurentiuM1234 authored and dbaluta committed Oct 4, 2024
1 parent beb1e68 commit b107e40
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/xtensa-build-zephyr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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']

Expand Down
9 changes: 9 additions & 0 deletions tools/rimage/config/imx95.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version = [1, 0]

[adsp]
name = "imx95"

[[adsp.mem_zone]]
type = "DRAM"
base = "0x80000000"
size = "0x100000"

0 comments on commit b107e40

Please sign in to comment.