From 89def87a4ae44bb3917ad1255ea4132f515cb256 Mon Sep 17 00:00:00 2001 From: Viswanath Kraleti Date: Sat, 20 Jun 2026 22:42:16 +0530 Subject: [PATCH 1/4] firmware-qcom-qcm6490-idp: add firmware packaging recipe for QCM6490-IDP On QCM6490-IDP currently there is no straightforward way to deploy firmware from a vendor-provided NON-HLOS.bin and users need to manage this outside of the build system. Add a firmware recipe that can extract and package firmware from a user supplied NON-HLOS.bin, initially supporting only modem firmware. When no image is provided, the recipe generates empty packages, allowing them to remain in the packagegroups without requiring configuration changes by users who do not use proprietary NON-HLOS.bin. To specify the NON-HLOS.bin path, add the following to local.conf: NHLOS_URI:pn-firmware-qcom-qcm6490-idp = "file:///PATH/NON-HLOS.bin" Signed-off-by: Viswanath Kraleti --- .../firmware/firmware-qcom-qcm6490-idp.bb | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes-bsp/firmware/firmware-qcom-qcm6490-idp.bb diff --git a/recipes-bsp/firmware/firmware-qcom-qcm6490-idp.bb b/recipes-bsp/firmware/firmware-qcom-qcm6490-idp.bb new file mode 100644 index 000000000..58376d411 --- /dev/null +++ b/recipes-bsp/firmware/firmware-qcom-qcm6490-idp.bb @@ -0,0 +1,22 @@ +# Specify location of the corresponding NON-HLOS.bin file by adding +# NHLOS_URI:pn-firmware-qcom-qcm6490-idp = "..." to local.conf. Use "file://" +# if the file is provided locally. + +DESCRIPTION = "QCOM Firmware for QCM6490-IDP board" + +LICENSE = "CLOSED" + +FW_QCOM_NAME = "qcm6490" + +FW_QCOM_LIST = "\ + modem.mbn \ +" + +S = "${UNPACKDIR}" + +require recipes-bsp/firmware/firmware-qcom.inc +require recipes-bsp/firmware/firmware-qcom-nhlos.inc + +SPLIT_FIRMWARE_PACKAGES = "\ + linux-firmware-qcom-${FW_QCOM_NAME}-modem \ +" From c4a6e98a6ef50a27812ef20ee78c437123c7fc2c Mon Sep 17 00:00:00 2001 From: Viswanath Kraleti Date: Thu, 25 Jun 2026 11:43:02 +0530 Subject: [PATCH 2/4] firmware-qcom-rb3gen2: add firmware packaging recipe for Rb3Gen2 On Rb3Gen2 currently there is no straightforward way to deploy firmware from a vendor-provided NON-HLOS.bin and users need to manage this outside of the build system. Add a firmware recipe that can extract and package firmware from a user supplied NON-HLOS.bin, initially supporting only modem firmware. When no image is provided, the recipe generates empty packages, allowing them to remain in the packagegroups without requiring configuration changes by users who do not use proprietary NON-HLOS.bin. To specify the NON-HLOS.bin path, add the following to local.conf: NHLOS_URI:pn-firmware-qcom-rb3gen2 = "file:///PATH/NON-HLOS.bin" Signed-off-by: Viswanath Kraleti --- recipes-bsp/firmware/firmware-qcom-rb3gen2.bb | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes-bsp/firmware/firmware-qcom-rb3gen2.bb diff --git a/recipes-bsp/firmware/firmware-qcom-rb3gen2.bb b/recipes-bsp/firmware/firmware-qcom-rb3gen2.bb new file mode 100644 index 000000000..1a0196b0d --- /dev/null +++ b/recipes-bsp/firmware/firmware-qcom-rb3gen2.bb @@ -0,0 +1,22 @@ +# Specify location of the corresponding NON-HLOS.bin file by adding +# NHLOS_URI:pn-firmware-qcom-rb3gen2 = "..." to local.conf. Use "file://" +# if the file is provided locally. + +DESCRIPTION = "QCOM Firmware for Rb3Gen2 board" + +LICENSE = "CLOSED" + +FW_QCOM_NAME = "qcs6490" + +FW_QCOM_LIST = "\ + modem.mbn \ +" + +S = "${UNPACKDIR}" + +require recipes-bsp/firmware/firmware-qcom.inc +require recipes-bsp/firmware/firmware-qcom-nhlos.inc + +SPLIT_FIRMWARE_PACKAGES = "\ + linux-firmware-qcom-${FW_QCOM_NAME}-modem \ +" From 5cede4f03c227e01aa4ef169e40ad812b9d39ce7 Mon Sep 17 00:00:00 2001 From: Viswanath Kraleti Date: Thu, 2 Jul 2026 11:33:06 +0530 Subject: [PATCH 3/4] packagegroup-rb3gen2: recommend modem firmware package Rb3Gen2 images currently do not install modem firmware even when it is made available through the firmware-qcom-rb3gen2 recipe. Add the modem firmware package to the packagegroup recommendations so it is installed automatically when available. This enables optional modem firmware deployment while preserving the existing configuration. Signed-off-by: Viswanath Kraleti --- recipes-bsp/packagegroups/packagegroup-rb3gen2.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-bsp/packagegroups/packagegroup-rb3gen2.bb b/recipes-bsp/packagegroups/packagegroup-rb3gen2.bb index ba2a2df0b..b375b9580 100644 --- a/recipes-bsp/packagegroups/packagegroup-rb3gen2.bb +++ b/recipes-bsp/packagegroups/packagegroup-rb3gen2.bb @@ -21,6 +21,7 @@ RRECOMMENDS:${PN}-firmware = " \ linux-firmware-qcom-qcm6490-audio \ linux-firmware-qcom-qcm6490-compute \ linux-firmware-qcom-qcm6490-qupv3fw \ + linux-firmware-qcom-qcs6490-modem \ linux-firmware-qcom-vpu \ " From 7ee8cccb9cc76235f0fbda338d46b2d36645d8e9 Mon Sep 17 00:00:00 2001 From: Viswanath Kraleti Date: Thu, 2 Jul 2026 15:22:41 +0530 Subject: [PATCH 4/4] packagegroup-qcm6490-idp: recommend modem firmware package QCM6490-IDP images currently do not install modem firmware even when it is made available through the firmware-qcom-qcm6490-idp recipe. Add the modem firmware package to the packagegroup recommendations so it is installed automatically when available. This enables optional modem firmware deployment while preserving the existing configuration. Signed-off-by: Viswanath Kraleti --- recipes-bsp/packagegroups/packagegroup-qcm6490-idp.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-bsp/packagegroups/packagegroup-qcm6490-idp.bb b/recipes-bsp/packagegroups/packagegroup-qcm6490-idp.bb index f7f691dee..0569c5746 100644 --- a/recipes-bsp/packagegroups/packagegroup-qcm6490-idp.bb +++ b/recipes-bsp/packagegroups/packagegroup-qcm6490-idp.bb @@ -16,6 +16,7 @@ RRECOMMENDS:${PN}-firmware = " \ linux-firmware-qcom-qcm6490-audio \ linux-firmware-qcom-qcm6490-compute \ linux-firmware-qcom-qcm6490-ipa \ + linux-firmware-qcom-qcm6490-modem \ linux-firmware-qcom-qcm6490-qupv3fw \ linux-firmware-qcom-vpu \ "