mirror of https://github.com/thesofproject/sof.git
1e467a106f
There are some restrictions when --fw-naming is set to 'AVS' for the sake of providing reasonable FW outputs that make sense. Restriction 1: When argument fw_naming is set as AVS, IPC4 ipc version will be automatically chosen. This is because --fw-naming 'AVS' is added for supporting IPC4 SOF build by nature. Restriction 2: When argument fw_naming is set as AVS, using platform subdirectories will be automatically chosen. The reason is that the platform subdirectories actually belong to the "AVS" naming scheme, we must enable using platform subdirectories when building FW in AVS naming convention. This also ensure that we can tell firmwares of different platforms apart by organizing them in different subdirectories. Signed-off-by: Xiaoyun Wu(Iris) <xiaoyun.wu@intel.com> |
||
---|---|---|
.. | ||
cmake | ||
docker_build | ||
kconfig | ||
scan | ||
README.docker | ||
build-tools.sh | ||
checkpatch.pl | ||
const_structs.checkpatch | ||
docker-qemu.sh | ||
docker-run.sh | ||
gen-doc.sh | ||
host-testbench.sh | ||
qemu-check.sh | ||
rebuild-testbench.sh | ||
run-mocks.sh | ||
sof-post-commit-hook.sh | ||
sof-pre-commit-hook.sh | ||
sof-target-install.sh | ||
sof_fw.kb | ||
spelling.txt | ||
test-repro-build.sh | ||
xtensa-build-all.sh | ||
xtensa-build-zephyr.py | ||
xtensa-build-zephyr.sh |
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 baytrail: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l byt or (may need password test0000 for rimage install) ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh byt 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