Commit Graph

385 Commits

Author SHA1 Message Date
Liam Girdwood 8cc1daddfc
Merge pull request #130 from bkokoszx/fix-kw-issues
logger: kw: fix logger klockwork issues
2018-11-15 15:48:34 +00:00
Liam Girdwood 79d5140565
Merge pull request #129 from xiulipan/pr/cnltest
Add test topology for CNL
2018-11-15 15:46:20 +00:00
Bartosz Kokoszko 22354d61e1 logger: kw: fix logger klockwork issues
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-15 10:39:01 +01:00
Pan Xiuli ee6f54b843 ci: travis: add test topology
Build tests for travis CI

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-15 14:52:26 +08:00
Pan Xiuli 7f3b59b888 test: topology: add test topology for CNL
CNL nocodec use SSP0, add SSP0 test for CNL

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-15 14:44:26 +08:00
Liam Girdwood 5894ed4cc5
Merge pull request #126 from bkokoszx/logger-verbose-warnings
logger: added Werror and Wall and removed warnings
2018-11-13 14:36:45 +00:00
Bartosz Kokoszko d6bb7043b7 logger: added Werr and Wall and removed warnings
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-13 10:12:56 +01:00
Liam Girdwood 2cd668ccfa
Merge pull request #125 from bkokoszx/logger-string-overflow
logger: string overflow warning fix
2018-11-09 14:30:58 +00:00
Bartosz Kokoszko b141daee34 logger: string overflow warning fix
fixes #124

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-09 15:07:19 +01:00
Liam Girdwood 73c8a136cb
Merge pull request #118 from bkokoszx/logger-fw-verification
logger: add firmware verification capability
2018-11-09 09:59:00 +00:00
Bartosz Kokoszko 105b9b51ab logger: logging topology number for component
I've added printing component topology number
(i.e. pipeline_id.component_id). If id's are not
defined logger will not print any values.
e.g.:
CORE  LEVEL      COMP_ID                TIMESTAMP ...
   0      2         HOST            487048.229167 ...  (not defined id's)
   0      2         PIPE 1.3        591235.052083 ...  (defined id's)

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-08 10:05:25 +01:00
Bartosz Kokoszko a73c4f63ca logger: add firmware verification capability
I've added two logger flags for firmware version verification:
-e		- enables checking fw version with default file
-v ver_file	- enables checking fw version with ver_file file

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-02 14:35:59 +01:00
Liam Girdwood 937032fb5f
Merge pull request #119 from ranj063/glk_dmic
topology: glk: fix channel count for dmic stereo recording
2018-11-01 10:07:21 +00:00
Ranjani Sridharan 22fba69dfb topology: glk: fix channel count for dmic stereo recording
Fix the channel count to 2 for stereo dmic recording.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-10-31 22:35:00 -07:00
Liam Girdwood 4ac9248f58
Merge pull request #117 from singalsu/eq_add_mic_calibration_import
EQ Tool: Add calibration data import
2018-10-29 12:16:10 +00:00
Seppo Ingalsuo fa0735572b EQ Tool: Add calibration data import
This patch adds capability to apply for capture microphone calibration
data (ASCII text lines with Hz, dB values). The calibration data file
name needs to be edited into configuration file mls_rec_config.txt. Such
calibration data is provided by several inexpensive USB measurement
microphones manufacturers.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-29 11:51:00 +02:00
Liam Girdwood b5eb15516c
Merge pull request #116 from bkokoszx/logger-rejecting-trace-address
logger: refinement handling invalid trace address
2018-10-26 11:35:57 +01:00
Bartosz Kokoszko b8dfacba88 logger: refinement handling invalid trace address
In case of getting invalid trace address file descriptor
now moves forward only one dword, not whole struct dma_log
as it was earlier.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-10-26 10:06:14 +02:00
Liam Girdwood c9a4c87d7a
Merge pull request #114 from plbossart/fix/ipc-alignment
topology: renumber SSP tokens - ABI CHANGE
2018-10-24 14:03:04 +01:00
Liam Girdwood b315f9bfd4
Merge pull request #113 from singalsu/fix_src_host_testbench_paths
Test: Audio: Fix paths in SRC host version testbench
2018-10-24 11:51:47 +01:00
Liam Girdwood 5d7c535a21
Merge pull request #112 from singalsu/add_dmic_2ch_4ch_topologies
Topology: Add 2ch and 4ch raw DMIC capture topologies for APL
2018-10-24 10:18:42 +01:00
Pierre-Louis Bossart 8d0f1783a6 topology: renumber SSP tokens - ABI CHANGE
Initial _ACTIVE fields are replaced by a single clock control
This change can lead to regressions, it needs to be aligned with the same
change at the kernel level.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2018-10-23 12:28:47 -05:00
Seppo Ingalsuo 092db5e225 Test: Audio: Fix paths in SRC host version testbench
The directories were restructured lately and this patch fixes the
changed paths issue.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-23 14:52:08 +03:00
Seppo Ingalsuo 8d4b10c539 Topology: Add 2ch and 4ch raw DMIC capture topologies for APL
This patch adds two minimal capture topologies to enable doing tests
those require raw audio capture with unmodified S32_LE samples, e.g.
channels order preserve test where the mic # origin can be checked
from side information in LSB bits.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-23 11:27:25 +03:00
Liam Girdwood a1dfcb7f4b
Merge pull request #110 from xiulipan/pr/daidir
Add direction for dai widget in topology
2018-10-18 16:58:20 +01:00
Liam Girdwood 64c0e8d6ec
Merge pull request #109 from xiulipan/pr/pplfmt
topology: duplicate dai formart for pcm add
2018-10-18 16:57:18 +01:00
Pan Xiuli 25dcef9219 topolgy: m4: add direction for widget dai
Add direction for widget dai, 0 for playback and 1 for capture.

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-18 18:59:24 +08:00
Pan Xiuli 489832137c topology: m4: add SOF_TKN_DAI_DIRECTION for DAI
Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-18 18:59:18 +08:00
Pan Xiuli b6016cd5e5 topology: duplicate dai formart for pcm add
In PIPELINE_PCM_ADD, DAI_FORMAT is not set but are used later.
Need to set this value to avoid protenial issues.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-18 18:43:37 +08:00
Liam Girdwood b3764048e9
Merge pull request #90 from singalsu/fix_nocodec_dmic_pcm
Topology: DMIC: Reduce PCM capabilities to DMIC configuration
2018-10-18 11:20:44 +01:00
Seppo Ingalsuo 53f90d9c6a Topology: DMIC: Reduce PCM capabilities to DMIC configuration
This patch impacts topologies sof-apl-nocodec, sof-apl-da7219, and
sof-glk-da7219 those use the pipe-passthrough-capture macro for DMIC.

The PCM saple rate is limited to 48 kHz (was 8 - 192 kHz). The capture
channels count can be only PIPELINE_CHANNELS (was 1 - PIPELINE_CHANNELS).
This prevents corrupted audio capture that happens when DMIC topology
parameters and capture parameters differ. It happens because DMIC FIFOs
drop samples or add unwanted samples when the configuration does not match.

In sof-apl-nocodec topology the PIPELINE_CHANNELS is set to 2 that
matches the configuration.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-18 12:42:38 +03:00
Liam Girdwood 5b51dc0d4b
Merge pull request #108 from singalsu/eqctl_check_calloc_and_return_zero
eqctl: Add check for calloc() success and return 0 in exit
2018-10-15 20:38:52 +01:00
Seppo Ingalsuo 7a8ed190e8 eqctl: Add check for calloc() success and return 0 in exit
This patch adds the missed details into the code.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-15 19:20:26 +03:00
Liam Girdwood b37b8ef00c
Merge pull request #104 from bkokoszx/readme_update
readme: upgrade readme with logger instruction
2018-10-15 16:31:59 +01:00
Liam Girdwood 0e1680532d
Merge pull request #105 from bkokoszx/sof-logger
rmbox: change binary names of logger and rmbox
2018-10-15 16:31:37 +01:00
Bartosz Kokoszko c8f671b746 rmbox: change bins name to sof-logger sof-rmbox
Change binary names:
from logger to sof-logger and
from rmbox to sof-rmbox

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-10-15 15:18:34 +02:00
Bartosz Kokoszko e6885d04a7 readme: upgrade readme with sof-logger instruction
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-10-15 15:13:07 +02:00
Liam Girdwood 9033d35058
Merge pull request #100 from bkokoszx/logger_kw
rmbox: fix rmbox KW issues
2018-10-15 12:51:45 +01:00
Liam Girdwood 9df6d36a52
Merge pull request #103 from bkokoszx/logger_usage
rmbox: usage function refinement
2018-10-15 12:48:45 +01:00
Bartosz Kokoszko 7ad6c23121 rmbox: fix rmbox KW issues
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-10-15 13:41:17 +02:00
Liam Girdwood 06a42dd68f
Merge pull request #107 from singalsu/eq_iir_fix_assign_integer_type
EQ: Fix an integer type bug in IIR coefficients blob packer
2018-10-15 12:40:14 +01:00
Liam Girdwood b76776ba8c
Merge pull request #106 from singalsu/eq_path_change_updates
EQ: Update new path into objective quality test functions
2018-10-15 12:39:55 +01:00
Liam Girdwood 282a318c2e
Merge pull request #80 from xiulipan/pr/up2hdmi
topology: enable hdmi support on UP2 board
2018-10-15 12:37:55 +01:00
Bartosz Kokoszko c9731f1678 rmbox: usage function refinement
Refines the output content when displaying the logger usage.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-10-15 11:08:06 +02:00
Seppo Ingalsuo 0913d7c83a EQ: Fix an integer type bug in IIR coefficients blob packer
This patch adds explicit conversion to signed int32 type for response to
channels indices in assign_response and filter coefficients. The bug was
visible if trying to activate in IIR blob the per channel filter bypass
by having a negative value (-1) in any of channel assigns. Octave assumed
the type to be unsigned and produced wrong configuration bytes.

The filter coefficients are already integer type from previous
quantization code in the conversion process. However it does not hurt to
have extra safety to avoid similar issue as assign.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-15 10:54:48 +03:00
Seppo Ingalsuo 9250bfe034 EQ: Update new path into objective quality test functions
This patch fixes the path issue from previous directory structure
maintenance.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-15 10:44:42 +03:00
Pan Xiuli 97ae708c5e topology: enable hdmi support on UP2 board
Add HDMI support to sof-apl-pcm512x

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-15 08:16:24 +08:00
Liam Girdwood c0a881a3b7
Merge pull request #101 from juimonen/test_pr
tests: add qa tests and rearrange other tests under one directory
2018-10-14 22:41:17 +01:00
Liam Girdwood 6efe3d4470
Merge pull request #95 from singalsu/tplg_add_iir_dmic_pipe
Topology: Add DMIC capture pipeline with gain and high-pass filter
2018-10-14 22:37:31 +01:00
Jaska Uimonen 0808765bf4 tests: add qa tests and rearrange other tests under one directory
Previously we used to have tests scattered around, so let's put
them under one directory to make things more clear.

Now under top level test directory we have directories:

audio - objective audio quality tests
used to be under test/

qa - qa tests run by the CI
new test component in soft repo

topology - topology test file generation
used to be under topology/tests

Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
2018-10-12 08:12:49 +03:00