Skip to content

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

@kv2019i

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Blocker bugs or important featuresTGL-HTGL-H platformZephyrIssues only observed with Zephyr integratedbugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions