Keyon Jie
905bad4252
scripts: xtensa-build-all: Add support to force build UP Arch
...
Add -u option to allow force building xtensa(up) ARCH on platforms which
usually building xtensa-smp by default.
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
2019-01-24 15:32:27 +00:00
Pan Xiuli
2b0249373f
scripts: change names for binary in qemu-check
...
Use back old style name.
Modify the build folder as gcc and xcc prefix added.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-23 10:59:50 +00:00
Pan Xiuli
140914aa03
scripts: update build all scripts
...
Use different build folder for gcc and xcc build.
Will auto selected if ROM build is not supported for the platform,
thus make -a -r can work.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-23 10:59:50 +00:00
Janusz Jankowski
2843b43f94
cmake: update qemu-check.sh
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Janusz Jankowski
06b576f828
cmake: update host-build-all.sh
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Janusz Jankowski
9840ecbbfe
cmake: update xtensa-build-all.sh
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Janusz Jankowski
4574fdc15a
cmake: add overrideconfig
...
overrideconfig is custom target that can be used
to set config values from scripts
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Janusz Jankowski
82b4da291b
cmake: defconfigs support
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Janusz Jankowski
82d234466a
cmake: version script
...
Replace version.sh with cmake script.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Janusz Jankowski
0fd97adfb0
cmake: add utility scripts
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Janusz Jankowski
7c0f0d917c
kconfig: add Kconfiglib
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Pan Xiuli
36e1139c97
scripts: pre update sof docker for cmake covert
...
Update the sof docker to support cmake to pre test cmake build system
change.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-22 09:36:13 +00:00
Pan Xiuli
cb0786cf42
scripts: update qemu boot check
...
Enable checks to all supported platforms of QEMU now.
Check both IPC header regs and memory window IPC message header.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-18 08:27:29 +00:00
Pan Xiuli
51cab44e2a
scripts: install hexdump in docker
...
Need hexdump for the binary file read to detect qemu boot status.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-18 08:27:29 +00:00
Pierre-Louis Bossart
72c546366d
scripts/checkpatch.pl: remove trace format warnings
...
remove multi-line quoted strings and use of __func__
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pan Xiuli
b25b1304dc
scripts: add qemu check for more platforms
...
Add QEMU boot test for more platforms.
Disable three unfinished platforms: SKL, KBL, CNL
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-14 13:58:29 +00:00
Pan Xiuli
b01432e96a
scripts: increase shm size for some QEMU platforms
...
SHM used to be 64MB, but in newer platform a HP-SRAM is bigger than
that.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-14 13:58:29 +00:00
Pan Xiuli
26528f6313
scripts: default to have local rimage install
...
rimage will default to be build and install to local folder to avoid
ABI changes issues.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-10 15:10:10 +00:00
Pan Xiuli
3b2cfd80f9
scripts: remove all soft related stuff
...
soft is now sof/tools remove all outdated things.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-10 15:10:10 +00:00
Pan Xiuli
12e11b7693
scripts: enable tools test build
...
When pass -t, we will run make tests to build test topology.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-12-04 13:43:51 +00:00
Pan Xiuli
8174738b53
scripts: add rom build option
...
Enable build rom for the target. Could only use with GCC compiler.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-12-04 13:43:51 +00:00
Curtis Malainey
c0c8172535
Update Docker README for SOFT merge
...
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
2018-11-24 23:38:51 -08:00
Curtis Malainey
f8e3b126e1
Adjust tools build script for new path
...
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
2018-11-24 23:30:33 -08:00
Liam Girdwood
baf2806626
scripts: xtensa-build-all: Add support for > 1 makefile job
...
Add -j option to allow setting Makefile jobs.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-21 15:52:00 +00:00
Janusz Jankowski
b5af84deaa
scripts: add smp builds to xtensa-build-all.sh
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2018-11-15 13:46:33 +01:00
Liam Girdwood
c6cdadad14
scripts: checkpatch: check for ABI updates
...
Make sure ABI updates update atleast a single version number.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-09 16:16:38 +00:00
Liam Girdwood
08236fcb46
build: make builds reproducible.
...
Add a debug option to include build number, date and time into build.
This will be disabled b default so that all builds are reproducible.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-09 16:16:38 +00:00
Liam Girdwood
11f27aca1c
Merge pull request #540 from zhuyingjiang/topic/add-manifest-1.5
...
[RFC]Topic/add 1.5 manifest and rimage
2018-11-08 11:35:26 +00:00
Pan Xiuli
fbb4053af0
scripts: only update platform that will be build
...
Keep other platform binary and lst files
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-06 15:39:52 +08:00
Pan Xiuli
0ca1c79d06
scripts: docker: remove -t flag
...
t flag is used to allocate a pseudo-TTY, but in some cases pseudo-tty is
not support. Removed for more useage.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-06 14:51:26 +08:00
Zhu Yingjiang
f1c5a15c8a
rimage: add build scripts to build 1.5 image
...
add to build scripts and Makefiles to build firmware binary
for kbl and skl
Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
2018-11-05 18:36:03 +08:00
Pan Xiuli
b3c64f499a
scripts: docker: add qmeu docker
...
Add a docker contains sof xtensa qemu
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-12 17:06:10 +08:00
Pan Xiuli
779d6bce35
scripts: create a folder for sof builder docker
...
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-12 17:06:10 +08:00
Pan Xiuli
1d6f12cfb5
scripts: add script for qemu check
...
usage: run this script in the qemu folder
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-12 17:06:03 +08:00
Pan Xiuli
173f4d21d0
scripts: add no riamge build options for build all script
...
Add -lr to let xtensa-build-all.sh do not build rimage.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-09 17:41:15 +08:00
Pan Xiuli
96aa24c2d9
scripts: add rimage build scripts local install
...
Add local install for rimage-build.sh
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-09 17:39:47 +08:00
Liam Girdwood
630e988a97
sue: scripts: Add sue creek support into buildall
...
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:09:58 +01:00
Pan Xiuli
eb6e9a6a2c
scripts: add -l option for host-build-all
...
Enable host lib install into local folder.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-09-26 11:31:13 +08:00
Janusz Jankowski
252d7fec4c
scripts: add icl to xtensa-build-all.sh
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2018-08-31 19:53:17 +02:00
Pan Xiuli
f8628623da
scripts: docker: update gcc cross compiler to 8.1
...
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-08-07 21:31:13 +08:00
Ranjani Sridharan
990046e140
scripts: update host testbench script with src topology example
...
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-07-02 23:55:06 -07:00
Pan Xiuli
7cba6e3f47
scripts: xtensa-build: fix ROOT var alais for BXT/APL gcc
...
Need to change ROOT as well as HOST target.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-06-22 17:14:49 +08:00
Pan Xiuli
27795ece0f
scripts: fix xt-xcc build with wrong config
...
Need to export XTENSA_SYSTEM and override OBJCOPY and OBJDUMP for xt-xcc
build.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-06-19 13:08:30 +01:00
Liam Girdwood
cad86dc340
scripts: xtensa-build: fix alias detection for bxt/apl gcc
...
use bash builtin type instead of -x (requires full path)
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-06-19 11:13:11 +01:00
Liam Girdwood
c7edd736d9
scripts: xtensa-build-all.sh: Support BXT/APL compiler alias
...
BXT/APL compiler is the same but can be have either apl or bxt suffix.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-06-14 16:34:08 +01:00
Liam Girdwood
f1456e00db
scripts: xtensa-build-all.sh. Fix bash error.
...
make[1]: Leaving directory '/home/lrg/source/reef/sof.git'
./scripts/xtensa-build-all.sh: line 123: [: ==: unary operator expected
Fix, set variable to "none" if xcc not found.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-06-14 16:16:39 +01:00
Ranjani Sridharan
9c9c4a4b17
scripts: use xt-xcc for compiling if available
...
Check ENV XTENSA_TOOLS_ROOT to determain which compiler to use, and set
the PATH and other ENV needed for xt-xcc.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-06-14 14:05:32 +01:00
Pan Xiuli
b0affc18c3
scripts: docker: remove sudo command
...
miss some sudo command, remove all sudo command.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-06-12 10:20:40 +01:00
Pan Xiuli
18082e3869
scripts: docker: merge commands and remove src after build
...
Merge the build and remove src to reduce the layer size.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-06-11 17:07:36 +01:00
Pan Xiuli
03a514dcb1
scripts: docker: simplify docker build
...
Merege commands to reduce layers and remove some useless layers.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-06-11 17:07:36 +01:00