1. Re-generate X-LINUX-AI OpenSTLinux distribution
With the following procedure, you can re-generate the complete distribution enabling the X-LINUX-AI expansion package.
This procedure is mandatory if you want to update frameworks by yourself, or generate your own X-LINUX-AI distribution by selecting the relevant AI framework for your applications.
1.1. Download the Distribution Package
- Install the OpenSTLinux Distribution Package by following the dedicated article : STM32MP1 Distribution Package, but do not initialize the OpenEmbedded environment (do not source the envsetup.sh).
1.2. Install X-LINUX-AI environment
- Clone the meta-st-x-linux-ai git repositories
Template:X-LINUXRelease/Revision: cd <Distribution Package installation directory>/layers/meta-st git clone https://github.com/STMicroelectronics/meta-st-x-linux-ai.git -b Template:X-LINUXRelease/RevisionFor
Expand
- For a new environment
Expand
- For an already installed environment
1.3. Build the image
bitbake st-image-ai
1.4. Flash the built image
Follow this link to see how to flash the built image.
1.5. References