Go to file
Janusz Jankowski 1d92e8e175 sof: use RELATIVE_FILE instead of __FILE__
Use RELATIVE_FILE because __FILE__ makes binary output
dependent on project location.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-11-11 12:50:30 +00:00
.github/ISSUE_TEMPLATE issue_template: remove dead references and duplicate fields 2019-09-23 09:32:45 +02:00
doc testbench: move README from doc to tools 2019-06-12 12:19:45 +02:00
rimage rimage: add support for jsl 2019-10-30 17:46:11 +01:00
scripts cmake: scripts: relative path define utility 2019-11-11 12:50:30 +00:00
src sof: use RELATIVE_FILE instead of __FILE__ 2019-11-11 12:50:30 +00:00
test sof: use RELATIVE_FILE instead of __FILE__ 2019-11-11 12:50:30 +00:00
tools sof: use RELATIVE_FILE instead of __FILE__ 2019-11-11 12:50:30 +00:00
.gitignore gitignore: remove autotools ignore files. 2019-03-27 14:32:19 +00:00
.travis.yml CI: travis: add JSL build check 2019-10-30 17:46:11 +01:00
CMakeLists.txt sof: use RELATIVE_FILE instead of __FILE__ 2019-11-11 12:50:30 +00:00
CODEOWNERS codeowners: add @tlauda and @mrajwa as codeowners of schedule directory 2019-09-20 14:43:58 +02:00
Kconfig pm: cavs: add lps flow 2019-11-08 14:37:29 +01: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