X-LINUX-AI OpenSTLinux Expansion Package

Revision as of 18:54, 10 June 2020 by Registered User
AI Expansion Package inserted in the STM32MPU Embedded software distribution


X-LINUX-AI is the STM32 MPU OpenSTLinux Expansion Package that targets artificial intelligence for STM32MP1 Series devices.

This package contains Linux AI frameworks, as well as application examples to get started with some basic use cases such as computer vision (CV).

It is composed of an OpenEmbedded meta layer, named meta-st-stm32mpu-ai, to be added on top of the STM32MP1 Distribution Package.

It brings a complete and coherent easy-to-build / install environment to take advantage of AI on the STM32MP1 Series.


1. Version[edit source]

1.1. v2.0.0[edit source]

Info white.png Information
This version has been validated against the ecosystem release v2.0.0

Validated on STM32MP157x-DKx and STM32MP157x-EV1 boards.

1.1.1. Contents[edit source]

1.1.2. Software structure[edit source]

File:X-LINUX-AI-CV software structure.png
X-LINUX-AI-CV v2.0.0 Expansion Package Software structure

1.1.3. Validated hardware[edit source]

As any software expansion package, the X-LINUX-AI is supported on all STM32MP1 Series and has been validated on the following boards:

  • STM32MP157C-DK2[7]
  • STM32MP157C-EV1[8]
  • STM32MP157A-EV1[9]

1.1.4. Install from the OpenSTLinux AI package repository[edit source]

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA). The detailed content licenses can be found here.

1.1.5. Re-generate X-LINUX-AI OpenSTLinux distribution[edit source]

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA). The detailed content licenses can be found here.

1.1.5.1. Download the STM32MP1 Distribution Package v2.0.0[edit source]

Install the STM32MP1 Distribution Package v1.2.0, but do not initialize the OpenEmbedded environment (sourcing the envsetup.sh).

1.1.5.2. Clone following git repositories into <Distribution Package installation directory>/layers/meta-st[edit source]

 cd <Distribution Package installation directory>/layers/meta-st
 git clone https://github.com/STMicroelectronics/meta-st-stm32mpu-ai.git -b v2.0.0_dunfell

1.1.5.3. Set up the build environment[edit source]

 cd ../..
 DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh

1.1.5.4. Add the new layers to the build system[edit source]

 bitbake-layers add-layer ../layers/meta-st/meta-st-stm32mpu-ai

1.1.5.5. Build the image[edit source]

 bitbake st-image-ai
Info white.png Information
Note that building the image could take long time depending on the host computer performance.

1.1.5.6. Flash the built image[edit source]

Follow this link to know how to flash the built image.

2. References[edit source]