From fc98da4c4bac8285c4ac3e92fa46a4bde451942b Mon Sep 17 00:00:00 2001 From: Viswanath Kraleti Date: Thu, 17 Oct 2024 21:29:53 +0530 Subject: [PATCH] qcom-base.inc: Inherit linux-qcom-dtbbin via KERNEL_CLASSES 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 --- conf/machine/include/qcom-base.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/machine/include/qcom-base.inc b/conf/machine/include/qcom-base.inc index ed98ca41..52bd72a0 100644 --- a/conf/machine/include/qcom-base.inc +++ b/conf/machine/include/qcom-base.inc @@ -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"