Skip to content

Commit

Permalink
qcom-base.inc: Inherit linux-qcom-dtbbin via KERNEL_CLASSES
Browse files Browse the repository at this point in the history
Inherit linux-qcom-dtbbin bbclass in kernel to generate individual
dtb images for each device-tree produced. These can be flashed into
dtb partition for UEFI to read and load device-tree.

Signed-off-by: Viswanath Kraleti <[email protected]>
  • Loading branch information
quic-vkraleti committed Oct 23, 2024
1 parent 6615b55 commit fc98da4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conf/machine/include/qcom-base.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-dev"
KERNEL_IMAGETYPE ?= "Image"
KERNEL_IMAGETYPES ?= "Image.gz"

# For dtb.bin generation
KERNEL_CLASSES:append = " linux-qcom-dtbbin "

# QDL expects 4096 aligned ext4 image for flashing
IMAGE_FSTYPES = "ext4"
IMAGE_ROOTFS_ALIGNMENT = "4096"
Expand Down

0 comments on commit fc98da4

Please sign in to comment.