Home
last modified time | relevance | path

Searched +full:build +full:- +full:tools (Results 1 – 25 of 31) sorted by relevance

12

/sof-2.7.6/.github/workflows/
Dtools.yml1 ---
2 name: User space tools/ directory
7 # yamllint disable-line rule:truthy
11 # This is not the same as building every ./build-tools.sh option.
12 top-level_default_CMake_target_ALL:
13 runs-on: ubuntu-latest
15 - uses: actions/checkout@v2
20 - name: docker
24 - name: build-tools
25 run: CMAKE_BUILD_TYPE=Release ./scripts/docker-run.sh
[all …]
Dipc_fuzzer.yml1 ---
3 # For the actual fuzzer see tools/oss-fuzz/README.
5 # https://google.github.io/oss-fuzz/getting-started/continuous-integration/
7 # Build and run fuzzer for 5s just to check that it runs properly. If it
10 # If you came here to quickly copy/paste the invocation of some build
17 # OUT=unused_dir cmake -B oss-fuzz-build/ -S tools/oss-fuzz/
18 # make -j -C oss-fuzz-build sof_ep fuzz_ipc.o
25 # yamllint disable-line rule:truthy
29 ipc-fuzzer-build:
30 runs-on: ubuntu-latest
[all …]
Dpull-request.yml1 ---
2 # Tools that can save round-trips to github and a lot of time:
4 # yamllint -f parsable pull_request.yml
6 # yaml merge-expand pull_request.yml exp.yml &&
7 # diff -w -u pull_request.yml exp.yml
14 # this name is the Checks window next to other, non-github checks.
17 # yamllint disable-line rule:truthy
21 - 'main'
22 - 'stable-**'
23 - '**-stable'
[all …]
Dinstaller.yml1 ---
2 # Tools that can save round-trips to github and a lot of time:
4 # yamllint -f parsable this.yml
6 # yaml merge-expand this.yml exp.yml && diff -w -u this.yml exp.yml
15 # yamllint disable-line rule:truthy
20 runs-on: ubuntu-20.04
22 - uses: actions/checkout@v2
24 with: {fetch-depth: 50, submodules: recursive}
26 - name: docker
29 # -j3 tests the ability to build multiple platforms
[all …]
/sof-2.7.6/scripts/
Dbuild-tools.sh2 # SPDX-License-Identifier: BSD-3-Clause
6 set -e
11 Deletes and re-builds from scratch CMake projects in the tools/
13 Attention: the list below is _not_ exhaustive. To re-build _everything_
14 from scratch don't select any particular target; this will build the
17 usage: $0 [-c|-f|-h|-l|-p|-t|-T]
18 -h Display help
20 -c Rebuild ctl/
21 -f Rebuild fuzzer/ # deprecated, see fuzzer/README.md
22 -l Rebuild logger/
[all …]
DREADME.docker1 The docker container provided in docker_build sets up a build environment for
3 the docker build container.
7 sudo usermod -aG docker your-user-name
13 First, build the docker container. This step needs to be done initially and
18 ./docker-build.sh
22 To build for baytrail:
23 ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l byt
25 ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh byt
28 ./scripts/docker-run.sh ./scripts/build-tools.sh
30 An incremental sof.git build:
[all …]
Ddocker-run.sh2 # SPDX-License-Identifier: BSD-3-Clause
8 # To build sof for baytrail:
9 # ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh byt
10 # To build topology:
11 # ./scripts/docker-run.sh ./scripts/build-tools.sh
13 # set -x
15 if tty --quiet; then
16 SOF_DOCKER_RUN="$SOF_DOCKER_RUN --tty"
19 docker run -i -v "$(pwd)":/home/sof/work/sof.git \
20 --env CMAKE_BUILD_TYPE \
[all …]
Dxtensa-build-zephyr.sh2 # SPDX-License-Identifier: BSD-3-Clause
6 set -e
10 SUPPORTED_PLATFORMS=(apl cnl icl tgl-h)
11 # Default value, can (and sometimes must) be overridden with -p
13 BUILD_JOBS=$(nproc --all)
30 Re-configures and re-builds SOF with Zephyr using a pre-installed Zephyr toolchain and
35 -a Build all platforms.
36 -j n Set number of make build jobs. Jobs=#cores by default.
38 -k Path to a non-default rimage signing key.
39 -c recursively clones Zephyr inside sof before building.
[all …]
Drebuild-testbench.sh2 # SPDX-License-Identifier: BSD-3-Clause
6 set -e
11 usage: $0 [-f]
12 -f Build testbench with compiler provided by fuzzer
13 (default path: $HOME/sof/work/AFL/afl-gcc)
21 rm -rf build_testbench
26 cmake -DCMAKE_INSTALL_PREFIX=install ..
28 cmake --build . -- -j"$(nproc)" install
41 BUILD_TESTBENCH_DIR="$SOF_REPO"/tools/testbench
42 : "${SOF_AFL:=$HOME/sof/work/AFL/afl-gcc}"
Dxtensa-build-all.sh2 # SPDX-License-Identifier: BSD-3-Clause
6 set -e
9 imx8 imx8x imx8m imx8ulp tgl tgl-h rn)
13 BUILD_JOBS=$(nproc --all)
25 # The entire, purely local gcc build is so fast (~ 1s) that observing
26 # any difference between -j nproc and -j nproc*N is practically
29 if [ -n "$XTENSA_TOOLS_ROOT" ]; then
46 Re-configures and re-builds SOF using the corresponding compiler and the
53 -r Build rom if available (gcc only)
54 -a Build all platforms
[all …]
Dhost-testbench.sh2 # SPDX-License-Identifier: BSD-3-Clause
7 # please run following scrits for the test tplg and host build
8 # ./scripts/build-tools.sh -t
9 # ./scripts/rebuild-testbench.sh
11 # ./scripts/host-testbench.sh
15 set -e
18 du -b "$1" | awk '{print $1}'
27 if [[ "$OUTPUT_SIZE" -gt "$INPUT_SIZE" ]]; then
31 if [[ "$OUTPUT_SIZE" -lt "$INPUT_SIZE_MIN" ]]; then
49 TESTBENCH_DIR=${SOF_DIR}/tools/test/audio
[all …]
/sof-2.7.6/
D.travis.yml1 ---
2 # Suggested tools that can save round-trips to github and a lot of time:
6 # yaml merge-expand .travis.yml exp.yml && diff -b -u .travis.yml exp.yml
16 - docker
23 - buildonly
24 - tests
27 # 'name:'-less jobs appear with their env, e.g.: PLATFORM=tgl
33 - &build-platform
36 &docker-pull-sof
39 ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -r $PLATFORM
[all …]
DCODEOWNERS13 src/include/ipc/** @thesofproject/steering-committee
14 src/include/kernel/** @thesofproject/steering-committee
15 src/include/user/** @thesofproject/steering-committee
45 src/drivers/intel/cavs/sue-iomux.c @lyakh
53 src/drivers/intel/cavs/sue-ipc.c @lyakh
60 scripts/* @marc-hb
62 # tools(old 'soft' repo)
63 tools/logger/* @bkokoszx @akloniex
64 tools/topology/* @ranj063
65 tools/testbench/* @ranj063
[all …]
/sof-2.7.6/tools/oss-fuzz/
DCMakeLists.txt1 # SPDX-License-Identifier: BSD-3-Clause
17 set(sof_binary_directory "${PROJECT_BINARY_DIR}/sof_ep/build")
21 target_compile_options(fuzz_ipc PRIVATE -g -O3 -Wall -Werror -Wmissing-prototypes
22 -Wimplicit-fallthrough -DCONFIG_LIBRARY -imacros${config_h})
24 target_link_libraries(fuzz_ipc PRIVATE -ldl -lm)
30 "Missing key env vars, please only build with oss-fuzz, see README in tools/oss-fuzz")
40 CMAKE_ARGS -DCONFIG_LIBRARY=ON
41 -DCONFIG_LIBRARY_STATIC=ON
42 -DCMAKE_INSTALL_PREFIX=${sof_install_directory}
43 -DCMAKE_VERBOSE_MAKEFILE=${CMAKE_VERBOSE_MAKEFILE}
[all …]
/sof-2.7.6/scripts/cmake/
Dxtensa-toolchain.cmake1 # SPDX-License-Identifier: BSD-3-Clause
3 set(CROSS_COMPILE "${TOOLCHAIN}-")
8 " 1) cmake -DTOOLCHAIN=xt ...\n"
9 " 2) cmake -DTOOLCHAIN=xtensa-apl-elf ...\n"
14 # scan-build has to set its own compiler,
16 message(STATUS "Reset C Compiler for scan-build")
19 # scan-build proxies only compiler, other tools are used directly
23 set(XCC_TOOLS_VERSION "CLANG-SCAN-BUILD")
34 set(CMAKE_USER_MAKE_RULES_OVERRIDE "${CMAKE_CURRENT_LIST_DIR}/xtensa-platform.cmake")
71 COMMAND ${CMAKE_C_COMPILER} --show-config=config
[all …]
/sof-2.7.6/keys/
DREADME11 This is done automatically as part of the "make bin" part of the build.
25 RSA Private and Public keys are generated as follows :-
27 For cavs 1.5-2.0 platforms, 2k key is needed with following:
28 openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048
31 openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:3072
33 openssl rsa -pubout -in private_key.pem -out public_key.pem
37 Intel supplies tools to board makers to stitch the public key into the BIOS.
/sof-2.7.6/tools/
DREADME.md1 # Sound Open Firmware Tools
3 This is a collection of open source tools used to develop, test and debug SOF.
15 ### sof-logger
17 sof-logger is used to print logs delivered from FW dma_trace mechanism, by
20 Every entry declared in FW is placed in elf output file (e.g. sof-apl) in
26 incorporated from FW elf file (e.g. sof-apl). `snd_sof_logs_header`
30 sof-logger works by reading entry parameters value and entries addresses from
35 Usage sof-logger <option(s)> <file(s)>
37 -h help
38 -l *.ldc_file Specify the *.ldc file
[all …]
/sof-2.7.6/installer/
DREADME.md2 ``/lib/firmware/intel/sof-tplg/`` directories.
5 ``./scripts/xtensa-build-all.sh`` and ``./scripts/build-tools.sh -T
6 -l``. It automatically runs these scripts when needed for the platforms
16 The default target (re-)generates the staging area:
18 make -C installer/
22 sudo make -C installer/ rsync
26 different directory, copy the ``sample-config.mk`` file to ``config.mk``
34 make -C installer/ stage rsync
41 You can use `make -jN stage` to build multiple platforms faster but do
42 *not* `make -jN stage rsync` as this will start deploying before the
[all …]
DGNUmakefile2 # SPDX-License-Identifier: BSD-3-Clause
12 -include config.mk
15 SIGNED_list ?= apl cnl icl jsl tgl tgl-h
21 # git grep 'sof-.*\.ri' -- sound/soc/
46 TREE_OPTS ?= --sort=size --dirsfirst
47 INSTALL_OPTS ?= -D -p -m 0664
51 SOF_VERSION ?= $(shell git describe --dirty)
54 VERSION_SUFFIX := -${SOF_VERSION}
60 ### Top-level directories ####
64 BUILDS_ROOT ?= ${CURDIR}/../installer-builds
[all …]
/sof-2.7.6/src/platform/baytrail/
Dplatform.c1 // SPDX-License-Identifier: BSD-3-Clause
10 #include <sof/drivers/dw-dma.h>
15 #include <sof/fw-ready-metadata.h>
31 #include <sof/trace/dma-trace.h>
47 * of build tools limitation - removing `READONLY` flag when updated `.` value
67 /* opt-in; reproducible build by default */
69 .build = SOF_BUILD, /* See version-build-counter.cmake */
73 .build = -1,
193 sof->platform_timer = &timer; in platform_init()
194 sof->cpu_timers = &arch_timer; in platform_init()
[all …]
/sof-2.7.6/src/arch/xtensa/
DCMakeLists.txt1 # SPDX-License-Identifier: BSD-3-Clause
3 # platform-specific values
24 set(RIMAGE_MOD_OFFSET_FLAG -x 24)
75 set(stdlib_flag "-nostdlib")
82 target_compile_definitions(sof_options INTERFACE -D__XTENSA__=1)
87 find_program(XCC_PATH NAMES "xt-xcc" PATHS ENV PATH NO_DEFAULT_PATH)
89 target_include_directories(sof_options INTERFACE ${XCC_DIR}/../xtensa-elf/include)
95 set(XTENSA_C_ASM_FLAGS -m32)
98 set(XTENSA_C_ASM_FLAGS -mlongcalls)
99 set(XTENSA_C_FLAGS -mtext-section-literals)
[all …]
/sof-2.7.6/zephyr/
DCMakeLists.txt1 # This is still WIP - Not fully validated on any platform.
12 # firmware build supports only xtensa arch for now
37 # 1. Application logic - pipeline, audio components, IPC processing, topology
38 # 2. IP drivers - SSP, DMIC, PM, IPC will transition to Zephyr directly over
40 # 3. Platform IP - PM, init, clocks, IRQs will transition directly to Zephyr
42 # 4. RTOS logic - scheduler, allocator, notifier - as with 2 & 3.
69 BINARY_DIR "${PROJECT_BINARY_DIR}/smex_ep/build"
70 INSTALL_COMMAND "" # need smex only at build time
74 SOURCE_DIR "${ZEPHYR_SOF_MODULE_DIR}/tools/"
76 PREFIX "${PROJECT_BINARY_DIR}/sof-logger_ep"
[all …]
/sof-2.7.6/src/platform/imx8ulp/include/arch/xtensa/config/
Dcore-matmap.h2 * xtensa/config/core-matmap.h -- Memory access and translation mapping
5 * If you are using Xtensa Tools, see <xtensa/config/core.h> (which includes
10 * information contained in the core-isa.h header file.
19 * XCHAL_ICACHE_SIZE (presence of I-cache)
20 * XCHAL_DCACHE_SIZE (presence of D-cache)
25 /* Customer ID=13270; Build=0x92cb6; Copyright (c) 1999-2021 Tensilica Inc.
51 /*----------------------------------------------------------------------
53 ----------------------------------------------------------------------*/
57 /* Cache Attribute encodings -- lists of access modes for each cache attribute: */
120 #define XCHAL_CA_WRITETHRU 1 /* cache enabled (write-through) mode */
[all …]
/sof-2.7.6/src/platform/haswell/include/arch/xtensa/config/
Dcore-matmap.h2 * xtensa/config/core-matmap.h -- Memory access and translation mapping
5 * If you are using Xtensa Tools, see <xtensa/config/core.h> (which includes
10 * information contained in the core-isa.h header file.
19 * XCHAL_ICACHE_SIZE (presence of I-cache)
20 * XCHAL_DCACHE_SIZE (presence of D-cache)
25 /* Customer ID=4313; Build=0x5483b; Copyright (c) 1999-2015 Tensilica Inc.
51 /*----------------------------------------------------------------------
53 ----------------------------------------------------------------------*/
56 /* Cache Attribute encodings -- lists of access modes for each cache attribute: */
115 #define XCHAL_CA_WRITETHRU 1 /* cache enabled (write-through) mode */
[all …]
/sof-2.7.6/src/platform/imx8m/include/arch/xtensa/config/
Dcore-matmap.h2 * xtensa/config/core-matmap.h -- Memory access and translation mapping
5 * If you are using Xtensa Tools, see <xtensa/config/core.h> (which includes
10 * information contained in the core-isa.h header file.
19 * XCHAL_ICACHE_SIZE (presence of I-cache)
20 * XCHAL_DCACHE_SIZE (presence of D-cache)
25 /* Customer ID=14556; Build=0x7ef28; Copyright (c) 1999-2019 Tensilica Inc.
51 /*----------------------------------------------------------------------
53 ----------------------------------------------------------------------*/
56 /* Cache Attribute encodings -- lists of access modes for each cache attribute: */
115 #define XCHAL_CA_WRITETHRU 1 /* cache enabled (write-through) mode */
[all …]

12