Add support in topology to define different memory capabilities that can
be included by standard pipeline definitions to set platform specific
capabilities for buffers.
This patch allows memory capabilities to be defined for each platform and
included by all pipeline definitions.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This patch adds changes to rmbox to make it easier to spot
errors/xruns in a long trace
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
set of basic bash scripts to remove/insert SOF Linux kernel modules in
the right order. This is typically used to avoid rebooting every time
the SOF image or topology are updated - and detect leaks on remove.
sof_remove.sh: remove all SOF modules
sof_insert.sh: probe SOF modules
sof_bootone.sh: combination of remove/insert in one shot
sof_bootloop.sh: boot loop to see if firmware boot is reliable over
time
This can probably be enhanced to remove spurious "module is not
currently loaded" logs.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Add default_hw_conf_id to set the default_hw_config_id value in
ASOC and then we can set the dai config.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
This patch adds support for multiple kcontrols for the volume
widget and adds a mute switch kcontrol to the volume playback
pipeline.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
We may have heap buffers for base FW, but they are handled by the
runtime function. We did not need to set them as bss in FW manifest.
So add check to mark the .bss segment as BSS and other segment as HEAP.
Then we only update manifest BSS segmet with BSS section.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Add support so that rimage can take as it's input multiple ELF modules
and merge them into a single signed manifest and firmware binary.
Remove all hard coded module descriptions. Module metadata is now read
from the ELF "module" section.
Remove duplicated and unused code for creating simple firmware images as
used on Baytrail and Haswell.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
shell expands $10 as $1 followed by 0, so test .conf topology files contained
mclk_freq "codec0" instead of the expected value (e.g. 19200000).
Parenthesis are required when there are more than 9 arguments to a
macro...
Reported-by: "Wang, Yan" <yan.wang@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
The mclk may be different for different platforms, here make it
configurable for test topology files.
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
We may need to generate capture only or playback only PCMs.
Add these macros to help generate them.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
We have 5 critical arguments in the test generator but only used 3 for
the naming, this will make some files be overwritten.
Refine the name method to let these 5 arguments show in the tplg name.
Also we decide the pipe type in one of the argument, test-ssp.m4 and
test-src-ssp.m4 are almost the same, just remove one.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Move testing pipelines into a test directory and reuse test scaffolding
so that they can be used to test multiple components on multiple target
with multiples configs.
Test topology scafolding are now pre-processed using a script to generate
the ALSA conf format with the various changes for each test case.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Commit 0a1a9bbc492e4eb22173ed57c7f5499c8f106289 discovered a bug in
the direction of AIF widgets in relation to PCMs. AIF widgets are codec
centric in ASoC so topology must align.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
1. Widget N_PCMC type should be "aif_in", not "aif_out".
2. Widget W_DAI_IN data should be "N_DAI_IN", not "N_DAI_OUT".
Signed-off-by: Xiuli Pan <xiuli.pan@intel.com>
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Secondary PCM not used atm for 1.0 release so temporarily remove from standard
topologies.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Not sure why we need these files, but the cht definitions are not
aligned with the others. Fix.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>