APU Power Domain Missing

The following discussion is reposted from APU Power Domain Missing & libcamera Segfault on Genio 720 EVK to solve the NPU questions.


Our team is developing an edge AI computer vision application on the Genio 720 EVK (MT8391) using the Yocto BSP. We have encountered two critical hardware initialization and driver issues that prevent us from utilizing both the hardware AI accelerator (APU) and the Hardware ISP.

We would appreciate your guidance or patches to resolve these blockers.

1. Missing APU Power Domain in Device Tree

When deploying a model via ONNX Runtime with NeuronExecutionProvider, the application triggers a fatal C++ Core Dump (map::at: key not found). System-level debugging reveals this is caused by a missing APU power domain configuration, forcing the kernel to power off the APU during boot.

  • Kernel Log (dmesg): The APU IOMMU fails to probe.

    [ 0.797209] mtk-iommu 19010000.iommu: Can't find apu power node! [ 0.797969] mtk-iommu: probe of 19010000.iommu failed with error -22 [ 7561.664718] apu_power_top_off ++

  • Device Tree Evidence: Decompiling /sys/firmware/devicetree/base shows that the iommu@19010000 node lacks the power-domains property, whereas other nodes (like smi-larb4) are configured correctly. Furthermore, pm_genpd_summary shows no power domains registered for the APU/MDLA.

Support Request

  1. APU: Can you provide a patched .dtb, .dtbo, or the necessary kernel configuration to properly enable the APU power domain?

Thank you for your time and support.

Hi @Yuhan_LUO,

For the issue you encountered when deploying ONNX Runtime, could you help to provide the model information/ steps that our teams can reproduce the result you got?

Thank you!