Skip to main content
The Qualcomm® Linux kernel source is publicly hosted on GitHub and requires no special credentials. Choose the access path that matches your build workflow. Table: Kernel branches

Yocto workflow

The Yocto workflow accesses the kernel through the meta-qcom layer. The kernel source is fetched automatically by BitBake during the build. Get access to the following repository: Release tags follow the qli-<version> convention (for example, qli-2.0). For available tags, see the Qualcomm Linux release notes - Introduction.

Sync meta-layers with kas

Run the following commands from your workspace root directory. After syncing, the workspace contains a meta-qcom/ directory.
To fetch and unpack the kernel source without running a full build, open a kas shell (replace rb3gen2-core-kit.yml with your machine YML) and run the unpack task:
The kernel source is then available at:
The kernel recipe and version are selected in meta-qcom/conf/machine/include/qcom-base.inc, which every machine configuration inherits:
Select linux-qcom for LTS BSP or linux-qcom-next for mainline BSP, with PREFERRED_VERSION_virtual/kernel left empty.
The recipe files specify the exact SRCREV and SRCBRANCH for each release: For the full build steps, see Build the kernel using Yocto.

Standalone workflow

For the standalone workflow (kernel-only builds without a full Yocto image), clone the kernel repository:
To match the exact source revision used in a release build, check the SRCREV field in meta-qcom/recipes-kernel/linux/linux-qcom_6.18.bb. For the full build steps, see Build the kernel without Yocto.