APU Power Domain Missing & libcamera Segfault on Genio 720 EVK

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.

2. Hardware ISP Inaccessibility & libcamera Segfault

To optimize our pipeline, we attempted to use the Hardware ISP to transcode the 10-bit RAW Bayer stream (MBBA / SBGGR10_1X10) from the IMX258 sensor into standard YUV/RGB via GStreamer.

  • Missing V4L2 Nodes: We observed that only camsv nodes (e.g., /dev/video3) and MDP3/JPEG nodes are exposed. There are no standard V4L2 nodes exposed for the Hardware ISP.

  • libcamera Crash: Attempting to use the libcamera framework to bypass this results in a fatal crash. The driver fails to return standard ioctl parameters, crashing the core.

    ERROR V4L2 v4l2_subdevice.cpp:1093 'imx258 8-001a': Unable to get rectangle 2 on pad 0/0: Inappropriate ioctl for device WARN CameraSensor camera_sensor.cpp:331 'imx258 8-001a': The sensor kernel driver needs to be fixed Segmentation fault (core dumped)

Support Request

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

  2. ISP: What is the official method to utilize the hardware ISP on this BSP? Is there a proprietary HAL or a fix for the libcamera crash?

Thank you for your time and support.

Hi @Yuhan_LUO,
Thanks for reaching out.
I’d like to follow up the AI part question on the post: APU Power Domain Missing on our AI Board.

@andy.hsieh , please help to follow up the ISP question! : )

Hi @Yuhan_LUO,

In the official IoT Yocto v26.0 release

  • Hardware ISP processing on the Genio 720 platform is not supported.
  • Neither hardware ISP nor software ISP is integrated into Libcamera
  • Libcamera with the simple pipeline is for the YUV sensor like the OV5640, not for the RAW sensor.

So, back to your question

  1. ISP: What is the official method to utilize the hardware ISP on this BSP? Is there a proprietary HAL or a fix for the libcamera crash?

We expect to support the hardware ISP in the next release, IoT Yocto v26.1.
There will be a proprietary camera HAL by then, not libcamera.

Best Regards,
Andy Hsieh