In order to use native XTENSA compiler the core target needs to
be overwite with the good platform. This patch is adding an optional
option in order to be able to overwrite the core selection.
Example:
- Set Xtensa export PATH=$PATH:<PATH>/xtensa/XtDevTools/install/tools/RD-2012.5-linux/XtensaTools
./configure --with-arch=xtensa --with-platform=baytrail --with-dsp-core=CHT_audio_hifiep --with-root-dir=<PATH>/xtensa/XtDevTools/install/tools/RD-2012.5-linux/XtensaTools --host=xtensa CC=xt-xcc OBJCOPY=xt-objcopy OBJDUMP=xt-objdump
make
make bin
Signed-off-by: Sebastien Guiriec <sebastien.guiriec@intel.com>
In order to set the Root directory of the DSP compiler we should
use --with-root-dir instead of --with-tool-dir
Signed-off-by: Sebastien Guiriec <sebastien.guiriec@intel.com>
On the linux driver side, it need get version infomation
from fw, including:
type -- Reef
version -- major.minor
build number
last commit id -- gID
So here we use the package string, which come from git
version, which can provide all those fw version infos.
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
We are using 6 states, 2 of them are substates:
init, idle, running, paused,
draining(sub state when transferring from running to idle)
pausing(substate when transferring from running to paused).
Don't response new command when in substates, only stay in
substates for limited timeout. e.g. 2ms for draing and 1ms
for pausing.
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
The tool-dir naming was a bit ambiguous so rename and fix build-all.sh
to use new name too.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
The DMA controller needs to differentiate between host and DSP memory
regions. This can be done with a mask that is ORed with local DSP memory
locations.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
rimage converts ELF binaries to the firmware image file format understood
by the kernel audio drivers.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This project provides an open source audio firmware infrastructure for audio
DSPs found on many modern devices. The intention is to allow developers to
create their own codecs, audio processing algorithms and pipelines using
the infrastructure and audio components provided by this project.
The project currently supports the Intel Baytrail and Cherrytrail audio DSP
platforms which use the Xtensa architecture.
The firmware source code is released under the BSD 3 clause licence.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>