Skip to content

sm8750-mtp: update partition conf for sm8750-mtp#73

Merged
lumag merged 2 commits intoqualcomm-linux:mainfrom
vivpuar:sm8750_partition
Feb 25, 2026
Merged

sm8750-mtp: update partition conf for sm8750-mtp#73
lumag merged 2 commits intoqualcomm-linux:mainfrom
vivpuar:sm8750_partition

Conversation

@vivpuar
Copy link
Contributor

@vivpuar vivpuar commented Feb 24, 2026

With boot binaries released for SM8750-MTP, need few changes in partition.conf in order to boot to shell:

  • Drop keymint.mbn as it is not required for boot.
  • SM8750-MTP was using abl as bootloader so we used abl2esp.elf to boot, but with systemd-boot now enabled, it is no longer needed.
  • Add uefi_dtbs partition entry to the partition conf.

@vivpuar vivpuar marked this pull request as draft February 24, 2026 13:25
@vivpuar vivpuar marked this pull request as ready for review February 24, 2026 13:26
Copy link
Contributor

@lumag lumag left a comment

Choose a reason for hiding this comment

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

Fails the build:

2026-02-24T13:24:57.2519096Z Unknown uefi_dtbs.elf referenced in platforms/sm8750-mtp/ufs/contents.xml
2026-02-24T13:24:57.2519842Z Unknown uefi_dtbs.elf referenced in platforms/sm8750-mtp/ufs/contents.xml
2026-02-24T13:24:57.2586017Z Unknown uefi_dtbs.elf referenced in platforms/sm8750-mtp/ufs/partitions.xml
2026-02-24T13:24:57.2586880Z Unknown uefi_dtbs.elf referenced in platforms/sm8750-mtp/ufs/partitions.xml
2026-02-24T13:24:57.3641033Z Unknown uefi_dtbs.elf referenced in platforms/sm8750-mtp/ufs/rawprogram4.xml
2026-02-24T13:24:57.3642149Z Unknown uefi_dtbs.elf referenced in platforms/sm8750-mtp/ufs/rawprogram4.xml

Also, what does this mean?

Remove abl2esp-v7.elf as Systemd-boot support added in uefi.

Additional file uefi_dtbs.elf is used by SM8750-MTP, adding it
to check-missing-files

Signed-off-by: Vivek Puar <vpuar@qti.qualcomm.com>
@vivpuar
Copy link
Contributor Author

vivpuar commented Feb 24, 2026

Fails the build:

2026-02-24T13:24:57.2519096Z Unknown uefi_dtbs.elf referenced in platforms/sm8750-mtp/ufs/contents.xml
2026-02-24T13:24:57.2519842Z Unknown uefi_dtbs.elf referenced in platforms/sm8750-mtp/ufs/contents.xml
2026-02-24T13:24:57.2586017Z Unknown uefi_dtbs.elf referenced in platforms/sm8750-mtp/ufs/partitions.xml
2026-02-24T13:24:57.2586880Z Unknown uefi_dtbs.elf referenced in platforms/sm8750-mtp/ufs/partitions.xml
2026-02-24T13:24:57.3641033Z Unknown uefi_dtbs.elf referenced in platforms/sm8750-mtp/ufs/rawprogram4.xml
2026-02-24T13:24:57.3642149Z Unknown uefi_dtbs.elf referenced in platforms/sm8750-mtp/ufs/rawprogram4.xml

Will add entry for uefi_dtbs.elf in check-missing-files

Also, what does this mean?

Remove abl2esp-v7.elf as Systemd-boot support added in uefi.

The uefi in boot binaries have systemd-boot support added, so we no longer need to use abl2esp and pack dtb inside uki. We will be flashing dtb.bin like other QLI targets.

Once this partition.conf changes gets merged, will raise PR to add bootbinaries and CDT for SM8750-MTP on meta-qcom, and update the file esp-qcom-image.bb where we are packing dtb inside uki

@lumag
Copy link
Contributor

lumag commented Feb 24, 2026

@vivpuar what is "systemd-boot support"? It is a standard bootloader and it doesn't need any special support from UEFI.

@vivpuar
Copy link
Contributor Author

vivpuar commented Feb 24, 2026

@vivpuar what is "systemd-boot support"? It is a standard bootloader and it doesn't need any special support from UEFI.

SM8750 was using abl as bootloader and systemd-boot was not used when we added this partition.conf, so we used abl2esp.elf in order to boot. Now as we have systemd-boot enabled, we no longer need abl2esp.elf.

Drop keymint.mbn as it is not required for boot. SM8750-MTP was using
ABL as bootloader, requiring abl2esp.elf to boot, but with systemd-boot
now enabled, it is no longer needed. Add uefi_dtbs partition entry to
the partition conf.

Signed-off-by: Vivek Puar <vpuar@qti.qualcomm.com>
@lumag
Copy link
Contributor

lumag commented Feb 24, 2026

@vivpuar what is "systemd-boot support"? It is a standard bootloader and it doesn't need any special support from UEFI.

SM8750 was using abl as bootloader and systemd-boot was not used when we added this partition.conf, so we used abl2esp.elf in order to boot. Now as we have systemd-boot enabled, we no longer need abl2esp.elf.

This is close to a proper changelog entry. Please fit it into one sentence and update both commit message and PR description.

@vivpuar
Copy link
Contributor Author

vivpuar commented Feb 25, 2026

@lumag Can you review and merge the change if commit message looks fine?

@lumag lumag merged commit fcd46a8 into qualcomm-linux:main Feb 25, 2026
3 checks passed
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.

2 participants