Go to file
Seppo Ingalsuo 2cc0d1f9c6 SOFT: Improve audio test synchronization code
The audio tests signals contain a start and end marker to extract the
test output to analyze from in-between the markers.

This patch fixes a fail in SRC tests that was caused by incorrect
synchronization to output data. The chirp upper frequency is limited
to 0.99 x Nyquist frequency since the Nyquist frequency in the end
aliased and caused a visible artefact to spectral plot and it triggered
a resampler filter impulse response that had some correlation with
start/end marker chirps. The cosine chirp initialization to start from
90 degrees (zero PCM code instead of max.) also cleaned the start impulse
and improved the look of spectrogram plot.

The syncronization was limited to seek from one measured channel only. The
sync finder also didn't handle properly multi-channel input.

The output file start marker scan length was reduced to be
idle+marker length. And the scan time for end was reduced to be
2xidle+marker length

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-06-29 17:13:22 +03:00
kmod_scripts kmod_scripts: handle nocodec machine driver 2018-04-14 13:19:14 +01:00
rimage/keys rimage: move rimage to sof firmware repo 2018-02-13 20:44:03 +00:00
rmbox rmbox: add missing trace class to sync with firmware 2018-06-25 12:59:07 +08:00
test SOFT: Improve audio test synchronization code 2018-06-29 17:13:22 +03:00
topology Merge pull request #12 from zhigang-wu/master 2018-06-29 14:29:52 +01:00
tune/src SOFT: Add SRC coefficients generate tool 2018-06-04 10:06:24 +01:00
.gitignore topology: test: Add simple component test generator. 2017-12-13 21:08:57 +00:00
Makefile.am rimage: move rimage to sof firmware repo 2018-02-13 20:44:03 +00:00
README rimage: Initial import of rimage firmware tool. 2016-10-07 10:48:49 +01:00
autogen.sh rimage: Initial import of rimage firmware tool. 2016-10-07 10:48:49 +01:00
configure.ac topology: move ssp related macros to ssp.m4 in platform/common 2018-06-25 13:44:52 -07:00

README

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