Go to file
Jaska Uimonen 64ef0da440 pipeline: fix period frame size calculation
The period frame size calculation has issues by doing division instead
of multiplication. So fix this by introducing new function for buffer
period frames calculation where we multiply samplerate and
schedule_period and divide by 1000000. Also round up the result.

Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
2019-08-30 11:56:53 +02:00
.github/ISSUE_TEMPLATE gh: update issue templates 2019-05-28 13:20:34 +01:00
doc testbench: move README from doc to tools 2019-06-12 12:19:45 +02:00
rimage rimage: tgl machine definition 2019-08-27 13:45:16 +02:00
scripts cmake: add sof_add_static_library utility function 2019-08-09 16:44:50 +02:00
src pipeline: fix period frame size calculation 2019-08-30 11:56:53 +02:00
test unit tests: fix cmocka test for pipeline connect 2019-08-15 14:29:22 +02:00
tools topology: set glk kwd pipeline rate to 16kHz 2019-08-30 11:29:00 +02:00
.gitignore gitignore: remove autotools ignore files. 2019-03-27 14:32:19 +00:00
.travis.yml CI: travis: update with IMX8 support 2019-05-30 13:18:47 +02:00
CMakeLists.txt cmake: interface library for sof static libraries 2019-08-09 16:44:50 +02:00
CODEOWNERS include: split uapi headers into more directories 2019-05-31 20:10:45 +01:00
Kconfig Kconfig: add option to enable CONFIG_LP_SRAM 2019-07-30 19:29:59 +02:00
LICENCE licence: update for kconfig and elf.h 2019-02-01 11:12:36 +00:00
README.md Updated Readme for cht configuration 2019-04-26 10:42:41 +01:00

README.md

Sound Open Firmware

Status

Build Status

Documentation

See docs

Prerequisites

  • Docker
  • CMake (version >= 3.10)

Build Instructions

  1. Create directory in checked out repo for build files:
mkdir build && cd build
  1. Run configuration for your toolchain:

Baytrail / Cherrytrail:

cmake -DTOOLCHAIN=xtensa-byt-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-byt-elf ..

Haswell / Broadwell:

cmake -DTOOLCHAIN=xtensa-hsw-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-hsw-elf ..

Apollolake:

cmake -DTOOLCHAIN=xtensa-apl-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-apl-elf ..

Cannonlake:

cmake -DTOOLCHAIN=xtensa-cnl-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-cnl-elf ..
  1. Apply default config for your platform.

Baytrail:

make baytrail_defconfig

Cherrytrail:

make cherrytrail_defconfig

Haswell:

make haswell_defconfig

Broadwell:

make broadwell_defconfig

Apollolake:

make apollolake_defconfig

Cannonlake:

make cannonlake_defconfig
  1. (Optional) Customize your configuration
make menuconfig
  1. Build firmware
make bin
# or `make bin -j<jobs>` for parallel build

Running the tests

See unit testing documentation

Deployment

TODO: Add additional notes about how to deploy this on a live system

Contributing

See Contributing to the Project

License

This project is licensed under the BSD Clause 3 - see the LICENCE file for details