Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soft merge #624

Merged
merged 421 commits into from
Nov 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
421 commits
Select commit Hold shift + click to select a range
e77a8ef
topology: scripts: changes to accommodate different DAI types
ranj063 May 31, 2018
56b8316
topology: separate ssp params from dai common params
ranj063 May 31, 2018
a913f77
topology: add DMIC tokens
ranj063 May 31, 2018
1dcac32
topology: make m4 filenames dai type agnostic
ranj063 May 31, 2018
d6e201c
topology: scripts: add dmic test topology
ranj063 May 31, 2018
082f971
topology: add DMIC config definition to DAI config
ranj063 May 31, 2018
07d290c
topology: add DMIC dai support in test capture m4
ranj063 May 31, 2018
5a59eca
topology: test: Fix tplb-build.sh when did no use XARGS
xiulipan Jun 4, 2018
b322168
SOFT: Add SRC coefficients generate tool
singalsu Jun 4, 2018
f85f5f8
topology: enable ssp2 for capture feature.
Jun 11, 2018
2cc3ad2
topology: 8-channel should be supported
Jun 11, 2018
bd7dc88
topology: remove DMAC ID/DMAC_CHANNEL from PIPELINE/PCM/DAI definitions
ranj063 Jun 12, 2018
41ef052
topology: use switch IO handler for tone switch
ranj063 Jun 12, 2018
0914848
topology: add test tone pipelines for APL
ranj063 Jun 12, 2018
c017230
topology: add new token for SSP MCLK ID
ranj063 Jun 21, 2018
e6140f8
topology: add SAMPLE_RATE token for tone comp and define it in tone d…
ranj063 Jun 14, 2018
0beda35
rmbox: add missing trace class to sync with firmware
xiulipan Jun 25, 2018
6d9ad7a
tokens: move SAMPLE_BITS to ssp tokens
ranj063 Jun 25, 2018
1adb92a
topology: dai: rename sample_bits macro to config_data
ranj063 Jun 25, 2018
a835ff2
topology: move platform m4 files from dsps directory to platform/intel
ranj063 Jun 25, 2018
f58a047
topology: move ssp related macros to ssp.m4 in platform/common
ranj063 Jun 25, 2018
f73aa73
topology: move dmic related macros to dmic.m4 in platform/intel
ranj063 Jun 25, 2018
e393b33
Merge pull request #1 from ranj063/topic/tone
lgirdwood Jun 26, 2018
7b96948
Merge pull request #2 from xiulipan/master
lgirdwood Jun 26, 2018
308cf3d
Merge pull request #4 from ranj063/dai_changes
lgirdwood Jun 26, 2018
229da95
topology: dai: correct default_hw_conf_id
keyonjie Jun 25, 2018
553137d
topology: sof-apl-nocodec: enable multiple SSP pipelines
keyonjie Jun 25, 2018
9ac2e32
topology: change BE name for NoCodec to support multiple SSPs/BEs
keyonjie Jun 25, 2018
75440af
Merge pull request #5 from keyonjie/master
lgirdwood Jun 26, 2018
71dff85
topology: add test topologies with mclk id 1
ranj063 Jun 26, 2018
82996c2
topology: add pre-defined PDM controller configs
ranj063 Jun 26, 2018
ddbd2d6
topology: add more dmic test topologies
ranj063 Jun 26, 2018
f756455
Merge pull request #6 from ranj063/test_topology
lgirdwood Jun 26, 2018
aa3e724
SOFT: Add SRC component test scripts
singalsu Jun 27, 2018
a852b53
SOFT: Add audio standards based objective performance measurements
singalsu Jun 27, 2018
1abae16
SOFT: Add various utility scripts for audio component tests
singalsu Jun 27, 2018
905be3a
Merge pull request #7 from singalsu/topic/add_src_tests_proposal_v1
lgirdwood Jun 27, 2018
934a330
SOFT: Fix the topology file name in SRC test topology lookup
singalsu Jun 27, 2018
dc0d9e0
SOFT: Increase SRC playback topology buffer size
singalsu Jun 27, 2018
52b107e
Merge pull request #8 from singalsu/topic/fix_src_tests_proposal_v1
lgirdwood Jun 27, 2018
dfc0f67
Merge pull request #10 from singalsu/topic/fix_src_playback_pipe_buff…
lgirdwood Jun 27, 2018
254013a
topology: ssp2 should be 8 channels
Jun 28, 2018
3540310
SOFT: Extend PCM parameters range in passtrough capture pipelines for…
singalsu Jun 28, 2018
17f5a08
SOFT: Increase test capture pipeline max. channels count to 4
singalsu Jun 28, 2018
38399ca
Merge pull request #14 from singalsu/topic/fix_dmic_test_capture_topo…
lgirdwood Jun 28, 2018
707d6d6
topology: reorder the ssp setting by increasing order
Jun 28, 2018
f359214
Revert "topology: dai: correct default_hw_conf_id"
keyonjie Jun 29, 2018
6da473e
topology: sof-apl-nocodec: fix a comment typo
keyonjie Jun 29, 2018
b5abe71
topology: initial topology file for UP^2
keyonjie Jun 29, 2018
2c786e9
Merge pull request #16 from keyonjie/master
lgirdwood Jun 29, 2018
9aa6193
Merge pull request #12 from zhigang-wu/master
lgirdwood Jun 29, 2018
2cc0d1f
SOFT: Improve audio test synchronization code
singalsu Jun 29, 2018
629d2a6
Merge pull request #17 from singalsu/topic/fix_src_test_case_fail
lgirdwood Jul 2, 2018
fa2e98a
SOFT: fix this topology failed to be loaded
RanderWang Jul 4, 2018
600e269
Merge pull request #18 from RanderWang/master
lgirdwood Jul 4, 2018
dfe7fa9
topology: test: set id to 0 for codec topology
xiulipan Jul 6, 2018
794cf7a
topology: fix id for sof_apl_pcm512x topology
xiulipan Jul 6, 2018
ff8eb10
Merge pull request #19 from xiulipan/tplgfix
lgirdwood Jul 6, 2018
591a07d
topology: add multi-stream topology for GLK
ranj063 Jul 6, 2018
764f953
Merge pull request #20 from ranj063/topology/glk
lgirdwood Jul 9, 2018
e55cd31
topology: fix id for sof_cnl_rt274 topology
keqiaozhang Jul 10, 2018
47339d2
Merge pull request #22 from keqiaozhang/tplgfix
lgirdwood Jul 10, 2018
4d1b3d1
topology: fix sof-apl-pcm512x
plbossart Jul 13, 2018
2abbfc0
Merge pull request #28 from plbossart/debug/pcm512x
plbossart Jul 13, 2018
6ba6074
tplg: add nocodec topology for icelake
RanderWang Jul 12, 2018
446e415
kmod_scripts: clean-up and add pcm512x support
plbossart Jul 16, 2018
8555c3b
Merge pull request #30 from plbossart/debug/modules
lgirdwood Jul 17, 2018
576d15b
Merge pull request #26 from RanderWang/icl
lgirdwood Jul 17, 2018
812c15c
topology: sof-apl-nocodec: enable all 6 SSPs
plbossart Jul 17, 2018
02a9995
Merge pull request #32 from plbossart/debug/apl-nocodec
lgirdwood Jul 18, 2018
3dd17dc
dist: fix make dist for topology M4
keqiaozhang Jul 19, 2018
942caa3
Merge pull request #35 from keqiaozhang/makedistfix
lgirdwood Jul 19, 2018
e08ea66
kmod_scripts: add rt274 and tdf8532 support
keqiaozhang Jul 19, 2018
a25f4b0
Merge pull request #36 from keqiaozhang/modules
lgirdwood Jul 19, 2018
3d903b5
topology: Add dai index in DAI SectionBE
xiulipan Jul 23, 2018
eecc7f6
topology: fix Makefile.am
plbossart Jul 23, 2018
c7adc3d
topology: fix BE DAI id to be set to ID (not index)
ranj063 Jul 23, 2018
df1314b
Merge pull request #41 from plbossart/fix/3dd17dc0
lgirdwood Jul 24, 2018
d542a6e
Merge pull request #40 from xiulipan/daiindex
lgirdwood Jul 24, 2018
48de252
Merge pull request #42 from ranj063/dai_id
lgirdwood Jul 24, 2018
2187702
topology: add dmic pipeline to apl nocodec topology
ranj063 Jul 19, 2018
27d3e14
topology: add comments to sof-apl-nocodec m4 file
ranj063 Jul 23, 2018
f08c937
topology: replace PIPELINE_PCM_DAI_ADD with PIPELINE_PCM_ADD
ranj063 Jul 25, 2018
debaf8f
Merge pull request #33 from ranj063/apl-nocodec
lgirdwood Jul 25, 2018
dc10876
topology: changes to SectionPCM macros
ranj063 Jul 24, 2018
722a24a
Merge pull request #43 from ranj063/sectionpcm
lgirdwood Jul 30, 2018
7c214b8
topology: Fix SectionPCM macros
plbossart Jul 26, 2018
fdf3924
Merge pull request #45 from plbossart/fix/pr43
plbossart Jul 30, 2018
8e50a51
topology: add APL and GLK Chromebook support
plbossart Aug 1, 2018
cfff9e0
Merge pull request #47 from plbossart/fix/glk
plbossart Aug 1, 2018
5eb0175
SOFT: Add equalizer tuning scripts and small examples
singalsu Aug 7, 2018
91bb08d
Merge pull request #49 from singalsu/add_eq_tune_proposal
lgirdwood Aug 7, 2018
ef307ba
kmod_scripts: filter out DMA trace overflow
plbossart Aug 8, 2018
ea08faf
kmod_scripts: look for timeout errors and stop loops
plbossart Aug 8, 2018
ad895a8
Merge pull request #50 from plbossart/fix/kmod_scripts_trace
lgirdwood Aug 8, 2018
046e763
ci: travis: enable travis ci for SOFT
xiulipan Aug 9, 2018
fe1f3ba
Merge pull request #52 from xiulipan/travisci
lgirdwood Aug 9, 2018
684737c
EQ: Improve Matlab compatibility of equalizer filter design plus cleanup
singalsu Aug 9, 2018
085b680
EQ: Improve example equalizer design scripts
singalsu Aug 9, 2018
a3b3815
topology: add some virtual widgets to topology of cnl
RanderWang Aug 14, 2018
a01d56f
Merge pull request #55 from RanderWang/cnl_274
lgirdwood Aug 16, 2018
a984b93
Merge pull request #53 from singalsu/update_eq_tune_scripts_proposal
lgirdwood Aug 21, 2018
157e378
Decrease SRC pipeline buffers RAM size and update PCM configuration
singalsu Aug 21, 2018
53e8c47
Merge pull request #56 from singalsu/tplg_src_save_buffers_ram_proposal
lgirdwood Aug 21, 2018
67802d8
topology: add support for wm8804
plbossart Aug 23, 2018
41861aa
Merge pull request #58 from plbossart/topic/wm8804
lgirdwood Aug 23, 2018
206deaf
EQ Tool: Fix compatibility with Matlab and improve accuracy of IIR fi…
singalsu Aug 30, 2018
eddca59
Merge pull request #61 from singalsu/fix_matlab_iir_eq_proposal
lgirdwood Aug 30, 2018
a47524a
SRC test: Fix testbench execute command line plus cleanup
singalsu Aug 30, 2018
d40087f
Merge pull request #62 from singalsu/fix_src_test_cmdline_arg_proposal
lgirdwood Aug 30, 2018
e767798
topology: Define hda.m4 for HD-Audio configurations
mengdonglin Aug 8, 2018
c0062f9
topology: Create HDMI only m4 file for APL
mengdonglin Aug 2, 2018
796663b
Merge pull request #64 from mengdonglin/topic/hda-v3
lgirdwood Sep 4, 2018
72629ac
topology: first try of m4 debug macros
Sep 4, 2018
9af6584
Merge pull request #65 from juimonen/m4debug
lgirdwood Sep 4, 2018
1354af8
topology: make building tests into a separate target
Sep 4, 2018
d272119
Merge pull request #66 from juimonen/testtarget
lgirdwood Sep 4, 2018
4c9e3dd
topology: Add 3 HDMI/DP PCMs and backends for GLK
mengdonglin Sep 5, 2018
d77beaf
Merge pull request #67 from mengdonglin/topic/yorp
lgirdwood Sep 7, 2018
e3d68ec
EQ Tool: Output topology m4 binary control style configuration data
singalsu Sep 17, 2018
c43666d
EQ FIR: Add check and removal for trailing zeros in filter coefficients
singalsu Sep 19, 2018
e4ca26b
Merge pull request #71 from singalsu/add_eq_m4_export
lgirdwood Sep 19, 2018
78748d4
Merge pull request #72 from singalsu/fix_eq_fir_length_trailing_zeros
lgirdwood Sep 19, 2018
46fc6fd
Set capabilities of channels to those defined in topology
cujomalainey Sep 21, 2018
15030d4
Merge pull request #73 from cujomalainey/master
lgirdwood Sep 22, 2018
baa791f
Topology: Add Equalizer
singalsu Sep 6, 2018
6b56daf
Topology: Add generic type string to effect widgets data field
Sep 9, 2018
57b5212
Merge pull request #68 from juimonen/eq_test
lgirdwood Sep 25, 2018
110378d
topology: sof-glk-da7219: update to use s32le format for HDMI pipelines
keyonjie Sep 26, 2018
60c3937
Merge pull request #76 from keyonjie/master
lgirdwood Sep 26, 2018
41184b0
topology: initial topology file for APL RVP
bardliao Sep 27, 2018
8dc01f7
topology: add topology file for hda generic machine
keyonjie Sep 28, 2018
933fce3
Merge pull request #79 from bardliao/apl_rvp
lgirdwood Sep 28, 2018
18c9950
Merge pull request #82 from keyonjie/master
lgirdwood Sep 28, 2018
6157e89
logger: added tool for parsing new trace format
bkokoszx Sep 26, 2018
437de79
logger: added and updated logger makefiles
bkokoszx Sep 28, 2018
918e401
Merge pull request #77 from bkokoszx/logger
lgirdwood Sep 28, 2018
1a1e126
EQ: Add equalizer control tool eqctl
singalsu Sep 24, 2018
2f65d96
hda: add virtual widgets to kill error message in kernel log
RanderWang Sep 29, 2018
497acc8
logger: change include filename for uapi
xiulipan Sep 29, 2018
8f9b350
logger: run dos2unix for some format issues
xiulipan Sep 29, 2018
a8d5431
logger: make logger usage similiar to old rmbox
xiulipan Sep 29, 2018
e66596e
Merge pull request #84 from RanderWang/hda-fix
lgirdwood Sep 29, 2018
e97bda2
Merge pull request #74 from singalsu/add_eqctl_proposal
lgirdwood Sep 29, 2018
4c9498a
Merge pull request #86 from xiulipan/pr/loggerfix
lgirdwood Sep 29, 2018
e4171c8
eqctl: do not process invalid input file name
ranj063 Oct 1, 2018
54d191e
Merge pull request #87 from ranj063/eqctl
lgirdwood Oct 2, 2018
9050d82
Use passed in number of channels for pipeline
cujomalainey Oct 2, 2018
8a56694
Merge pull request #89 from cujomalainey/master
lgirdwood Oct 3, 2018
7372f1e
EQ tune: Update m4 format EQ filter coefficients syntax
singalsu Oct 4, 2018
2d7a933
Merge pull request #91 from singalsu/fix_eq_m4_export
lgirdwood Oct 4, 2018
86b8daf
logger/rmbox: unify implementation of new logger tool with old rmbox
akloniex Oct 2, 2018
e37aa3f
Merge pull request #88 from akloniex/unify-logger
lgirdwood Oct 8, 2018
c569a95
WHL: add a bespoke hda topology for WHL
RanderWang Oct 9, 2018
5e4995f
logger: Implement possibility to read log data from stdin
akloniex Oct 8, 2018
932f09f
logger: Fix formatting of line number value.
akloniex Oct 10, 2018
3bf2641
logger: Add support for 4 parameters passed to log message.
akloniex Oct 10, 2018
1cbba6c
EQ: Add tool for acoustical frequency response measurement
singalsu Oct 10, 2018
b6046db
Merge pull request #93 from RanderWang/whl_tplg
lgirdwood Oct 10, 2018
3c59e53
Merge pull request #96 from akloniex/read-stdin
lgirdwood Oct 10, 2018
3e848fe
Merge pull request #97 from akloniex/fix-formatting
lgirdwood Oct 10, 2018
878d088
Merge pull request #98 from akloniex/trace-improvements
lgirdwood Oct 10, 2018
7f47792
Merge pull request #99 from singalsu/eq_add_response_measure
lgirdwood Oct 11, 2018
27281d7
Topology: Add DMIC capture pipeline with gain and high-pass filter
singalsu Oct 9, 2018
0808765
tests: add qa tests and rearrange other tests under one directory
Oct 11, 2018
6efe3d4
Merge pull request #95 from singalsu/tplg_add_iir_dmic_pipe
lgirdwood Oct 14, 2018
c0a881a
Merge pull request #101 from juimonen/test_pr
lgirdwood Oct 14, 2018
97ae708
topology: enable hdmi support on UP2 board
xiulipan Oct 15, 2018
9250bfe
EQ: Update new path into objective quality test functions
singalsu Oct 15, 2018
0913d7c
EQ: Fix an integer type bug in IIR coefficients blob packer
singalsu Oct 12, 2018
c9731f1
rmbox: usage function refinement
bkokoszx Oct 15, 2018
282a318
Merge pull request #80 from xiulipan/pr/up2hdmi
lgirdwood Oct 15, 2018
b76776b
Merge pull request #106 from singalsu/eq_path_change_updates
lgirdwood Oct 15, 2018
06a42dd
Merge pull request #107 from singalsu/eq_iir_fix_assign_integer_type
lgirdwood Oct 15, 2018
7ad6c23
rmbox: fix rmbox KW issues
bkokoszx Oct 11, 2018
9df6d36
Merge pull request #103 from bkokoszx/logger_usage
lgirdwood Oct 15, 2018
9033d35
Merge pull request #100 from bkokoszx/logger_kw
lgirdwood Oct 15, 2018
e6885d0
readme: upgrade readme with sof-logger instruction
bkokoszx Oct 12, 2018
c8f671b
rmbox: change bins name to sof-logger sof-rmbox
bkokoszx Oct 12, 2018
0e16805
Merge pull request #105 from bkokoszx/sof-logger
lgirdwood Oct 15, 2018
b37b8ef
Merge pull request #104 from bkokoszx/readme_update
lgirdwood Oct 15, 2018
7a8ed19
eqctl: Add check for calloc() success and return 0 in exit
singalsu Oct 15, 2018
5b51dc0
Merge pull request #108 from singalsu/eqctl_check_calloc_and_return_zero
lgirdwood Oct 15, 2018
53f90d9
Topology: DMIC: Reduce PCM capabilities to DMIC configuration
singalsu Oct 4, 2018
b376404
Merge pull request #90 from singalsu/fix_nocodec_dmic_pcm
lgirdwood Oct 18, 2018
b6016cd
topology: duplicate dai formart for pcm add
xiulipan Oct 18, 2018
4898321
topology: m4: add SOF_TKN_DAI_DIRECTION for DAI
xiulipan Oct 18, 2018
25dcef9
topolgy: m4: add direction for widget dai
xiulipan Oct 18, 2018
64c0e8d
Merge pull request #109 from xiulipan/pr/pplfmt
lgirdwood Oct 18, 2018
a1dfcb7
Merge pull request #110 from xiulipan/pr/daidir
lgirdwood Oct 18, 2018
8d4b10c
Topology: Add 2ch and 4ch raw DMIC capture topologies for APL
singalsu Oct 23, 2018
092db5e
Test: Audio: Fix paths in SRC host version testbench
singalsu Oct 23, 2018
8d0f178
topology: renumber SSP tokens - ABI CHANGE
plbossart Oct 23, 2018
5d7c535
Merge pull request #112 from singalsu/add_dmic_2ch_4ch_topologies
lgirdwood Oct 24, 2018
b315f9b
Merge pull request #113 from singalsu/fix_src_host_testbench_paths
lgirdwood Oct 24, 2018
c9a4c87
Merge pull request #114 from plbossart/fix/ipc-alignment
lgirdwood Oct 24, 2018
b8dfacb
logger: refinement handling invalid trace address
bkokoszx Oct 25, 2018
b5eb155
Merge pull request #116 from bkokoszx/logger-rejecting-trace-address
lgirdwood Oct 26, 2018
fa07355
EQ Tool: Add calibration data import
singalsu Oct 19, 2018
4ac9248
Merge pull request #117 from singalsu/eq_add_mic_calibration_import
lgirdwood Oct 29, 2018
22fba69
topology: glk: fix channel count for dmic stereo recording
ranj063 Nov 1, 2018
937032f
Merge pull request #119 from ranj063/glk_dmic
lgirdwood Nov 1, 2018
a73c4f6
logger: add firmware verification capability
bkokoszx Oct 24, 2018
105b9b5
logger: logging topology number for component
bkokoszx Nov 2, 2018
73c8a13
Merge pull request #118 from bkokoszx/logger-fw-verification
lgirdwood Nov 9, 2018
b141dae
logger: string overflow warning fix
bkokoszx Nov 9, 2018
2cd668c
Merge pull request #125 from bkokoszx/logger-string-overflow
lgirdwood Nov 9, 2018
d6bb704
logger: added Werr and Wall and removed warnings
bkokoszx Nov 9, 2018
5894ed4
Merge pull request #126 from bkokoszx/logger-verbose-warnings
lgirdwood Nov 13, 2018
7f3b59b
test: topology: add test topology for CNL
xiulipan Nov 15, 2018
ee6f54b
ci: travis: add test topology
xiulipan Nov 15, 2018
22354d6
logger: kw: fix logger klockwork issues
bkokoszx Nov 15, 2018
79d5140
Merge pull request #129 from xiulipan/pr/cnltest
lgirdwood Nov 15, 2018
8cc1dad
Merge pull request #130 from bkokoszx/fix-kw-issues
lgirdwood Nov 15, 2018
2e319ed
Ignore built binaries
cujomalainey Nov 16, 2018
cbf60f2
Correct sof-bdw-rt5640
cujomalainey Nov 16, 2018
f704d36
Fix pipe-eq-capture comments
cujomalainey Nov 16, 2018
b65fe8e
Fix sof-apl-eq-dmic comments
cujomalainey Nov 16, 2018
42e9bd9
Fix sof-apl-eq-pcm512x comments
cujomalainey Nov 16, 2018
79252d6
Fix sof-apl-nocodec comments
cujomalainey Nov 16, 2018
af9d2d4
Fix sof-apl-pcm512x
cujomalainey Nov 16, 2018
5452897
update sof-apl-tdf8532
cujomalainey Nov 16, 2018
888260a
Update comments for sof-bdw-rt286
cujomalainey Nov 16, 2018
9f210ad
Update sof-byt-da7213
cujomalainey Nov 16, 2018
d5ac458
Update sof-byt-nocodec
cujomalainey Nov 16, 2018
1414936
Update sof-byt-rt5640 graph
cujomalainey Nov 16, 2018
adf6db4
Update sof-byt-rt5645 graph
cujomalainey Nov 16, 2018
f18a895
Update sof-byt-rt5651
cujomalainey Nov 16, 2018
3560320
Update sof-cht-max98090 graph
cujomalainey Nov 16, 2018
2331cfa
Update sof-cht-nocodec
cujomalainey Nov 16, 2018
c304613
Update sof-cnl-rt274
cujomalainey Nov 16, 2018
c1c6842
Update sof-glk-da7219
cujomalainey Nov 16, 2018
25e6b20
Fix sof-apl-da7219 typo
cujomalainey Nov 16, 2018
4194dae
Update sof-hsw-rt5640
cujomalainey Nov 16, 2018
d710f99
Update sof-icl-nocodec
cujomalainey Nov 16, 2018
a01fd66
Merge pull request #132 from cujomalainey/soft-cleanup
lgirdwood Nov 17, 2018
ac7fb00
rmbox: removing rmbox
bkokoszx Nov 19, 2018
c648a11
Merge pull request #133 from bkokoszx/remove-rmbox
lgirdwood Nov 19, 2018
70227d6
Coredumper: initial
mwierzbix Nov 19, 2018
c702844
Merge pull request #131 from mwierzbix/coredumper-initial
lgirdwood Nov 19, 2018
7e2f4e3
topology: Remove sof-apl-hdmi.m4
mengdonglin Nov 21, 2018
093f6b7
topology: add 4-ch dmic topology for ICL
keqiaozhang Nov 21, 2018
69d109e
Merge pull request #136 from mengdonglin/topic/rm-apl-hdmi-only-m4
lgirdwood Nov 21, 2018
6da07a9
Merge pull request #137 from keqiaozhang/icl-tplg
lgirdwood Nov 21, 2018
044077c
shell-scripts: human-readable preprocessor output
mwierzbix Nov 20, 2018
ad3f3e4
Merge pull request #134 from mwierzbix/helper-scripts-pretty-macro
lgirdwood Nov 22, 2018
5b5888c
Move SOFT into sub folder for SOF merge
cujomalainey Nov 25, 2018
ebf4f52
Merge SOFT into SOF
cujomalainey Nov 25, 2018
f8e3b12
Adjust tools build script for new path
cujomalainey Nov 25, 2018
c0c8172
Update Docker README for SOFT merge
cujomalainey Nov 25, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/README.docker
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ To build for baytrail:
or (may need password test0000 for rimage install)
./scripts/docker-run.sh ./scripts/xtensa-build-all.sh byt

To rebuild the topology in soft.git:
./scripts/docker-run.sh ./scripts/build-soft.sh
To rebuild the topology and logger:
./scripts/docker-run.sh ./scripts/build-tools.sh

An incremental sof.git build:
./scripts/docker-run.sh make
Expand Down
4 changes: 2 additions & 2 deletions scripts/build-soft.sh → scripts/build-tools.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
cd ../soft.git
cd tools
./autogen.sh
./configure
make -j$(nproc)
cd ../sof.git
cd ../
23 changes: 23 additions & 0 deletions tools/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
*.o
*.in
*~
autom4te*
*.Po
*.swp
Makefile
config.*
configure
depcomp
install-sh
missing
stamp-h1
aclocal.m4
compile
ltmain.sh
rimage/rimage
rwav/rwav
*.tplg
topology/*.conf
topology/test/*.conf
eqctl/sof-eqctl
logger/sof-logger
14 changes: 14 additions & 0 deletions tools/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
sudo: required

language: c

services:
- docker

before_install:
- docker pull xiulipan/sof
- echo -e '#!/bin/bash \n./autogen.sh && ./configure && make && make tests 1>/dev/null' > quickbuild.sh
- chmod 755 quickbuild.sh

script:
- docker run -it -v `pwd`:/home/sof/work/sof.git --user `id -u` xiulipan/sof ./quickbuild.sh
5 changes: 5 additions & 0 deletions tools/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SUBDIRS = logger topology eqctl
TESTDIR = test/topology

tests:
$(MAKE) -C $(TESTDIR)
133 changes: 133 additions & 0 deletions tools/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
Sound Open Firmware Tools
=========================

This is a collection of open source tools used to develop open source audio
DSP firmwares for ALSA.

Building and Installing
=======================

./autogen.sh (only needed first time)
./configure
make
make install


rimage
======

rimage is used to convert ELF executable firmware files to the firmware file
formats used by the kernel drivers.

e.g.

rimage -i elf_file -o kernel_file -m machine

rimage can also convert kernel firmware formats to flat binaries formats to
assist in debugging :-

e.g. convert to flat binary, then ELF then dissasemble

rimage -i /lib/firmware/intel/reef-byt.ri -o image.bin -b -m byt

xtensa-byt-elf-objcopy -I binary -O elf32-xtensa-le -B xtensa image.bin image.bin.elf

xtensa-byt-elf-objdump -D image.bin.elf > image.dis.txt


sof-logger
======

sof-logger is used to print logs delivered from FW dma_trace mechanism, by searching log
entries in *.ldc file generated by rimage.

Every entry declared in FW is placed in elf output file (e.g. sof-apl) in
.static_log_entries section in a form of struct defined in sof/src/include/sof/trace.h
in sof fw repo.

*.ldc file contains snd_sof_logs_header (defined in rmbox/logger_convert.c)
following by .static_log_entries section incorporated from FW elf file (e.g. sof-apl).
snd_sof_logs_header contains basic information about .static_log_entries section
like base_address and data_length.

sof-logger works by reading entry parameters value and entries addresses from FW
dma_trace mechanism and searching suitable entry in *.ldc file by its address.

Usage sof-logger <option(s)> <file(s)>
Display mailbox contents
-h help
-l *.ldc_file Specify the *.ldc file
-i in_file Get traces from in_file, instead of the default
"/sys/kernel/debug/sof/etrace"
-o out_file Specify the output file, instead of default stdout
-t Get traces from "/sys/kernel/debug/sof/trace", instead
of the default "/sys/kernel/debug/sof/etrace"
-p Get traces from stdin, instead of the default
"/sys/kernel/debug/sof/etrace"
-c Set timestamp clock in MHz
-e Enable checking firmware version with default verification file
"/sys/kernel/debug/sof/fw_version"
-v ver_file Enable checking firmware version with ver_file file,
instead of default: "/sys/kernel/debug/sof/fw_version"
-s Take a snapshot of state


Examples:

- Get traces from "/sys/kernel/debug/sof/etrace" file, verifies fw_version with
"/sys/kernel/debug/sof/fw_version" and prints logs to stdout

$ sof-logger -l ldc_file -e

- Get traces from "/sys/kernel/debug/sof/etrace" file, verifies fw_version with
ver_file file and prints logs to stdout

$ sof-logger -l ldc_file -v ver_file

- Get traces from "/sys/kernel/debug/sof/etrace" file and prints logs to stdout

$ sof-logger -l ldc_file

- Get traces from "/sys/kernel/debug/sof/etrace" file and prints logs to
out_file file

$ sof-logger -l ldc_file -o out_file

- Get traces from "/sys/kernel/debug/sof/trace" file and prints logs to stdout

$ sof-logger -l ldc_file -t

- Get traces from "/sys/kernel/debug/sof/trace" file and prints logs to
out_file file

$ sof-logger -l ldc_file -t -o out_file

- Get traces from stdin and prints logs to stdout

$ sof-logger -l ldc_file -p

- Get traces from stdin and prints logs to out_file file

$ sof-logger -l ldc_file -p -o out_file

- Get traces from trace_dump file and prints logs to stdout

$ sof-logger -l ldc_file -i trace_dump

- Get traces from trace_dump file and prints logs to out_file file

$ sof-logger -l ldc_file -i trace_dump -o out_file

- c flag is intented for defining clock value (in MHz) used to format log
timestamps. By default clock value is set to 19.2 (MHz). Below example
set clock value to 19.9 (MHz).

$ sof-logger -l ldc_file -i trace_dump -o out_file -c 19.9


tests
=====

To generate all test configuration files:

make tests
6 changes: 6 additions & 0 deletions tools/autogen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
libtoolize -c --force
aclocal -I m4 --install
autoconf -Wall
autoheader
automake -a --copy --foreign --add-missing
38 changes: 38 additions & 0 deletions tools/configure.ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

AC_PREREQ([2.69])
AC_INIT([sof-tools], [1.0.1])
AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_SRCDIR([logger/logger.c])
AC_CONFIG_SRCDIR([eqctl/eqctl.c])
AC_CONFIG_HEADERS([config.h])
AC_CHECK_HEADER([sof/uapi/abi.h])
AC_CHECK_PROG([XARGS], xargs, "yes", "no", [$PATH])
AM_CONDITIONAL(XARGS, test "$XARGS" = "yes")

AC_CANONICAL_HOST

dnl Initialize maintainer mode
AM_MAINTAINER_MODE([enable])

AC_PROG_CC

AC_OUTPUT([
Makefile
logger/Makefile
eqctl/Makefile
topology/Makefile
topology/common/Makefile
topology/platform/Makefile
topology/platform/intel/Makefile
topology/platform/common/Makefile
topology/m4/Makefile
topology/sof/Makefile
test/topology/Makefile
])

echo "

prefix: ${prefix}
Compiler: ${CC}
CFLAGS: ${CFLAGS}
"
Loading