Commit Graph

13 Commits

Author SHA1 Message Date
Rander Wang 5ebbd6530c rimage: use hex number
Module type is interpreted as hex number

Signed-off-by: Rander Wang <rander.wang@intel.com>
2023-02-27 10:04:54 +01:00
Libin Yang cb9c880b6e config: tgl-cavs: add kpb, selector and kd support
Add KPB, Selector and KD module config

Signed-off-by: Libin Yang <libin.yang@intel.com>
2023-02-14 16:23:06 +00:00
Ranjani Sridharan b5d762290f config: tgl-cavs: set init_config for smart test
Smart amp needs the base config extension during init.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2023-02-09 12:06:52 +00:00
Guennadi Liakhovetski ec649f37d6 Convert all ELF addresses to cached for calculations
Rimage calculates sizes of ELF sections, for which it has to use
addresses from the same address space: either all cached or all
uncached. The ELF image itself can contain mixed addresses. Convert
all to cached for internal calculations.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2023-02-09 12:03:58 +00:00
Chao Song 3da7739b5f config: correct module config load_type
The load_type in extended manifest is used to indicate
if a module is a built-in module(0) or a loadable(1)
module.

We don't have loadable module yet, so load_type should
be zero for all modules.

Signed-off-by: Chao Song <chao.song@linux.intel.com>
2023-02-01 14:50:14 +02:00
Chao Song bc7d49dcfc config: align module_type with mtl for tgl and tgl-h
The module_type member in module config should be assigned
according to the mod_type enum. Previously, for tgl and tgl-h,
it is assigned in an incremental way, which is wrong. MTL assigns
module_type in the correct way, so align the module_type with
mtl for tgl and tgl-h in this patch.

Signed-off-by: Chao Song <chao.song@linux.intel.com>
2023-02-01 14:50:14 +02:00
Jaska Uimonen bdf48ee7e6 config: tgl-cavs: add fir and iir eq module config
This patch adds module config for fir and iir eq module.

Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
2023-01-24 15:37:41 +00:00
Chao Song 1c48208850 config: tgl-cavs: add smart amp test module config
This patch adds module config for smart amp test module.

Signed-off-by: Chao Song <chao.song@linux.intel.com>
2022-12-21 14:59:50 +00:00
Gongjun Song 65f345a52e rimage: add src support
Add src's params to rimage

Signed-off-by: Gongjun Song <gongjun.song@intel.com>
2022-11-25 14:56:53 +00:00
Adrian Bonislawski 5b076f1738 config: tgl-cavs: add probe module
Add probe module to tgl-cavs config

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2022-08-30 11:19:44 +01:00
Karol Trzcinski c4a7456254 config: Remove machine_id field
This enum value is used only to distinguish suecreek from other
platforms, which can be done also by platform name.

Manual enumeration, in separate toml files with manual synchronization
in enum definition is quite error prone. After commit
9bf46d3: "rimage: Add support for mt8195" and
9716e10: "config: Add imx8ulp.toml" there are two different
platform with the same enum value 15 specified, which proves such a
thesis.

Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
2021-08-31 21:23:28 +01:00
Rander Wang 580e4d674e config: tgl-cavs: change image_size to the real SRAM size
Apply "config: tgl: change image_size to the real SRAM size"
(9e50a02f1b) to tgl-cavs

Signed-off-by: Rander Wang <rander.wang@intel.com>
2021-07-21 18:03:59 +08:00
Rander Wang dbb49e03b9 rimage: add cavs fw layout support
Add support of cavs extended manifest and modules. Now
we will have another config tgl-cavs for tgl.

Signed-off-by: Rander Wang <rander.wang@intel.com>
2021-04-21 09:13:28 +01:00