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>
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>
The new dma_get() API does not use the dmac id and dmac chan info
from topology anymore. So remove these members from the host/dai
ipc comp def.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Update dma_copy_new() to be compatible with dma_get(). Remove the DMAC
ID argument and the corresponding PLATFORM_TRACE_DMAC definitions.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This patch introduces a new API for allocating DMAC's by taking into
account the dma dev type, copy direction, capabilities and access
control requested by the user. It also updates also users to use
the new API.
It also consolidates the new API in a common file for all platforms.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This patch adds the num_channels_busy member to the dma structure
which will be helpful in determining DMAC to be allocated
to users based on the number of channels draining. This is help
provide a primitive level of QoS and prevent DMAC overuse.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This patch updates the platform DMAC definitions to include information
about the supported dev types, copy directions and capabilities.
It also replaces the copy_dir enum with a bitmask and adds
the copy capabilities and dev type bitmasks.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This patch proposes to move the platform DMAC initialization
code to the dmac_init() routine.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Add a flag "-l" to make rimage install only in pdw/local.
Also add parse for args, then simplify platform build for loop since in
parse the args will be all legal
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Install prefix will not influce PEM install path. Add the check to let
PEM can install with the prefix.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Set status (0x05) and error (0x00) code in Memory Window 0 when the bootloader starts.
boot_entry.S - set status (0x05) and error (0x00) code before wnd0 reprogram
platform/memory.h - increase bootloader size
Signed-off-by: Kamil Kulesza <kamil.kulesza@linux.intel.com>
Common platform API separated to avoid duplicated declarations
and group public functions to be implemented by every platform.
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
This patch:
- Enables APL boot via SRAM,
- Disables L2 cache for APL,
- Reshapes linker scripts for APL and CNL.
- Adds support for using external xtensa headers for xt-xcc.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
Modify Dockerfile to copy apt.conf from host and set host proxy to
environment. Also modify some git url to http url in order to use the
proxy.
Also add a docker-build.sh to help docker build
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
merge commit 72e63a467f ("apl-ssp: change and wrap status
transition into ssp_stop")
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
This patch allows rimage to sign FW binaries using MEU tool.
Paths to MEU and private key have to be provided during config step.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This patch adds atomic_read and atomic_set methods.
Also includes xtensa implementation of those methods.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
There is no need to implement dedicated irq handler per each sw irq level.
A single implementation may use the context passed by XTOS.
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
During XRUN recover process (in pipeline_xrun_recover() function),
"COMP_TRIGGER_XRUN" cmd will be processed first, then "COMP_TRIGGER_START"
cmd will be processed. If the host dma is not stopped in the first
cmd process, we will hit "eS0" error in the hda_dma_start() function during
"COMP_TRIGGER_START" cmd process. the XRUN recover process will fail.
Signed-off-by: Wu Zhigang <zhigang.wu@linux.intel.com>
This patch adds the missing paths for header files and
libraries required for building the host testbench.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
merge commit 36f23c6cc3 ("apl-ssp: fix padding bit issues in
I2S/LEFT_J mode") and refine it on Broadwell.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
This patch makes the following changes to configure DMIC from ipc params:
1. remove redundant hdr member item from struct sof_ipc_dai_dmic_params
2. Rename number_of_pdm_controllers member in the above structure
to num_pdm_active to be more representative of the active pdm count.
3. Add an "id" member to struct sof_ipc_dai_dmic_pdm_ctrl
4. Remove hardcoded config params from DMIC set_config function
and use ipc params instead.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This patch adds the testbench that parses a test topology file,
and sets up the pipeline for processing. It schedules pipeline_copy()
for reading samples from an input file, processing them through a
pipeline and writing the processed samples to the output file.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This patch adds a new file component that testbench
can use to read in samples and write out processed samples. Both
text and raw pcm input formats are supported.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This patch adds the common header and source files required for all
component testbench. These files include routines for parsing
topology files, initializing sof ipc, scheduler, memory allocation
and pipeline structures. It also provides simpler implementations for
some of the SOF features such as tracing.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This patch adds the trace information to BYT and APL platforms type
SSP drivers. The traced value helps to determine the configured serial
bus format.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
A non-platform define may be easily shared by other platforms
without adding || define(CONFIG_...) in the arch code.
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>