Skip to content

WIP: tflm test module for WOV #11026

Draft
lgirdwood wants to merge 14 commits into
thesofproject:mainfrom
lgirdwood:feature/hda-mic-tflm-keyword
Draft

WIP: tflm test module for WOV #11026
lgirdwood wants to merge 14 commits into
thesofproject:mainfrom
lgirdwood:feature/hda-mic-tflm-keyword

Conversation

@lgirdwood

Copy link
Copy Markdown
Member

Test module to wake up WOV pipeline using yes or no key phrases. TODO: Add VAD.

@lgirdwood
lgirdwood force-pushed the feature/hda-mic-tflm-keyword branch 2 times, most recently from f16f5c3 to cf89a85 Compare July 23, 2026 14:46
lrgirdwo added 6 commits July 24, 2026 19:31
When CONFIG_LLEXT_TYPE_ELF_RELOCATABLE is active, bypass appending
static address flags (-Ttext, --section-start, -Tdata) in the linker
helper script. This keeps section base addresses at 0.
Also adjust the offset calculator to avoid integer parsing errors
when all section addresses are set to 0.

Signed-off-by: Liam Girdwood <[email protected]>
…table modules

Implement page-level virtual memory mapping using Zephyr's sys_bitarray
utility over the library region. Compile section layout at load-time to
allocate virtual addresses and rewrite section sh_addr headers in-place.
This enables Zephyr LLEXT to naturally relocate references.

Signed-off-by: Liam Girdwood <[email protected]>
Enable CONFIG_LLEXT_EXPORT_BUILTINS_BY_SLID=y in llext_relocatable.conf
to link relocatable LLEXT modules against build-time function signature
hashing, providing load-time ABI mismatch protection.

Signed-off-by: Liam Girdwood <[email protected]>
…_mtpm

Enable CONFIG_SOF_STAGING=y, CONFIG_CPP=y, CONFIG_STD_CPP17=y, and
CONFIG_COMP_TENSORFLOW=m in intel_adsp_ace15_mtpm.conf to allow building
the TFLM keyword detection module as an LLEXT module on ARL.

Signed-off-by: Liam Girdwood <[email protected]>
Guard Cadence Tensilica XCC-specific compiler options and tie intrinsic
kernels (nn_hifi_lib) under CMAKE_C_COMPILER_ID STREQUAL "Xtensa".
When building with open-source Zephyr SDK GCC, use portable TFLM reference
kernels and stdc++ to enable building tflm.llext as a relocatable module.

Signed-off-by: Liam Girdwood <[email protected]>
…ation

Include <abi.conf> in topology definitions to embed the required IPC4
ABI manifest section (ABI 3.29.1), resolving kernel topology ABI validation.
Add sof-arl-cs42l43-l0-cs35l56-l23-tflm.conf to instantiate the real-time
TFLM keyword detection pipeline connected to SoundWire DMIC capture on ARL.

Signed-off-by: Liam Girdwood <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants