Go to file
Janusz Jankowski a8d33b2d36 rimage: cast size_t to correct format types
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-30 07:47:10 +01:00
doc cmake: doc: specify no languages 2019-01-25 15:55:39 +00:00
rimage rimage: cast size_t to correct format types 2019-01-30 07:47:10 +01:00
scripts scripts: xtensa-build-all: Add support to force build UP Arch 2019-01-24 15:32:27 +00:00
src platform: skl: Add memory map for SKL/KBL platforms 2019-01-26 14:27:44 +00:00
test cmake: use cmocka tiny config 2019-01-25 15:57:51 +00:00
tools kmod_scripts: fix dependencies and add delays 2019-01-23 12:56:21 -06:00
.gitignore gitignore: add cmake files 2019-01-28 10:43:05 +00:00
.travis.yml CI: travis: add QEMU boot test for skl, kbl, cnl 2019-01-18 08:27:29 +00:00
CMakeLists.txt cmake: prevent in-source build 2019-01-28 10:43:05 +00:00
CODEOWNERS [skip ci] github: add @jajanusz as cmake owner 2019-01-23 11:13:07 +00:00
Kconfig cmake: debug build support 2019-01-22 15:35:35 +00:00
LICENCE core: initial import of open source DSP firmware 2016-09-22 16:02:43 +01:00
README.md readme: update for cmake 2019-01-23 20:11:00 +00: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:

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

Cherrytrail:

cmake -DTOOLCHAIN=xtensa-cht-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-cht-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