Skip to main content
Qualcomm Linux 2.0 uses a restructured kernel configuration. Consider the following key updates and improvements to migrate kernel configurations and device trees from Qualcomm Linux 1.0 to Qualcomm Linux 2.0. To build the kernel, the Qualcomm Linux kernel BSP uses one of the kernel configuration fragments listed in the following table: Table: Kernel configuration fragments
Kernel configuration fragmentsDescription
<kernel_src>/arch/arm64/configs/defconfigUpstream Arm64 defconfig used as the base configuration.
<kernel_src>/arch/arm64/configs/prune.configPrunes unwanted configurations from the upstream defconfig to optimize build time.
<kernel_src>/arch/arm64/configs/qcom.configEnables Qualcomm configuration that isn’t part of the upstream defconfig.
<kernel_src>/kernel/configs/debug.configEnables standard kernel debug configuration.
<kernel_src>/kernel/configs/hardening.configEnables security configurations to harden the production kernel.
<kernel_src>/arch/arm64/configs/rt.configEnables PREEMPT_RT configurations for real-time kernel support.

Migrate the device tree from Qualcomm Linux 1.0 to Qualcomm Linux 2.0

The Qualcomm device tree source include (DTSI) and device tree source (DTS) files for supported Qualcomm kits are located in the kernel source in the arch/arm64/boot/dts/qcom/ directory. Qualcomm Linux 2.0 aligns all device trees to upstream, adhering to standard device tree bindings. Hence, there are no addons device tree fragments that carry downstream additions. The following table compares the device tree layout between Qualcomm Linux 1.0 and Qualcomm Linux 2.0:
The following table lists the Qualcomm device tree files for the Qualcomm Dragonwing™ RB3 Gen 2 Development Kit:
Table: Qualcomm device tree source
Qualcomm Linux 1.0Qualcomm Linux 2.0Details
arch/arm64/boot/dts/qcom/sc7280.dtsiarch/arm64/boot/dts/qcom/kodiak.dtsiThe QCS6490 SoC DTSI has been renamed.
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
arch/arm64/boot/dts/qcom/qcs6490-addons-rb3gen2.dts
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dtsDevice tree source for the QCS6490 Qualcomm Dragonwing™ RB3 Gen 2 Development Kit; no addons.
arch/arm64/boot/dts/qcom/qcs6490-addons-rb3gen2-vision-mezz.dtsarch/arm64/boot/dts/qcom/qcs6490-rb3gen2-vision-mezzanine.dtsQCS6490 Qualcomm Dragonwing™ RB3 Gen 2 Vision Mezzanine Development Kit.
arch/arm64/boot/dts/qcom/qcs6490-addons-rb3gen2-ia-mezz.dtsarch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtsQCS6490 Qualcomm Dragonwing™ RB3 Gen 2 Industrial Mezzanine Development Kit.
Note The device tree files marked with el2 are intended for Linux configurations running at Exception Level 2 (EL2), such as kernel-based virtual machine (KVM). The el2 overlays are applied on the platform DTB to generate the corresponding EL2 DTB variants. Use these EL2-specific DTBs only when Linux is required to operate as a KVM hypervisor. For example, arch/arm64/boot/dts/qcom/lemans-el2.dtso.