Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions recipes-bsp/firmware/firmware-qcom-qcm6490-idp.bb
Original file line number Diff line number Diff line change
@@ -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

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Dmitry Baryshkov (@lumag) I checked multiple NON_HLOS.bins available internally. None of the have modem_pr files. As I understand from Target team, modem_pr is distributed as separate zip file. So I am not sure about the path to add here. If you can share an example binary, I'll update the paths accordingly.

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.

Viswanath Kraleti (@vkraleti) From the Thundercomm SDK for RB3 Gen2:

$ mdir -i ~/Projects/Qcomm/SDK/RB3_Gen2.LU1.0_20240718.194315_debug/non_hlos/ufs/NON-HLOS.bin ::/image/modem_pr/so
 Volume in drive : has no label
 Volume Serial Number is 00BC-614E
Directory for ::/image/modem_pr/so

.            <DIR>     2011-07-07  14:07 
..           <DIR>     2011-07-07  14:07 
zpptyk~2 mbn   1551404 2024-07-16  15:35  544_0_0.mbn
aiz4h4~2 mbn   1213184 2024-07-16  15:35  544_0_5.mbn
vsrywv~2 mbn   1555500 2024-07-16  15:35  544_0_8.mbn
hwfr6z~2 mbn    458676 2024-07-16  15:35  645_0_9.mbn
mpkile~2 mbn    460096 2024-07-16  15:35  645_0_a.mbn
smlids~2 mbn     26244 2024-07-16  15:35  828_0.mbn
zqdrlv~2 mbn     26244 2024-07-16  15:35  829_0.mbn
jpvdt6~2 mbn    418228 2024-07-16  15:35  849_0_0.mbn
c7z5xn~2 mbn    430428 2024-07-16  15:35  849_0_2.mbn
iiyeol~2 mbn    452320 2024-07-16  15:35  850_0_0.mbn
t3gowg~2 mbn     26244 2024-07-16  15:35  881_0.mbn
n4xvma~2 mbn     39984 2024-07-16  15:35  889_0_0.mbn
vedjma~2 mbn   1168224 2024-07-16  15:35  901_0_0.mbn
iekpuh~2 mbn   1235920 2024-07-16  15:35  901_0_1.mbn
4bqcx3~2 mbn   1235936 2024-07-16  15:35  901_0_2.mbn
3b56pd~2 mbn    841540 2024-07-16  15:35  931_0_0.mbn
vy4xps~2 mbn     26244 2024-07-16  15:35  934_0.mbn
hb33ag~2 mbn    541012 2024-07-16  15:35  foo.mbn
       20 files          11 707 428 bytes
                         87 130 112 bytes free


SPLIT_FIRMWARE_PACKAGES = "\
linux-firmware-qcom-${FW_QCOM_NAME}-modem \
"
22 changes: 22 additions & 0 deletions recipes-bsp/firmware/firmware-qcom-rb3gen2.bb
Original file line number Diff line number Diff line change
@@ -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"

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


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 \
"
1 change: 1 addition & 0 deletions recipes-bsp/packagegroups/packagegroup-qcm6490-idp.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Comment thread
vkraleti marked this conversation as resolved.
linux-firmware-qcom-qcm6490-qupv3fw \
linux-firmware-qcom-vpu \
"
Expand Down
1 change: 1 addition & 0 deletions recipes-bsp/packagegroups/packagegroup-rb3gen2.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Comment thread
vkraleti marked this conversation as resolved.
Comment thread
lumag marked this conversation as resolved.
linux-firmware-qcom-vpu \
"

Expand Down
Loading