Last edited 2 months ago

X-LINUX-ISP Distribution package

Applicable for STM32MP25x lines

1. Regenerate the X-LINUX-ISP OpenSTLinux distribution[edit | edit source]

With the following procedure, you can regenerate the complete distribution to enable the X-LINUX-ISP expansion package.
This procedure is mandatory if you want to update frameworks or generate your own X-LINUX-ISP distribution by selecting the relevant ISP framework for your applications.

1.1. Download the Distribution package[edit | edit source]

  • Install the OpenSTLinux Distribution package by following the steps on the STM32MPU Distribution package wiki page, but do not initialize the OpenEmbedded environment (do not source envsetup.sh).

1.2. Install the X-LINUX-ISP environment[edit | edit source]

  • Clone the meta-st-x-linux-isp git repositories
Warning white.png Warning
The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA0048). The detailed content licenses can be found here.
For X-LINUX-ISP v5.0.0:
 cd <Distribution Package installation directory>/layers/meta-st
 git clone https://github.com/STMicroelectronics/meta-st-x-linux-isp.git -b v5.0.0
  • For a new environment

Source the build environment with the correct board and layer:

 cd ../..
 DISTRO=openstlinux-weston MACHINE=<machine> BSP_DEPENDENCY='layers/meta-st/meta-st-x-linux-isp' source layers/meta-st/scripts/envsetup.sh
Info white.png Information
Possible values for DISTRO, MACHINE, and IMAGE are proposed in OpenSTLinux distribution
  • For an already installed environment

Add the meta-st-x-linux-isp to the Yocto environment:

 cd ../..
 source layers/meta-st/scripts/envsetup.sh
 bitbake-layers add-layer ../layers/meta-st/meta-st-x-linux-isp/

1.3. Build the image[edit | edit source]

 bitbake st-image-isp
Info white.png Information
Building the image might take a long time, depending on the host computer performances.

1.4. Program the built image[edit | edit source]

Go to the "Flashing the built image" chapter of the STM32MPU Distribution package wiki page to find out more about how to program the image.