diff --git a/recipes-bsp/firmware/firmware-qcom-boot-common.inc b/recipes-bsp/firmware/firmware-qcom-boot-common.inc new file mode 100644 index 00000000..1226094b --- /dev/null +++ b/recipes-bsp/firmware/firmware-qcom-boot-common.inc @@ -0,0 +1,12 @@ +# Install NHLOS boot binaries in DEPLOY_DIR + +inherit deploy + +do_deploy() { + find "${UNPACKDIR}/${BOOTBINARIES}" -name '*.bin' -exec install -m 0644 {} ${DEPLOYDIR} \; + find "${UNPACKDIR}/${BOOTBINARIES}" -name '*.elf' -exec install -m 0644 {} ${DEPLOYDIR} \; + find "${UNPACKDIR}/${BOOTBINARIES}" -name '*.fv' -exec install -m 0644 {} ${DEPLOYDIR} \; + find "${UNPACKDIR}/${BOOTBINARIES}" -name '*.mbn' -exec install -m 0644 {} ${DEPLOYDIR} \; + find "${UNPACKDIR}/${BOOTBINARIES}" -name '*.melf' -exec install -m 0644 {} ${DEPLOYDIR} \; +} +addtask deploy before do_build after do_install diff --git a/recipes-bsp/firmware/firmware-qcom-boot-qcs6490_00005.0.bb b/recipes-bsp/firmware/firmware-qcom-boot-qcs6490_00005.0.bb new file mode 100644 index 00000000..41ca8d94 --- /dev/null +++ b/recipes-bsp/firmware/firmware-qcom-boot-qcs6490_00005.0.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "QCOM NHLOS Firmware for Qualcomm Robotics RB3Gen2 platform" +LICENSE = "Proprietary" +LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BOOTBINARIES}/Qualcomm-Technologies-Inc.-Proprietary;md5=58d50a3d36f27f1a1e6089308a49b403" + +FW_ARTIFACTORY = "softwarecenter.qualcomm.com/download/software/chip/qualcomm_linux-spf-1-0/qualcomm-linux-spf-1-0_test_device_integrationandtest_publictest" +FW_BUILD_ID = "r1.0_${PV}/qcm6490-le-1-0" +FW_BIN_PATH = "common/build/ufs/bin" +BOOTBINARIES = "QCM6490_bootbinaries" + +SRC_URI = "https://${FW_ARTIFACTORY}/${FW_BUILD_ID}/${FW_BIN_PATH}/${BOOTBINARIES}.zip" +SRC_URI[sha256sum] = "5e597229af9103cfea5b398c7e83a05dd078a18af010a40f1b9adf92967d4c1e" + +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" + +INHIBIT_DEFAULT_DEPS = "1" + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +include firmware-qcom-boot-common.inc