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/baseshows that theiommu@19010000node lacks thepower-domainsproperty, whereas other nodes (likesmi-larb4) are configured correctly. Furthermore,pm_genpd_summaryshows no power domains registered for the APU/MDLA.
Support Request
- 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.