Skip to content

Include modem firmware placeholder in packagegroup-qcm6490-idp#2561

Open
Viswanath Kraleti (vkraleti) wants to merge 4 commits into
qualcomm-linux:masterfrom
vkraleti:qcm6490-idp-mdm
Open

Include modem firmware placeholder in packagegroup-qcm6490-idp#2561
Viswanath Kraleti (vkraleti) wants to merge 4 commits into
qualcomm-linux:masterfrom
vkraleti:qcm6490-idp-mdm

Conversation

@vkraleti

Copy link
Copy Markdown
Contributor

linux-firmware.git does not provide modem firmware for QCM6490. However QCM6490-IDP has modem support and for this to work appropriate firmware needs to be included in image. Define an empty placeholder package and by default include it in the packagegroup-qcm6490-idp so that users can override it with vendor provided firmware.

Comment thread recipes-kernel/linux-firmware/linux-firmware_%.bbappend Outdated
Comment thread recipes-bsp/firmware/firmware-qcom-qcm6490-modem.bb Outdated
Comment thread recipes-bsp/firmware/firmware-qcom-qcm6490-modem.bb Outdated
Comment thread recipes-bsp/packagegroups/packagegroup-qcm6490-idp.bb
Comment thread recipes-bsp/firmware/firmware-qcom-qcs6490-modem.bb Outdated
Comment thread recipes-bsp/firmware/firmware-qcom-qcs6490-modem.bb Outdated
Comment thread recipes-bsp/firmware/firmware-qcom-qcs6490-modem.bb Outdated
S = "${UNPACKDIR}"

require recipes-bsp/firmware/firmware-qcom.inc
require recipes-bsp/firmware/firmware-qcom-nhlos.inc

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to handle modem_pr files? I see them in the image for RB3 Gen2, but they are likely unsed there. My guess is that the IDP will use those files.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not addressed.

Comment thread recipes-bsp/packagegroups/packagegroup-rb3gen2.bb
do_compile:prepend() {
if [ -z "${NHLOS_URI}" ] ; then
bbwarn "${PN}: not packaging NHLOS firmware. Please provide HNLOS_URI"
bbdebug 1 "${PN}: not packaging NHLOS firmware. Please provide HNLOS_URI"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? It is printed when this recipe is being compiled, which means that something has asked for this firmware.

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit ef98138

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-6.18
Pass: 201 | Fail: 1 | Total: 225
qcom-distro
Pass: 243 | Fail: 1 | Total: 269

@test-reporting-app

test-reporting-app Bot commented Jun 25, 2026

Copy link
Copy Markdown

Test Results

  110 files    657 suites   8h 29m 40s ⏱️
  164 tests   139 ✅  2 💤 23 ❌
6 238 runs  6 144 ✅ 51 💤 43 ❌

For more details on these failures, see this check.

Results for commit 7ee8ccc.

♻️ This comment has been updated with latest results.

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 <viswanath.kraleti@oss.qualcomm.com>
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 <viswanath.kraleti@oss.qualcomm.com>
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 <viswanath.kraleti@oss.qualcomm.com>
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 <viswanath.kraleti@oss.qualcomm.com>
S = "${UNPACKDIR}"

require recipes-bsp/firmware/firmware-qcom.inc
require recipes-bsp/firmware/firmware-qcom-nhlos.inc

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not addressed.

# NHLOS_URI:pn-firmware-qcom-rb3gen2 = "..." to local.conf. Use "file://"
# if the file is provided locally.

DESCRIPTION = "QCOM Firmware for Rb3Gen2 board"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RB3 Gen2

Comment thread recipes-bsp/packagegroups/packagegroup-rb3gen2.bb
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Test run workflow

Test jobs for commit 7ee8ccc

nodistro
Pass: 10 | Fail: 0 | Total: 10
qcom-distro_linux-qcom-6.18
Pass: 224 | Fail: 0 | Total: 252
qcom-distro
Pass: 267 | Fail: 1 | Total: 291

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants