Commit Graph

30 Commits

Author SHA1 Message Date
Liam Girdwood a197715d09 configure: check for doxygen and graphviz to build docs
Documentation needs doxygen and graphviz so warn if they are not
installed.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-04-13 15:33:57 +01:00
Marcin Maka 6aee21bb42 Makefile support for doc target.
Builds uapi documentation in html format using doxygen.
See doc/sof_uapi/html/index.html
First dox samples in the source code provided by the patch.

Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2018-04-13 14:56:04 +01:00
Tomasz Lauda 7f35266a78 configure: Fix --with-dsp-core flag
--with-dsp-core flag should accept every core name.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-04-06 11:53:27 +01:00
Pierre-Louis Bossart 81708a5d2a sof: global replacement of 'reef' by 'sof'
Let's remove reef to avoid confusion/legacy.
no functionality change but the name of generated files
will change so targets and install scripts will need
to be updated

There should be only one occurrence of "Reef" left in
rimage/file_format.h, left as is for backwards compatibility.
This may be changed separately at a later point.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2018-04-05 15:10:14 +01:00
Liam Girdwood 1061b7d951 trace: dma: remove disable DMA trace option
DMA based trace is the standard default trace method. mailbox trace is
no longer supported.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-03-15 15:07:05 +00:00
Liam Girdwood 05ef4343d1 rimage: import rimage image creation and signing tool
rimage is being moved from tools repo to sof repo since there is now a
cyclic dependency between both repos and sof needs rimage for it's
build.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-02-13 20:29:40 +00:00
Keyon Jie c610c64299 dma: hda dma: Add HDA host and link DMA driver
Add a host and link DMA driver for Intel HDA DMA gateway.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
2018-02-08 17:00:37 +00:00
Rander Wang 4502765ebe ssp: add ssp support for APL and CNL
Now it supports I2S & TDM4 master mode and no MN devide used.
For 19.2M clock, 16bit 48K stream maybe need to pack to 20bit
48K.
2018-02-08 16:41:21 +00:00
Ranjani Sridharan 0505823b96 build: add library build support for host platform
This patch provides library build support for host platform architecture.
It enables creating separate libraries for each SOF audio component.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-01-27 16:56:10 +00:00
Liam Girdwood 17c6bcf850 build: add build support for cannonlake
Build the Intel Cannonklake platform.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-01-23 16:19:59 +00:00
Liam Girdwood 095c907a3f build: add build support for apollolake
Build the Intel apollolake platform.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-01-23 16:15:51 +00:00
Liam Girdwood cc9fba353e build: configure: make sure we can include C headers in assembly
Set ASSEMBLY when we are building .S files so that C headers can
be included.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-01-23 16:15:51 +00:00
Liam Girdwood f198ad907c platform: hsw: Add build support for haswell and broadwell
Add build support Makefiles

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-01-22 12:25:12 +00:00
Liam Girdwood 6bb3783952 build: fix package name to sof
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-01-10 20:43:25 +00:00
Liam Girdwood 93d62e595e build: version Add micro version to supporting versioning stable releases
Currently SOF is version as x.y. Add a z so that the version is x.y.z and
can represent different stable versions.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-01-10 20:26:08 +00:00
Liam Girdwood b14e852bbe build: fix install and dist build targets.
Make install/dist were missing some headers files and dirs. Add them and
make sure version generation works for building from the dist directory
where there is no git versioning information available.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-01-10 17:36:41 +00:00
Keyon Jie 1a8a653af8 dma-trace: add build condition for dma trace
Only compile dma-trace.c when BUILD_DMA_TRACE is true.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Acked-by: Yan Wang <yan.wang@linux.intel.com>
2017-12-22 15:59:47 +00:00
Keyon Jie fb784218b5 configure.ac: add CONFIG_HOST_PTABLE flag for platforms which need handle it
We only need handle host page tables on platforms that we
program DMA host buffer(addr/size) inside firmware, for
other platforms, host driver will program these settings
and won't pass in page tables.

So here add frag CONFIG_HOST_PTABLE to configure this for
different platforms, on Baytrail, Cherrytrail, we need
CONFIG_HOST_PTABLE to be selected.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
2017-12-06 14:58:15 +00:00
Keyon Jie 0e42030c3c configure.ac: add CONFIG_DMA_TRACE flag for DMA trace feature
For debug reason, e.g. DMA trace doesn't work or not implemented
yet, we can use --disable-dma-trace in configure command line,
which will unset CONFIG_DMA_TRACE flag, and it will fallback
to use traditional mailbox trace instead.

The flag is set by default, if we don't add '--disable-dma-trace'
to configure command.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
2017-12-06 14:58:09 +00:00
Liam Girdwood f63c7897b9 byt: use correct hifi2 EP version for BYT and CHT.
BYT and CHT have EP Hifi2 extension so enable it.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-12-05 20:36:55 +00:00
Liam Girdwood 2eab467c16 configure: place AM_CONDITIONAL outside of conditional logic
Always runs AM_CONDITIONAL macros as placing inside conditional logic
can confuse autotools.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-11-30 16:03:46 +00:00
Liam Girdwood 5f5d7c2b93 configure: reset build count every time autogen.sh is run.
autogen.sh rebuilds the build system so also reset any build count to 0.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-11-30 16:03:46 +00:00
Pierre-Louis Bossart d46dd3567d sof: check for missing prototypes
gcc -Wall is not enough, add -Wmissing-prototypes to align with
kernel warnings.

Add relevant includes and move functions without prototype as static

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2017-09-27 10:54:34 +01:00
Seppo Ingalsuo 6a274839ee Add SRC component
This change provides a sample rate converter (SRC).
 The SRC is polyphase FIR type. All the conversions coefficients tables are
 automatically generated by a separate Octave scripts set in the rimage
 tools set. The supported in/out rates and the performance can be customized
 for a different quality/resources trade-off.
2017-06-07 15:09:31 +01:00
Liam Girdwood 658159e7c5 build: fix generation of commit ID and build number
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-06-06 13:17:22 +01:00
Liam Girdwood 77bc065d6c version: improve git version for build and IPC
Improve the git version and include last commit for IPC version message.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-12-22 20:20:10 +00:00
Sebastien Guiriec ca23f51a30 core: Add dsp-core option for XTENSA compiler
In order to use native XTENSA compiler the core target needs to
be overwite with the good platform. This patch is adding an optional
option in order to be able to overwrite the core selection.

Example:
- Set Xtensa export PATH=$PATH:<PATH>/xtensa/XtDevTools/install/tools/RD-2012.5-linux/XtensaTools
./configure --with-arch=xtensa --with-platform=baytrail --with-dsp-core=CHT_audio_hifiep --with-root-dir=<PATH>/xtensa/XtDevTools/install/tools/RD-2012.5-linux/XtensaTools --host=xtensa CC=xt-xcc OBJCOPY=xt-objcopy OBJDUMP=xt-objdump
make
make bin

Signed-off-by: Sebastien Guiriec <sebastien.guiriec@intel.com>
2016-11-02 16:11:26 +00:00
Liam Girdwood 8855ce5b4a build: fix configure naming to use newlib header directory.
The tool-dir naming was a bit ambiguous so rename and fix build-all.sh
to use new name too.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-10-18 17:18:16 +01:00
Liam Girdwood 419b086240 configure: use the sof mailing list address
Replace the test email addres with sof mailing list in configure.ac

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-10-17 16:10:42 +01:00
Liam Girdwood c0dfb4e62a core: initial import of open source DSP firmware
This project provides an open source audio firmware infrastructure for audio
DSPs found on many modern devices. The intention is to allow developers to
create their own codecs, audio processing algorithms and pipelines using
the infrastructure and audio components provided by this project.

The project currently supports the Intel Baytrail and Cherrytrail audio DSP
platforms which use the Xtensa architecture.

The firmware source code is released under the BSD 3 clause licence.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-09-22 16:02:43 +01:00