X-linux-ai on CCMP25 dev kit

Has anyone been able to run the “x-linux-ai” tool on DEY-5.0?

The instructions for the MP255 dev kit here: X-LINUX-AI machine learning framework | ConnectCore MP25 do not work for me.

It says to add this layer:

bitbake-layers add-layer /usr/local/dey-5.0/sources/meta-st-stm32mpu-ai

But the dey-5.0 sources dir does not include a layer with that name. And I don’t see this layer on any public GitHub pages.

If I skip that step and attempt to add IMAGE_INSTALL:append = " packagegroup-x-linux-ai" to my local.conf anyway, I get an error:

ERROR: Nothing PROVIDES 'linux-stm32mp' (but /usr/local/dey-5.0/sources/meta-st-x-linux-ai/recipes-samples/people-tracking-heatmap/stai-mpu-people-tracking-heatmap-python_6.2.0.bb DEPENDS on or otherwise requires it)
linux-stm32mp was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-dey, not linux-stm32mp
linux-stm32mp was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-dey, not linux-stm32mp

My end goal is to run the “x-linux-ai” program (not “x-linux-ai-benchmark” which is included in the pre-built images).

1 Like

Interesting issue. It looks like the X-LINUX-AI documentation may be written mainly for ST’s STM32MP ecosystem, while DEY uses linux-dey as the preferred kernel provider. Maybe there is a Digi-specific integration layer or an updated guide missing from the documentation. It would be helpful if the Digi team could clarify whether x-linux-ai is officially supported on DEY-5.0 and what extra layers are required.

Hi,

X-LINUX-AI is compatible with and supported by Digi Embedded Yocto 5.0.

By following the Getting Started guide, you will update your device with the dey-image-webkit images, which include several X-LINUX-AI demos already integrated and customized to work with DEY.

These images do not include ST’s original packagegroup-x-linux-ai package. Instead, they include a Digi package called packagegroup-dey-x-linux-ai, which pulls in the required AI packages from the X-LINUX-AI layer.

Also note that the X-LINUX-AI layer was renamed some time ago and is now called meta-st-x-linux-ai.

To summarize: if you create a new DEY project for the CCMP25, the X-LINUX-AI layer (meta-st-x-linux-ai) is included by default. If you want to build a custom image with support for the AI demos, you must add the Digi package packagegroup-dey-x-linux-ai.

This is explained in our online documentation: X-LINUX-AI machine learning framework | ConnectCore MP25

I hope this helps.

Best regards,
Arturo

Thanks for confirming that DEY-5.0 supports X-LINUX-AI abuzarra. It looks like the Digi team has updated the online documentation to correct the layer and packagegroup names. I get a clean build using these corrected instructions.

It looks like the pre-built dey-image-webkit firmware (linked here) has also been updated. I had tested using the r3 kit installer and none of AI demos ran correctly. The online docs now point to the r4 kit installer with updated md5sums. I will try again using these and report back.

Hi,

I downloaded and installed the pre-built dey-image-webkit images from DEY-5.0-r4 on my CCMP25 DVK:

  • Image package: ccmp25-dvk-webkit-installer.zip
  • MD5: 467d457b1d70540ab38cd8acbbcf7265

After that, I tested all the AI demos provided in the ConnectCore demo suite, and all of them are working fine on my side.

My test setup is:

  • CCMP25 DVK
  • LVDS display
  • CSI camera: IMX335

Best regards,
Arturo

1 Like

I was also able to confirm that all AI demos work with the r4 release. I’m using CCMP25 DVK, HDMI display, and a USB camera. Thanks for the response!