sof/scripts
Seppo Ingalsuo ba070748c4 Test: Cmocka: Create new platform unit_test_defconfig
This patch adds to unit tests platform unit_test to be able
to add new Kconfig enables without altering configuration of
of other production platforms.

The used platform for the purpose is MTL to be able to unit
test code for HiFi4. Components/features to test can be
freely added to unit_test_defconfig.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2024-11-19 09:57:20 +00:00
..
cmake scripts: add new SOF_CC_BASE={xcc,clang,gcc} variable 2024-08-14 09:58:38 +03:00
docker_build docker_build: Add support for MediaTek mt8188 2024-05-27 13:06:15 +03:00
kconfig license: use spdx identifier in python files 2019-06-02 16:38:17 +01:00
scan platform: remove support for cAVS 1.5 platforms 2023-03-02 11:28:23 +00:00
README.docker platform: remove support for Baytrail and Cherrytrail 2023-02-08 13:36:04 +00:00
build-tools.sh scripts: build-tools: Add support to build tplg1/tplg2 individually 2024-10-16 17:57:26 +03:00
checkpatch.pl cmake: stop sneakily downloading missing submodules at build time 2022-08-31 10:40:04 +01:00
const_structs.checkpatch dai: supply caps and other info from within drivers 2019-05-03 03:14:43 -07:00
docker-qemu.sh license: use spdx identifier in shell scripts 2019-06-02 16:38:17 +01:00
docker-run.sh scripts/docker-run.sh: thesofproject/sof:latest to default 2024-05-22 15:24:11 +01:00
fuzz.sh fuzz: add coverage build 2024-10-30 09:26:08 +00:00
gen-doc.sh gen-doc.sh: Use getopts for parsing arguments 2020-03-31 15:10:34 +01:00
gen-uuid-reg.py uuid: Add app-global UUID registry 2024-07-05 14:32:56 +01:00
host-testbench.sh Scripts: Add ARIA and ASRC to sof-testbench4 test run 2024-10-29 15:04:56 +00:00
llext_link_helper.py llext: automatically calculate module addresses 2024-09-10 09:23:24 +03:00
llext_offset_calc.py llext: automatically calculate module addresses 2024-09-10 09:23:24 +03:00
parse_sparse_output.sh parse_sparse_output.sh: add "removes address space" and "too many" 2023-04-25 11:52:23 +03:00
qemu-check.sh platform: remove support for cAVS 2.0 platforms 2023-03-07 14:02:18 +02:00
rebuild-testbench.sh Tools: Testbench: Switch testbench to IPC4 mode 2024-10-28 11:07:44 +00:00
run-mocks.sh Test: Cmocka: Create new platform unit_test_defconfig 2024-11-19 09:57:20 +00:00
set_xtensa_params.sh scripts: add support for ACP_7_0 platform 2024-09-11 09:28:36 +03:00
sof-post-commit-hook.sh check patch: allow C99 comments 2021-12-06 09:58:32 +00:00
sof-pre-commit-hook.sh license: use spdx identifier in shell scripts 2019-06-02 16:38:17 +01:00
sof-target-install.sh license: use spdx identifier in shell scripts 2019-06-02 16:38:17 +01:00
sof-testbench-build-profile.sh Tools: Testbench: Add useful script for run and profile 2024-11-04 12:21:00 +00:00
sof-testbench-helper.sh Tools: Testbench: Add useful script for run and profile 2024-11-04 12:21:00 +00:00
sof_fw.kb ci: klocwork: add example config file to avoid FPs 2019-02-22 12:16:05 +01:00
spelling.txt sof: add git pre- and post-commit hooks 2018-01-23 21:08:05 +00:00
sudo-cwd.sh scripts/sudo-cwd.sh: don't try to copy missing sudoers.d/ permissions 2023-01-06 14:52:09 +00:00
test-repro-build.sh script: test-repro-build: change imx8 with AMD's rmb 2024-02-16 21:48:10 +02:00
xtensa-build-all.sh scripts: add support for ACP_7_0 platform 2024-09-11 09:28:36 +03:00
xtensa-build-zephyr.py app: boards: Update configuration to support ACP_6_0 soc. 2024-10-28 11:34:00 +00:00

README.docker

The docker container provided in docker_build sets up a build environment for
building Sound Open Firmware. A working docker installation is needed to run
the docker build container.

Note: In order to run docker as non sudo/root user please run.

sudo usermod -aG docker your-user-name

Then logout and login again.

Quick Start:

First, build the docker container. This step needs to be done initially and
when the toolchain or alsa dependencies are updated.

cd scripts/docker_build

./docker-build.sh

After the container is built, it can be used to run the scripts.

To build for tigerlake:
./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l tgl
or (may need password test0000 for rimage install)
./scripts/docker-run.sh ./scripts/xtensa-build-all.sh tgl

To rebuild the topology and logger:
./scripts/docker-run.sh ./scripts/build-tools.sh

An incremental sof.git build:
./scripts/docker-run.sh make

Or enter a shell:
./scripts/docker-run.sh bash