Last edited 6 months ago

X-LINUX-ISP Distribution package


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
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
  • 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

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.