Skip to content

[BUG] TGL-H IPC4 Zephyr build is broken in main #6710

Closed

Description

@kv2019i

Describe the bug
The IPC4 native drivers is build is broken since commit "tgl: ipc4: zephyr: move to native drivers" as the IPC4 overlay for TGL-H was also updated to native drivers, but upstream Zephyr does not have all the needed definitions for intel_adsp_cavs25_tgph.

To Reproduce
Build SOF with
./scripts/xtensa-build-zephyr.py -i IPC4 tgl-h

Reproduction Rate
100%

Expected behavior
Firmware can be built

Impact
Showstopper

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
    • Kernel: c693d0caf6fa
    • SOF: f6f9b62
  2. Name of the topology file
    • Topology: sof-hda-generic-2ch.tplg
  3. Name of the platform(s) on which the bug is observed.
    • Platform: TGL-H

Screenshots or console output

/home/kvehmane/work/sof/src/ipc/ipc-zephyr.c: In function ‘ipc_platform_complete_cmd’:
/home/kvehmane/work/sof/src/ipc/ipc-zephyr.c:142: error: ‘__device_dts_ord_DT_N_NODELABEL_adsp_host_ipc_ORD’ undeclared (first use in this function)
/home/kvehmane/work/sof/src/ipc/ipc-zephyr.c:142: error: (Each undeclared identifier is reported only once
/home/kvehmane/work/sof/src/ipc/ipc-zephyr.c:142: error: for each function it appears in.)
/home/kvehmane/work/sof/src/ipc/ipc-zephyr.c: In function ‘ipc_platform_send_msg’:
/home/kvehmane/work/sof/src/ipc/ipc-zephyr.c:151: error: ‘__device_dts_ord_DT_N_NODELABEL_adsp_host_ipc_ORD’ undeclared (first use in this function)
/home/kvehmane/work/sof/src/ipc/ipc-zephyr.c: In function ‘platform_ipc_init’:
/home/kvehmane/work/sof/src/ipc/ipc-zephyr.c:175: error: ‘__device_dts_ord_DT_N_NODELABEL_adsp_host_ipc_ORD’ undeclared (first use in this function)

Notes

Activity

  1. added
    bug
    P1
    Zephyr
    TGL-H
    on Dec 2, 2022
  2. kv2019i commented on Dec 2, 2022

    @kv2019i
    CollaboratorAuthor

    FYI @mengdonglin @lgirdwood most probably affects sof-2.4 stable branch.

  3. added this to the v2.4 milestone on Dec 5, 2022
  4. marc-hb commented on Dec 7, 2022

    @marc-hb
    Collaborator
  5. kv2019i commented on Dec 15, 2022

    @kv2019i
    CollaboratorAuthor
  6. kv2019i commented on Dec 15, 2022

    @kv2019i
    CollaboratorAuthor

    Fixed with #6807 , closing.

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

    P1TGL-HZephyrbug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions