LmP Distros

LmP provides reference distros to be used in different use cases. They state the default configuration for the tools used on a FoundriesFactory. The distro definition files are under meta-lmp/meta-lmp-base/conf/distro.

If you are not familiar with the concept of Distro, the Yocto Project definition can help (term-DISTRO), another good document is the Poky description, which is the default distro reference used by the Yocto Project.

LmP

The lmp is the default distro for a FoundriesFactory. The main point of this distro is to configure the packages for working with OTA, and to organize the boot sequence, including the image architecture using OSTree and installing the needed artifacts.

This is the default distro used when a FoundriesFactory is created.

LmP Base

The lmp-base is the distro recommended for bring up and low level development (when the platform system is being developed or adjusted, for example).

It overrides some configurations from lmp to generate a friendly system for development, such as:

  • It does not support OSTree.
  • The rootfs is read-writable (as the Poky’s default) and as a consequence, OTA is disabled on this distro.
  • The image architecture is different, there are two directories: boot and root, for the boot files and the rootfs, respectively.
  • The U-Boot configuration is defined apart from lmp which provides flexibility.
  • The U-Boot scripts are provided as a package and can be easily changed.
  • The Linux Kernel binary, along with the required DTB files, are provided as separate files, instead of inside a boot image. This way the binaries can be replaced for testing purposes.

To change the distro on a FoundriesFactory, from the ci-scripts git repository , update the factory-config.yml to include the DISTRO parameter under lmp:params, which results in the following:

lmp:
params:
IMAGE: lmp-factory-image DOCKER_COMPOSE_APP: “1” DISTRO: lmp-base

LmP MFGTools

The distro used to generate the mfgtool-files artifacts which provide the deploy and update tool for some machines (i.MX family).

LmP Wayland and LmP XWayland

The distros which provide Wayland and XWayland support on top of lmp distro.