Go to file
Kai Vehmanen e14ab7088b tools: logger: fix parsing of -s argument
Fix logic for saving the snapshot file argument. getopt()
is called at least once after snapshot option is parsed and
getopt() will erase the optarg value when exiting the while
loop. Without this patch, argument is always NULL and snapshot
cannot be taken.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2019-04-15 16:25:39 +01:00
.github/ISSUE_TEMPLATE github: don't automatically assign features and bugs. 2019-04-04 11:19:02 +01:00
doc dox: reformatted documentation for component and ipc control 2019-02-04 12:42:03 +00:00
rimage rimage: add option to set imr type 2019-04-11 19:07:16 +02:00
scripts CMake/rimage: add option to use out-of-tree private key 2019-04-10 15:54:20 +02:00
src dw-dma: change dw_dma_stop for byt and cht 2019-04-15 16:14:28 +01:00
test test: pipeline: remove mock for removed scheduler function 2019-04-09 10:47:26 +02:00
tools tools: logger: fix parsing of -s argument 2019-04-15 16:25:39 +01:00
.gitignore gitignore: remove autotools ignore files. 2019-03-27 14:32:19 +00:00
.travis.yml CI: travis: update the docker hub organization 2019-01-31 20:35:44 +00:00
CMakeLists.txt cmake: add git hooks 2019-03-21 15:43:25 +00:00
CODEOWNERS codeowners: updated tools/logger codeowners 2019-04-01 14:56:35 +01:00
Kconfig platform: make IOMUX, SPI, DW_GPIO a Kconfig option 2019-03-04 17:52:36 +01: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