Skip to content

[FEATURE] static topology IPC builder #1556

Open

Description

@lgirdwood

Is your feature request related to a problem? Please describe.
Static topology is currently hard coded into FW binaries as C code. This is inflexible and does not support reuse of existing tools. We need to be able to stitch in topology data as an array of IPC messages into the FW binary (as an ELF section).

Describe the solution you'd like

  1. Small cmd line tool that converts native kernel topology binaries into IPC topology.
  2. Kconfig option to pass in file name of IPC topology in 1) and stitch into FW image.

Additional context
@lyakh @ranj063 and @singalsu have all coded parts of this for test bench, fuzzer etc. Needs to be consolidated and integrated as library code that can be used by fuzzer, test bench, and 1).

Activity

  1. added this to the v1.5 milestone on Jun 12, 2019
  2. changed the title [-][FEATURE] topology IPC builder[/-] [+][FEATURE] static topology IPC builder[/+] on Jun 12, 2019
  3. ranj063 commented on Jun 12, 2019

    @ranj063
    Collaborator

    @lgirdwood @kv2019i the testbench only does the tplg binary parsing but skips the IPC. But the fuzzer branch has the complete code for this.

  4. lgirdwood commented on Jun 13, 2019

    @lgirdwood
    MemberAuthor

    @ranj063 great thanks, we can separate this code out and build as a library that can bus used by fuzzer, test bench and FW.

  5. added
    NotableEnhancement is significant or notable for release.
    on Jun 21, 2019
  6. added
    P3Low-impact bugs or features
    and removed
    NotableEnhancement is significant or notable for release.
    on Sep 20, 2019
  7. kv2019i commented on Sep 20, 2019

    @kv2019i
    Collaborator

    After discussion with @lgirdwood tagging with P3 and removing Notable for now.

  8. modified the milestones: v1.5, v1.7 on Jan 27, 2020
  9. lgirdwood commented on Jan 12, 2021

    @lgirdwood
    MemberAuthor

    @ranj063 @singalsu I guess we can load topoies in testbench now ? Can we close ?

  10. modified the milestones: v1.7, v1.8 on Jan 25, 2021
  11. lgirdwood commented on Jan 25, 2021

    @lgirdwood
    MemberAuthor

    @juimonen fyi - as you mentioned today - we also need to use in other places too.

  12. lgirdwood commented on May 10, 2021

    @lgirdwood
    MemberAuthor

    Static C topology removed from FW. Testbench uses topology library.
    Moved to v1.9 for completion of Testbench library in FW.

  13. modified the milestones: v1.8, v1.9 on May 10, 2021
  14. modified the milestones: v1.9, TBD on Feb 15, 2023
  15. kv2019i commented on Feb 15, 2023

    @kv2019i
    Collaborator

    This is still a valid item, but currently no development is ongoing, so moving this to TBD milestone.

  16. removed their assignment
    on Feb 15, 2023
  17. lgirdwood commented on Feb 20, 2023

    @lgirdwood
    MemberAuthor

    WIP: See lrg/topic/plugin branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-impact bugs or featuresenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions