forked from Linaro/meta-qcom
-
Notifications
You must be signed in to change notification settings - Fork 0
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 Linaro#589 from lumag/fw-upd
Several firmware-related fixes
- Loading branch information
Showing
13 changed files
with
129 additions
and
11 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
34 changes: 34 additions & 0 deletions
34
recipes-bsp/firmware-woa/firmware-qcom-lenovo-yoga-c630_200.0.19.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,34 @@ | ||
DESCRIPTION = "Qualcomm Firmware for Lenovo Yoga C630 laptop" | ||
|
||
LICENSE = "CLOSED" | ||
|
||
FW_QCOM_SUBDIR = "sdm850/LENOVO/81JL" | ||
FW_QCOM_NAME = "lenovo-yoga-c630" | ||
WOA_SUBDIR = "Lenovo/YogaC630" | ||
|
||
SRC_URI = "\ | ||
${WOA_FW_URL}/qcdx850.cab;name=dx \ | ||
${WOA_FW_URL}/qcipa850.cab;name=ipa \ | ||
${WOA_FW_URL}/qcsubsys850.cab;name=dsp \ | ||
file://adspr.jsn \ | ||
file://adspua.jsn \ | ||
file://cdspr.jsn \ | ||
file://slpir.jsn \ | ||
file://slpius.jsn \ | ||
" | ||
|
||
SRC_URI[dx.sha256sum] = "949f9fa256d036d829a1429451514c4f6aa3fcb228078a36a0bc4c6d569be3f9" | ||
SRC_URI[ipa.sha256sum] = "544f0b2ff642846a2bf0754600be57ef8277c4ebd9dcf72b61cb3d1f463bfec8" | ||
SRC_URI[dsp.sha256sum] = "23f8f1413ffdac6d6dfc7d0876f3cd5b840db70889d5f399e586e77ab91d89af" | ||
|
||
SPLIT_FIRMWARE_PACKAGES = "\ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-adreno \ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-audio \ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-compute \ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-ipa \ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-modem \ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-sensors \ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-venus \ | ||
" | ||
|
||
require firmware-woa.inc |
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
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,25 @@ | ||
# Specify location of the corresponding NON-HLOS.bin file by adding | ||
# NHLOS_URI:pn-firmware-qcom-sm8450-hdk = "..." to local.conf. Use "file://" | ||
# if the file is provided locally. | ||
|
||
DESCRIPTION = "QCOM Firmware for SM8650 HDK board" | ||
|
||
LICENSE = "CLOSED" | ||
|
||
FW_QCOM_NAME = "sm8650" | ||
|
||
FW_QCOM_LIST = "\ | ||
adsp.mbn adsp_dtb.mbn adspr.jsn adsps.jsn adspua.jsn battmgr.jsn \ | ||
cdsp.mbn cdsp_dtb.mbn cdspr.jsn \ | ||
ipa_fws.mbn \ | ||
" | ||
|
||
require recipes-bsp/firmware/firmware-qcom.inc | ||
require recipes-bsp/firmware/firmware-qcom-nhlos.inc | ||
require recipes-bsp/firmware/firmware-qcom-adreno.inc | ||
|
||
SPLIT_FIRMWARE_PACKAGES = "\ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-audio \ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-compute \ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-ipa \ | ||
" |
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
7 changes: 7 additions & 0 deletions
7
recipes-bsp/images/initramfs-firmware-lenovo-yoga-c630-image.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,7 @@ | ||
DESCRIPTION = "Tiny ramdisk image with Lenovo Yoga C630 firmware files" | ||
|
||
PACKAGE_INSTALL += " \ | ||
packagegroup-firmware-lenovo-yoga-c630 \ | ||
" | ||
|
||
require initramfs-firmware-image.inc |
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,10 @@ | ||
DESCRIPTION = "Tiny ramdisk image with SM8650 HDK devices firmware files" | ||
|
||
PACKAGE_INSTALL += " \ | ||
packagegroup-firmware-sm8650-hdk \ | ||
" | ||
|
||
BAD_RECOMMENDATIONS = " \ | ||
" | ||
|
||
require initramfs-firmware-image.inc |
16 changes: 16 additions & 0 deletions
16
recipes-bsp/packagegroups/packagegroup-firmware-lenovo-yoga-c630.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,16 @@ | ||
SUMMARY = "Firmware packages for the Lenogo Yoga C630 laptop" | ||
|
||
inherit packagegroup | ||
|
||
RRECOMMENDS:${PN} += " \ | ||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'linux-firmware-qcom-adreno-a630 linux-firmware-qcom-lenovo-yoga-c630-adreno', '', d)} \ | ||
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'linux-firmware-qca', '', d)} \ | ||
${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'linux-firmware-ath10k', '', d)} \ | ||
firmware-qcom-lenovo-yoga-c630 \ | ||
linux-firmware-qcom-lenovo-yoga-c630-audio \ | ||
linux-firmware-qcom-lenovo-yoga-c630-compute \ | ||
linux-firmware-qcom-lenovo-yoga-c630-ipa \ | ||
linux-firmware-qcom-lenovo-yoga-c630-modem \ | ||
linux-firmware-qcom-lenovo-yoga-c630-sensors \ | ||
linux-firmware-qcom-lenovo-yoga-c630-venus \ | ||
" |
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
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
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
13 changes: 13 additions & 0 deletions
13
recipes-bsp/packagegroups/packagegroup-firmware-sm8650-hdk.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,13 @@ | ||
SUMMARY = "Firmware packages for the SM8650-HDK board" | ||
|
||
inherit packagegroup | ||
|
||
RRECOMMENDS:${PN} += " \ | ||
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'linux-firmware-qca', '', d)} \ | ||
${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'linux-firmware-ath12k', '', d)} \ | ||
firmware-qcom-sm8650-hdk \ | ||
linux-firmware-lt9611uxc \ | ||
linux-firmware-qcom-sm8650-audio \ | ||
linux-firmware-qcom-sm8650-compute \ | ||
linux-firmware-qcom-sm8650-ipa \ | ||
" |
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