Skip to content

Commit

Permalink
firmware: qcom-sm8650: package firmware for the HDK
Browse files Browse the repository at this point in the history
Package firmware for the Qualcomm SM8650 HDK.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
  • Loading branch information
lumag committed Apr 25, 2024
1 parent 8e7c335 commit 5997349
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
25 changes: 25 additions & 0 deletions recipes-bsp/firmware/firmware-qcom-sm8650-hdk.bb
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 \
"
10 changes: 10 additions & 0 deletions recipes-bsp/images/initramfs-firmware-sm8650-hdk-image.bb
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
13 changes: 13 additions & 0 deletions recipes-bsp/packagegroups/packagegroup-firmware-sm8650-hdk.bb
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 \
"

0 comments on commit 5997349

Please sign in to comment.