-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
firmware-qcom-boot-qcs6490: Add boot firmware recipe for qcs6490
Add boot firmware recipe to package the boot binaries for Qualcomm qcs6490/qcm6490 boards. Signed-off-by: Atul Dhudase <[email protected]>
- Loading branch information
1 parent
9929fa2
commit 7e92335
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
21 changes: 21 additions & 0 deletions
21
recipes-bsp/firmware/firmware-qcom-boot-qcs6490_00005.0.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |