Skip to content

sm8750-mtp.conf: add boot firmware for SM8750-MTP#1635

Merged
ricardosalveti merged 3 commits intoqualcomm-linux:masterfrom
vivpuar:sm8750-meta-qcom_git
Mar 9, 2026
Merged

sm8750-mtp.conf: add boot firmware for SM8750-MTP#1635
ricardosalveti merged 3 commits intoqualcomm-linux:masterfrom
vivpuar:sm8750-meta-qcom_git

Conversation

@vivpuar
Copy link
Copy Markdown
Contributor

@vivpuar vivpuar commented Feb 25, 2026

Add boot firmware recipe and include in machine conf

systemd-boot is enabled, so drop ABL_SIGNATURE_VERSION definition from machine conf as we no longer need to use abl2esp.elf file during boot.

SM8750-MTP uses xbl_s_devprg_ns.melf as device programmer while flashing, and xbl_s.melf file is flashed in xbl partiiton, so include *.melf files in image_types_qcom.bbclass

lumag
lumag previously approved these changes Feb 25, 2026
BOOTBINARIES = "pakala_bootbinaries"

SRC_URI = " \
https://${FW_ARTIFACTORY}/${FW_BUILD_ID}/${FW_BIN_PATH}/${BOOTBINARIES}.zip;downloadfilename=${BOOTBINARIES}_r0.0_${PV}.zip;name=bootbinaries \
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.

We need to align this with #1633, otherwise it will create a mess with the versioning number used.

The recipe has 00008.0 as version but it is released under r0.0. Current firmware in meta-qcom is based on r1.0 and the one proposed in 1633 is r2.0 based.

We need to bring some sanity here.

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.

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.

K,L,M,T are on SPF 1.0 which is soon transitioning to SPF 2.0 as part of QLI 2.x releases. Where as Pakala and Glymur are not planned for QLI 2.0. They remain on SPF 0.0 and continue to support via mainline. Hence the mimatch.
I am checking with Target team is there is a possibility to support all targets from same SPF line.

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.

I think I'm fine with the firmware coming form different locations on the server, if the versions are properly aligned.

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.

Yeah, no need to support the same SPF necessarily, we just need some sanity with the versions used here, and it should be reflected in the recipe as PV.

So this version is really 0.0.00008.0 in the end.

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.

Distribution tools team confirmed about moving to a generic artifacts URL in a few weeks. Till then, boot-bins continue to be delivered in existing SPF specific URLs. For sm8750, this PR updated version as _00008.0. Is it fine? Or should it be changed to 0.0_00008.0?

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.

What will be the version used with generic artifacts?

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.

@vkraleti what's the "generic artifacts URL"? 0.0? Something else?

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.

The tentative proposal is to organize boot_bins as

https://softwarecenter.qualcomm.com/nexus/generic/software/chip/boot_bins/qualcomm_linux/
   QCS6490/
      QCM6490_bootbinaries_000114.0.zip
      QCM6490_bootbinaries_000116.0.zip
   QCS9100/
      QCS9100_bootbinaries_000114.0.zip
      QCS9100_bootbinaries_000116.0.zip
   .
   .
   .
  HAMOA/
     HAMOA_bootbinaries_00001.0.zip
  PAKALA/
     PAKALA_bootbinaries_00003.0.zip
  GLYMUR/
     GLYMUR_bootbinaries_00009.0.zip

Managing the versioning of these zips while the products transitioning from one SPF to another like 1.x -> 2.x -> 3.x is still under discussion.

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.

We need the concept of stable releases (with minor updates) for LTS releases, or we move mainline forward and just backport the changes.

@vivpuar vivpuar force-pushed the sm8750-meta-qcom_git branch from 2fe70e9 to b6a61a4 Compare March 4, 2026 09:52
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 4, 2026

Test run workflow

Test jobs for commit b6a61a4

Test qcs615-adp-air qcs6490 qcs8300 qcs9100 qcs9100-rb8 qrb2210-rb1
AudioRecord pass pass pass pass pass pass
BT_FW_KMD_Service pass pass pass pass pass pass
BT_ON_OFF ⚠️ skip pass pass pass pass pass
BT_SCAN pass pass pass pass pass pass
CPUFreq_Validation pass pass pass pass pass pass
DSP_AudioPD pass pass pass pass pass pass
Ethernet ⚠️ skip 🚫 ⚠️ skip pass pass ⚠️ skip
Interrupts pass pass pass pass pass pass
OpenCV pass pass pass pass pass pass
WiFi_Firmware_Driver pass pass pass pass pass pass
WiFi_OnOff ⚠️ skip pass pass pass pass pass
adsp_remoteproc pass pass pass pass pass pass
boot pass pass pass pass pass pass
cdsp_remoteproc pass pass pass pass pass ⚠️ skip
hotplug pass pass pass pass pass pass
irq pass pass pass pass pass pass

All jobs summary

Job ID Device State Health
154081 qcs615-adp-air Finished Complete
154071 qcs615-adp-air Finished Complete
154074 qrb2210-rb1 Finished Complete
154082 qcs615-adp-air Running Unknown
154088 qcs6490 Finished Complete
154057 qrb2210-rb1 Finished Complete
154060 qcs6490 Finished Complete
154062 qrb2210-rb1 Finished Complete
154073 qcs8300 Finished Complete
154053 qcs6490 Finished Complete
154078 qcs6490 Finished Complete
154092 qrb2210-rb1 Finished Complete
154079 qcs615-adp-air Finished Complete
154070 qrb2210-rb1 Finished Complete
154084 qrb2210-rb1 Finished Complete
154093 qcs9100 Finished Complete
154065 qcs9100-rb8 Finished Complete
154051 qcs9100 Finished Complete
154097 qcs9100-rb8 Finished Complete
154056 qcs9100-rb8 Finished Complete
154077 qcs8300 Finished Complete
154050 qrb2210-rb1 Finished Complete
154066 qcs9100 Finished Complete
154085 qcs6490 Finished Incomplete
154080 qcs6490 Finished Complete
154091 qcs9100-rb8 Finished Complete
154072 qcs8300 Finished Complete
154094 qcs8300 Finished Incomplete
154054 qcs6490 Finished Complete
154069 qcs615-adp-air Finished Complete
154086 qcs9100-rb8 Finished Complete
154083 qcs9100-rb8 Finished Complete
154090 qcs9100 Finished Complete
154089 qcs9100 Finished Complete
154095 qcs615-adp-air Running Unknown
154087 qcs9100 Finished Complete
154067 qcs615-adp-air Finished Complete
154059 qcs8300 Finished Complete
154075 qcs8300 Finished Complete
154096 qcs8300 Finished Complete
154063 qcs9100 Finished Complete
154055 qcs9100-rb8 Finished Complete
154064 qcs6490 Finished Complete
154076 qrb2210-rb1 Finished Complete
154058 qcs8300 Finished Complete
154061 qcs615-adp-air Finished Complete
154068 qcs9100-rb8 Finished Complete
154052 qcs9100 Finished Complete

@test-reporting-app
Copy link
Copy Markdown

test-reporting-app Bot commented Mar 4, 2026

Test Results

 17 files   -  3   17 suites   - 3   1h 51m 4s ⏱️ + 1h 24m 26s
  9 tests + 2    5 ✅  -  2  0 💤 ±0  4 ❌ +4 
121 runs   - 19  113 ✅  - 27  0 💤 ±0  8 ❌ +8 

For more details on these failures, see this check.

Results for commit dc31a78. ± Comparison against base commit 8f9cf91.

♻️ This comment has been updated with latest results.

@ricardosalveti
Copy link
Copy Markdown
Contributor

Please rebase to fix conflicts.

vivpuar added 3 commits March 8, 2026 15:41
This recipe fetches and installs the boot firmware and CDT to generate
flat build for SM8750-MTP board.

Signed-off-by: Vivek Puar <vpuar@qti.qualcomm.com>
SM8750-MTP uses xbl_s_devprg_ns.melf as device programmer
while flashing, and xbl_s.melf file is flashed in xbl partiiton.
Including these files in the qcomflash directory.

Signed-off-by: Vivek Puar <vpuar@qti.qualcomm.com>
Add boot firmware support for SM8750-MTP board, systemd-boot
is enabled so drop ABL_SIGNATURE_VERSION definition from machine
as we no longer need to use abl2esp.elf file during boot.

Signed-off-by: Vivek Puar <vpuar@qti.qualcomm.com>
@vivpuar vivpuar force-pushed the sm8750-meta-qcom_git branch from b6a61a4 to dc31a78 Compare March 8, 2026 10:13
@vivpuar
Copy link
Copy Markdown
Contributor Author

vivpuar commented Mar 8, 2026

Please rebase to fix conflicts.

Done

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 8, 2026

Test run workflow

Test jobs for commit dc31a78

Test qcs615-adp-air qcs6490 qcs8300 qcs9100 qcs9100-rb8 qrb2210-rb1
boot pass pass pass pass pass pass

All jobs summary

Job ID Device State Health
156932 qrb2210-rb1 Submitted Unknown
156925 qcs6490 Finished Complete
156936 qcs615-adp-air Submitted Unknown
156928 qcs6490 Finished Complete
156929 qcs9100-rb8 Finished Incomplete
156939 qcs9100-rb8 Finished Complete
156931 qcs6490 Finished Complete
156930 qcs9100 Finished Complete
156938 qcs9100 Finished Complete
156924 qcs9100 Finished Complete
156923 qcs615-adp-air Finished Incomplete
156921 qcs9100 Finished Complete
156944 qcs9100-rb8 Finished Complete
156922 qrb2210-rb1 Submitted Unknown
156942 qcs9100-rb8 Finished Complete
156935 qcs615-adp-air Running Unknown
156937 qcs8300 Finished Complete
156940 qcs8300 Finished Complete
156941 qcs8300 Finished Complete
156943 qrb2210-rb1 Submitted Unknown
156926 qrb2210-rb1 Submitted Unknown
156927 qcs6490 Finished Complete
156934 qcs8300 Finished Complete
156933 qcs615-adp-air Finished Complete

@ricardosalveti ricardosalveti merged commit b003e51 into qualcomm-linux:master Mar 9, 2026
171 of 174 checks passed
@vivpuar vivpuar deleted the sm8750-meta-qcom_git branch April 11, 2026 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants