Host computer requirements
Table: Minimum host requirements| Requirement | Value |
|---|---|
| Architecture | x86_64 |
| CPU | Quad-core (Intel i7-2600 at 3.4 GHz or equivalent) |
| RAM | 16 GB |
| Free disk space | 300 GB (swap partition > 32 GB recommended for Yocto builds) |
| Operating system | Ubuntu 22.04 LTS |
Building on a virtual machine is supported but significantly slower. For VM
setup instructions, see the Qualcomm Linux Virtual Machine Setup Guide.
Required tools
Table: Required tool versions| Tool | Minimum version |
|---|---|
| Git | 1.8.3.1 |
| Python | 3.10.2 |
| GCC | 10.1 |
| GNU Make | 4.0 |
| Kas | 4.8 |
Install host packages
Run the following commands to install the required packages and thekas build tool:
source ~/.bashrc) so that the pipx binary is on
your PATH, then install kas:
kas-container script to run builds inside a Docker
container on any Linux distribution:
Configure locales
Configure git
Standalone kernel development prerequisites
The standalone build workflow uses thekmake-image Docker container to provide
the cross-compilation toolchain, systemd ukify, and image-packaging scripts.
Docker must be installed on the host before running a standalone build.
Install Docker CE
Add your user to the docker group
Verify the installation
The
kmake-image container build and shell alias setup are covered in
Build the kernel without Yocto.Repository access
The Qualcomm Linux kernel andmeta-qcom layer are publicly hosted on GitHub and
require no special credentials:
- Kernel source: https://github.com/qualcomm-linux/kernel
- meta-qcom layer: https://github.com/qualcomm-linux/meta-qcom

