Go to file
Janusz Jankowski a2fa79f211 cmake: dw: use feature configs in ifs
It is better to include features based on feature Kconfig symbols,
instead of hardcoding them per platform.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-06-11 15:31:18 +02:00
.github/ISSUE_TEMPLATE gh: update issue templates 2019-05-28 13:20:34 +01:00
doc cmake: add spdx license identifier 2019-06-02 16:38:17 +01:00
rimage rimage: ignore sections not used by bootloader 2019-06-11 09:05:26 +02:00
scripts cmake: xtensa: use absolute paths for tools 2019-06-05 11:38:23 +02:00
src cmake: dw: use feature configs in ifs 2019-06-11 15:31:18 +02:00
test memory: new memory layout for APL, ICL, CNL and SUE 2019-06-11 13:49:37 +02:00
tools topology: provide default config for new detector params 2019-06-11 13:25:16 +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: install: fix new headers paths 2019-06-10 14:50:13 +02:00
CODEOWNERS include: split uapi headers into more directories 2019-05-31 20:10:45 +01:00
Kconfig drivers: group DW configs in one Kconfig file 2019-06-11 15:31:18 +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