-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #701 from lumag/fw-8060
Firmware for Dragonboard APQ8060
- Loading branch information
Showing
2 changed files
with
36 additions
and
2 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,30 @@ | ||
# Specify location of the corresponding NON-HLOS.bin file by adding | ||
# NHLOS_URI:pn-firmware-qcom-dragonboard-apq8060 = "..." to local.conf. Use | ||
# "file://" if the file is provided locally. | ||
|
||
DESCRIPTION = "QCOM Firmware for Dragonboard APQ8060 board" | ||
|
||
LICENSE = "CLOSED" | ||
|
||
# dragonboard8060 firmware is unsigned, so install into generic location | ||
FW_QCOM_NAME = "apq8060" | ||
|
||
FW_QCOM_LIST = "q6.mbn" | ||
|
||
S = "${UNPACKDIR}" | ||
|
||
require recipes-bsp/firmware/firmware-qcom.inc | ||
require recipes-bsp/firmware/firmware-qcom-nhlos.inc | ||
|
||
unpack_nhlos_image:append() { | ||
if [ -d ${B}/firmware/IMAGE ] ; then | ||
mv ${B}/firmware/IMAGE ${B}/firmware/image | ||
for file in ${B}/firmware/image/* ; do | ||
mv "${file}" ${B}/firmware/image/`basename ${file} | tr A-Z a-z` | ||
done | ||
fi | ||
} | ||
|
||
SPLIT_FIRMWARE_PACKAGES = " \ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-q6 \ | ||
" |
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