Skip to content

BACKPORT change to install DT overlays via dtbs_install - #1025

Open
gyenugul wants to merge 2 commits into
qualcomm-linux:qcom-6.18.yfrom
gyenugul:install_dtb
Open

BACKPORT change to install DT overlays via dtbs_install#1025
gyenugul wants to merge 2 commits into
qualcomm-linux:qcom-6.18.yfrom
gyenugul:install_dtb

Conversation

@gyenugul

Copy link
Copy Markdown

Overlay binaries (.dtbo) are currently only built implicitly as
dependencies of composite firmware images and are therefore absent from the
kernel install output.

Even when final DTBs are produced at build time, some distributions rely on
standalone DTBOs for runtime selection and application by bootloaders or
firmware. Without explicit install targets, DTBOs are not picked up by the
standard dtbs_install flow and therefore cannot be packaged alongside DTBs.

BACKPORT change to add dtb-$(CONFIG_ARCH_QCOM) entries for all DT overlays defined in
this Makefile so they are installed via dtbs_install, matching existing
DTB install behavior.

CRs-Fixed: 4561683

Overlay binaries (.dtbo) are currently only built implicitly as
dependencies of composite firmware images and are therefore absent from the
kernel install output.
Even when final DTBs are produced at build time, some distributions rely on
standalone DTBOs for runtime selection and application by bootloaders or
firmware. Without explicit install targets, DTBOs are not picked up by the
standard dtbs_install flow and therefore cannot be packaged alongside DTBs.
Add explicit dtb-$(CONFIG_ARCH_QCOM) entries for DT overlays defined in
this Makefile so they are installed via dtbs_install, matching existing DTB
install behaviour, while excluding EL2 DTBOs as they are not intended for
independent use and are only meaningful in conjunction with their base DTBs.
Link: https://lore.kernel.org/all/20260622055226.4085891-1-vishwas.udupa@oss.qualcomm.com/
Signed-off-by: Vishwas Udupa <vudupa@qti.qualcomm.com>
Install Qualcomm camx DTBO except el2 overlay files by adding them
to the dtb-$(CONFIG_ARCH_QCOM) build/install list
This makes DTBOs available through the standard dtbs_install
flow and ensures they are included in distro kernel packages
Signed-off-by: Vishwas Udupa <vudupa@qti.qualcomm.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@gyenugul@vishwasudupa