Tags: marc-hb/sof
Tags
New install/GNUmakefile to gradually replace scripts in sof-bin.git
More specifically replacing sof-bin/go.sh and sof-bin/publish.sh and
also sof/scripts/sof-target-install.sh eventually.
"make install" code has always belonged to source repositories because
developers need to install too and we want everyone to use the same
installers. It's also easier to have all the information in a single
place.
Once the layout in sof-bin mirrors the /lib/firmware/intel layout
exactly, sof-bin does not need any installation code any more.
Mixing source and binaries in the same repo is also a "code smell",
notably because it forces branching them together.
Using a higher level build tool for installation instead of plain
scripts has a few benefits:
- Multiple entry points: easy to invoke (and test) any part of the
installer individually
- ... while invoking dependencies automatically.
- Other features "for free" like:
- errexit
- error messages like "dunno how to build file x"
- commands are logged by default
- Also gets rid of most of the large code duplication in go.sh and
publish.sh, so:
- Enabling or disabling a platform is a 3-character change
- Allows platform selection in local config file (even just one platform)
- Much harder to add inconsistencies
- Much easier to review correctness, for instance no need to
scrutinize every line to see which platforms are aliased.
Signed-off-by: Marc Herbert <[email protected]>
sof: align sof structure to cache line size Aligns sof structure to cache line size. It is needed in order to assure that no data will be randomly overwritten by cache eviction with multicore access. Signed-off-by: Tomasz Lauda <[email protected]>
trace: Use uncached memory in trace_point and panic It didn't work correctly if multiple cores write to "sw regs" allocated on the same cache line. Signed-off-by: Karol Trzcinski <[email protected]>
kmod_scripts: add support for soundwire_generic_allocation new module added, needs to be listed in sof_remove.sh Signed-off-by: Pierre-Louis Bossart <[email protected]>
pipeline: fix period frame size calculation The period frame size calculation has issues by doing division instead of multiplication. So fix this by introducing new function for buffer period frames calculation where we multiply samplerate and schedule_period and divide by 1000000. Also round up the result. Signed-off-by: Jaska Uimonen <[email protected]>
topology: add tgl_rt1308 with no hdmi Enable tgl_rt1308 topology with RT1308 speaker and DMIC01. Signed-off-by: Pan Xiuli <[email protected]>
cmake: xtensa: use absolute paths for tools CMake has convention of changing relative paths to absolute for CMAKE_* variables. It does it automatically f.e. CMAKE_C_COMPILER. However for our tools like objcopy we have to do it manually. It also helps with integration of CMake in some IDEs. Signed-off-by: Janusz Jankowski <[email protected]>
dai: assign/free link DMA channel during dai_config() The recommended HDA HW programming sequence for setting the DMA format requires that the link DMA and host DMA channels be coupled before setting the format. This change means that host DMA or link DMA channels be reserved even if only one is used. Statically assigned link DMA channels would mean that all the corresponding host DMA channels will need to be reserved, leaving only a few channels available at run-time. So, the suggestion here is to switch to dynamically assigning both host DMA channels and link DMA channels are run-time. This change means that the DAI_CONFIG IPC will be sent multiple times during link hw_params and link hw_free ioctl. The DAI config parameters will remain the same except for the link DMA channel that will be assigned at run-time. A value of DMA_CHAN_INVALID from the driver during hw_free indicates a request to free the current link DMA channel in use. The current channel in use is freed before assiging the new channel requested in the DAI_CONFIG IPC. Signed-off-by: Ranjani Sridharan <[email protected]>
kconfig: cht, byt: Dont include KPB by default on CHT, BYT. CHT & BYT have limited amount of IRAM so are sensitive to selection of built in audio components. Disable KBP by default, but this could be enabled if other components were disabled. Signed-off-by: Liam Girdwood <[email protected]>
comp: Add initial keyword detector testing component. This is a testing component acting as a dummy keyword detector comp. Add the init/free and cmd op so as to be able to accept switch cmd from userspace. Signed-off-by: Liam Girdwood <[email protected]> Signed-off-by: Ranjani Sridharan <[email protected]> Signed-off-by: Slawomir Blauciak <[email protected]>
PreviousNext