Qualcomm Linux Yocto overview

From RidgeRun Developer Wiki





Follow Us On Twitter LinkedIn Email Share this page






Overview

This guide provides information about how Qualcomm Linux uses Yocto to build an embedded system software image for Qualcomm reference hardware.

Qualcomm Linux offers two reference images:

  • qcom-multimedia-image includes upstream software components, and the kernel from the qcom-6.18.y branch of the Qualcomm Linux kernel.
  • qcom-multimedia-proprietary-image includes Qualcomm value-added software, and the kernel from the qcom-6.18.y branch of the Qualcomm Linux kernel.

The Qualcomm Linux environment consists of several community-maintained metadata layers that deliver recipes for software packages, package groups, image recipes, and configurations. The Qualcomm Linux metadata layers are stacked on community layers to provide additional software components required for Qualcomm development kits.

Qualcomm Linux metadata layers

This section introduces the layers included in the Qualcomm manifest. This manifest includes all the layers required to reproduce the reference build. The subsequent sections introduce the layers maintained by the Yocto Project. Qualcomm maintains the layers specific to Qualcomm Linux development kits, which depend on the community layers to achieve full functionality.

The following table provides the metadata layers and their descriptions:

Metadata layer Description
meta-qcom-distro Provides a reference distribution configuration for Qualcomm development kits. Image recipes and package groups are defined in this layer.
meta-qcom-extras Optional metadata layer for registered users. This layer enables source compilation of select components, which are otherwise provided as binaries in meta-qcom.
meta-qcom Contains recipes that build software components for Qualcomm development kits and provides software features applicable to Qualcomm systems-on-chip (SoCs).
meta-virtualization Contains packages for constructing OpenEmbedded virtualized solutions and virtualization stacks, such as Docker and Kubernetes.
meta-selinux Enables SELinux support. This layer includes reference SELinux policies and provides necessary tooling. To enable SELinux for Qualcomm Linux, set the variable DEFAULT_ENFORCING to enforcing in conf/distro/include/qcom-distro-selinux.inc.
openembedded-core Provides build tools and recipe files for various software components needed for an embedded OS distribution.
meta-openembedded Collection of layers for the OpenEmbedded build system.
meta-security Provides security tools and hardening tools for Qualcomm Linux kernels and libraries for implementing security mechanisms.
meta-updater Enables over-the-air updates (OTA) with OSTree. OSTree is a tool for atomic full file system upgrades with rollback capability.

The following layers represent the Qualcomm board support package (BSP) metadata:

  • meta-qcom

The following layer defines the qcom-distro reference distribution:

  • meta-qcom-distro

The following metadata layer defines the optional BSP:

  • meta-qcom-extras