Skip to content

app: boards: imx95: Disable edma1 node#10900

Open
dbaluta wants to merge 1 commit into
thesofproject:mainfrom
dbaluta:disable_edma1
Open

app: boards: imx95: Disable edma1 node#10900
dbaluta wants to merge 1 commit into
thesofproject:mainfrom
dbaluta:disable_edma1

Conversation

@dbaluta

@dbaluta dbaluta commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Zephyr commit 58e859c5dd37b88 ("boards: nxp: imx95_evk: enable EDMA1 for M7 core") enables EDMA1 node which in turn enables dma_mcux_edma.c driver.

dma_mcux_edma.c requires some attention w.r.t cache configuration options.

SOF doesnt use EDMA1 nodes but inherits edma1 node which selects DMA_MCUX_EDMA and causes the following compilation errors:

dma_mcux_edma.c:1225:2: error: #error Unexpected or disallowed cache situation for dma descriptors

So disable edma1 node as we don't use it.

Copilot AI review requested due to automatic review settings June 12, 2026 12:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Disables the EDMA1 device-tree node for the i.MX95 EVK M7 DDR overlay to prevent Zephyr’s dma_mcux_edma.c driver from being selected (and failing to compile due to cache configuration constraints) when SOF inherits the board configuration.

Changes:

  • Adds an override for &edma1 intended to disable the node so it won’t select DMA_MCUX_EDMA.

Comment thread app/boards/imx95_evk_mimx9596_m7_ddr.overlay Outdated
@dbaluta dbaluta force-pushed the disable_edma1 branch 2 times, most recently from 64a3980 to b16db68 Compare June 12, 2026 12:59
Zephyr commit 58e859c5dd37b88 ("boards: nxp: imx95_evk: enable EDMA1 for
M7 core") enables EDMA1 node which in turn enables dma_mcux_edma.c
driver.

dma_mcux_edma.c requires some attention w.r.t cache configuration
options.

SOF doesnt use EDMA1 nodes but inherits edma1 node which selects
DMA_MCUX_EDMA and causes the following compilation errors:

dma_mcux_edma.c:1225:2: error: #error Unexpected or disallowed
cache situation for dma descriptors

So disable edma1 node as we don't use it.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
@tmleman

tmleman commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

@dbaluta is this expected?:https://github.com/thesofproject/sof/actions/runs/27417218980/job/81034372215?pr=10900

-- Found devicetree overlay: /__w/sof/sof/sof/app/boards/imx95_evk_mimx9596_m7_ddr.overlay
devicetree error: /__w/sof/sof/sof/app/boards/imx95_evk_mimx9596_m7_ddr.overlay:29 (column 1): parse error: undefined node label 'edma1'
CMake Error at /__w/sof/sof/zephyr/cmake/modules/dts.cmake:324 (execute_process):
  execute_process failed command indexes:

    1: "Child return code: 1"

Call Stack (most recent call first):
  /__w/sof/sof/zephyr/cmake/modules/dts.cmake:438 (dts_edt_pickle)
  /__w/sof/sof/zephyr/cmake/modules/zephyr_default.cmake:133 (dts_init)
  /__w/sof/sof/zephyr/cmake/modules/zephyr_default.cmake:133 (cmake_language)
  /__w/sof/sof/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /__w/sof/sof/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:5 (find_package)

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.

4 participants