Go to file
Guennadi Liakhovetski 488bc759c9 sue: enable booting by loading over SPI
This patch enables creation of an SOF image, that can be loaded over
SPI and run on Sue Creek platforms. With this patch an image still has
to be manually created by padding the boot loader and concatenating it
with the SOF proper rimage (see comments in memory.h). It also contains
a hard-coded 9KiB offset to the beginning of the manifest. More work is
required to fully automate image creation.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2019-02-01 16:47:21 +00:00
doc cmake: doc: specify no languages 2019-01-25 15:55:39 +00:00
rimage sue: use rimage for image building 2019-02-01 16:47:21 +00:00
scripts scripst: copy more tools and scripts to target. 2019-02-01 12:08:23 +00:00
src sue: enable booting by loading over SPI 2019-02-01 16:47:21 +00:00
test cmake: tests: support prebuilt Cmocka 2019-01-31 20:22:30 +00:00
tools logger: format file name to remove leading directories. 2019-02-01 16:17:07 +00:00
.gitignore cmake: doc build files added to gitignore 2019-01-29 11:43:56 +01:00
.travis.yml CI: travis: update the docker hub organization 2019-01-31 20:35:44 +00:00
CMakeLists.txt cmake: crossplatform cc version get 2019-01-30 08:46:04 +01:00
CODEOWNERS github: fix codeowners glob for @jajanusz 2019-01-29 16:09:39 +00:00
Kconfig cmake: debug build support 2019-01-22 15:35:35 +00:00
LICENCE licence: update for kconfig and elf.h 2019-02-01 11:12:36 +00: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