Skip to content

Commit 4d421f5

Browse files
committed
firmware-qcom-boot-x7181: add boot firmware recipe files
Use the boot firmware from external release to generate spinor flat build for IQ-X7181 platform. Signed-off-by: Shoudi Li <[email protected]>
1 parent 1e3b0f7 commit 4d421f5

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
DESCRIPTION = "QCOM NHLOS Firmware for Qualcomm IQ-X7181 platform"
2+
3+
LICENSE = "CLOSED"
4+
5+
BOOTBINARIES = "IQ-X.1.0-Ver.1.1-ubuntu-X1E80100-nhlos-bins"
6+
7+
SRC_URI = " \
8+
https://artifacts.codelinaro.org/artifactory/qli-ci/flashable-binaries/ubuntu-fw/X1E80100/IQ-X.1.0-Ver.1.1/IQ-X.1.0-Ver.1.1-ubuntu-X1E80100-nhlos-bins.tar.gz;downloadfilename=X7181_bootbinaries.tar.gz;name=bootbinaries \
9+
https://artifacts.codelinaro.org/artifactory/codelinaro-le/Qualcomm_Linux/X1E80100/cdt/IQ-X.1.0-EVK-CDT.tar.gz;downloadfilename=cdt-iq-X7181-EVK.tar.gz;name=iq-x7181-evk \
10+
"
11+
SRC_URI[iq-x7181-evk.sha256sum] = "c8b8891438bb933d59bfae76452699640e28411125798ebc5bc112f4ab003742"
12+
13+
QCOM_BOOT_IMG_SUBDIR = "x7181"
14+
15+
include firmware-qcom-boot-common.inc
16+
17+
do_deploy:append() {
18+
install -d ${DEPLOYDIR}/${QCOM_BOOT_IMG_SUBDIR}/spinor
19+
find "${S}/spinor" -maxdepth 1 -name '*.bin' -exec install -m 0644 {} ${DEPLOYDIR}/${QCOM_BOOT_IMG_SUBDIR}/spinor \;
20+
find "${S}/spinor" -maxdepth 1 -name '*.elf' -exec install -m 0644 {} ${DEPLOYDIR}/${QCOM_BOOT_IMG_SUBDIR}/spinor \;
21+
find "${S}/spinor" -maxdepth 1 -name '*.fv' -exec install -m 0644 {} ${DEPLOYDIR}/${QCOM_BOOT_IMG_SUBDIR}/spinor \;
22+
find "${S}/spinor" -maxdepth 1 -name '*.mbn' -exec install -m 0644 {} ${DEPLOYDIR}/${QCOM_BOOT_IMG_SUBDIR}/spinor \;
23+
find "${S}/spinor" -maxdepth 1 -name '*.melf' -exec install -m 0644 {} ${DEPLOYDIR}/${QCOM_BOOT_IMG_SUBDIR}/spinor \;
24+
find "${S}/spinor" -maxdepth 1 -name '*.xml' -exec install -m 0644 {} ${DEPLOYDIR}/${QCOM_BOOT_IMG_SUBDIR}/spinor \;
25+
find "${S}/spinor" -maxdepth 1 -name '*.lzma' -exec install -m 0644 {} ${DEPLOYDIR}/${QCOM_BOOT_IMG_SUBDIR}/spinor \;
26+
find "${S}/spinor" -maxdepth 1 -name '*.xz' -exec install -m 0644 {} ${DEPLOYDIR}/${QCOM_BOOT_IMG_SUBDIR}/spinor \;
27+
28+
find "${UNPACKDIR}" -name '*CDT.bin' -exec install -m 0644 {} ${DEPLOYDIR}/${QCOM_BOOT_IMG_SUBDIR} \;
29+
}
30+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
require firmware-qcom-boot-x7181.inc
2+
3+
SRC_URI[bootbinaries.sha256sum] = "8a2ab2f320995a4e89511218a1e81f8811f264f5881ebcedc601b26706858fb5"

0 commit comments

Comments
 (0)