2018-04-26 00:48:41 +08:00
|
|
|
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.
|
|
|
|
|
2019-01-03 17:09:12 +08:00
|
|
|
Note: In order to run docker as non sudo/root user please run.
|
2018-05-17 23:36:48 +08:00
|
|
|
|
|
|
|
sudo usermod -aG docker your-user-name
|
|
|
|
|
|
|
|
Then logout and login again.
|
|
|
|
|
2018-04-26 00:48:41 +08:00
|
|
|
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
|
2018-06-05 18:43:26 +08:00
|
|
|
|
|
|
|
./docker-build.sh
|
2018-04-26 00:48:41 +08:00
|
|
|
|
|
|
|
After the container is built, it can be used to run the scripts.
|
|
|
|
|
2023-01-27 23:34:40 +08:00
|
|
|
To build for tigerlake:
|
|
|
|
./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l tgl
|
2018-06-12 00:01:48 +08:00
|
|
|
or (may need password test0000 for rimage install)
|
2023-01-27 23:34:40 +08:00
|
|
|
./scripts/docker-run.sh ./scripts/xtensa-build-all.sh tgl
|
2018-04-26 00:48:41 +08:00
|
|
|
|
2018-11-25 15:38:51 +08:00
|
|
|
To rebuild the topology and logger:
|
|
|
|
./scripts/docker-run.sh ./scripts/build-tools.sh
|
2018-04-26 00:48:41 +08:00
|
|
|
|
|
|
|
An incremental sof.git build:
|
|
|
|
./scripts/docker-run.sh make
|
|
|
|
|
|
|
|
Or enter a shell:
|
|
|
|
./scripts/docker-run.sh bash
|