From e68f26e1f65547f3bb479e47359b878f69cba195 Mon Sep 17 00:00:00 2001 From: Shoudi Li Date: Wed, 21 Jan 2026 17:01:27 +0800 Subject: [PATCH 1/3] image_types_qcom: install dtb image to spinor folder Deploy dtb.bin in spinor subfolder to support loading DTB from spinor partition in UEFI. Signed-off-by: Shoudi Li --- classes-recipe/image_types_qcom.bbclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/classes-recipe/image_types_qcom.bbclass b/classes-recipe/image_types_qcom.bbclass index 962a0d036..407095aac 100644 --- a/classes-recipe/image_types_qcom.bbclass +++ b/classes-recipe/image_types_qcom.bbclass @@ -136,6 +136,11 @@ create_qcomflash_pkg() { install -m 0644 ${DEPLOY_DIR_IMAGE}/${QCOM_BOOT_FILES_SUBDIR}/spinor/${QCOM_CDT_FILE}.bin spinor/cdt.bin fi + # dtb image + if [ -n "${QCOM_DTB_FILE}" ]; then + install -m 0644 ${DEPLOY_DIR_IMAGE}/dtb-${QCOM_DTB_DEFAULT}-image.vfat spinor/${QCOM_DTB_FILE} + fi + # copy programer to support flash of HLOS images find "${DEPLOY_DIR_IMAGE}/${QCOM_BOOT_FILES_SUBDIR}/spinor" -maxdepth 1 -type f -name 'xbl_s_devprg_ns.melf' -exec install -m 0644 {} . \; fi From edebff500bee5fa75544ed4b04415562c1395971 Mon Sep 17 00:00:00 2001 From: Shoudi Li Date: Wed, 21 Jan 2026 17:42:26 +0800 Subject: [PATCH 2/3] qcom-partition-conf: bump qcom-ptool revision Upgrade qcom-ptool revision to use spinor partition table with dtb image file name specified. Signed-off-by: Shoudi Li --- recipes-bsp/partition/qcom-partition-conf_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/partition/qcom-partition-conf_git.bb b/recipes-bsp/partition/qcom-partition-conf_git.bb index a338ce851..b7628ba9d 100644 --- a/recipes-bsp/partition/qcom-partition-conf_git.bb +++ b/recipes-bsp/partition/qcom-partition-conf_git.bb @@ -4,7 +4,7 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=b0a8acd90d872086b279ead88af03369" SRC_URI = "git://github.com/qualcomm-linux/qcom-ptool.git;branch=main;protocol=https" -SRCREV = "7520239e6eec6d04df29159f79e8e29e28fef0b5" +SRCREV = "6778b35b1db7fc8b0e94697dd504e027dabc677f" INHIBIT_DEFAULT_DEPS = "1" From 47021e6f91eefc2a3960fbcae90323327c7908b7 Mon Sep 17 00:00:00 2001 From: Shoudi Li Date: Wed, 21 Jan 2026 16:32:41 +0800 Subject: [PATCH 3/3] esp-qcom-image: disable the DTB pack in UKI for IQ-X7181 Disable the DTB pack in UKI as UEFI have the capability to load from spinor partition. Signed-off-by: Shoudi Li --- recipes-kernel/images/esp-qcom-image.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes-kernel/images/esp-qcom-image.bb b/recipes-kernel/images/esp-qcom-image.bb index 492b932a3..9609668b2 100644 --- a/recipes-kernel/images/esp-qcom-image.bb +++ b/recipes-kernel/images/esp-qcom-image.bb @@ -19,7 +19,6 @@ UKI_CMDLINE += "${@d.getVar('KERNEL_CMDLINE_EXTRA') or ''}" KERNEL_DEVICETREE = "" KERNEL_DEVICETREE:sm8750-mtp = "${QCOM_DTB_DEFAULT}.dtb" KERNEL_DEVICETREE:kaanapali-mtp = "${QCOM_DTB_DEFAULT}.dtb" -KERNEL_DEVICETREE:iq-x7181-evk = "${QCOM_DTB_DEFAULT}.dtb" IMAGE_FSTYPES = "vfat" IMAGE_FSTYPES_DEBUGFS = ""