Skip to content

platforms/iq-x7181-evk: fix duplicate uefi_dtb_a partition name#118

Open
GuanquanTian wants to merge 1 commit into
qualcomm-linux:mainfrom
GuanquanTian:iq-x7181-evk-fix-dup-uefi-dtb
Open

platforms/iq-x7181-evk: fix duplicate uefi_dtb_a partition name#118
GuanquanTian wants to merge 1 commit into
qualcomm-linux:mainfrom
GuanquanTian:iq-x7181-evk-fix-dup-uefi-dtb

Conversation

@GuanquanTian
Copy link
Copy Markdown

@GuanquanTian GuanquanTian commented May 27, 2026

Summary

  • Two partitions on the iq-x7181-evk SPI-NOR layout were both named uefi_dtb_a (with different type GUIDs), which is invalid.
  • Rename the second one to uefi_dtb_b to match the A/B slot naming used elsewhere in this layout (dtb_a/dtb_b, uefisecapp_a/uefisecapp_b, etc.).

@GuanquanTian GuanquanTian force-pushed the iq-x7181-evk-fix-dup-uefi-dtb branch from 0ecc4a4 to aead03f Compare May 27, 2026 10:48
Rename the second uefi_dtb_a partition to uefi_dtb_b to match the A/B
slot naming used elsewhere in this layout (dtb_a/dtb_b, uefisecapp_a/
uefisecapp_b, etc.).

Signed-off-by: guanquan <guanquan@qti.qualcomm.com>
@GuanquanTian GuanquanTian force-pushed the iq-x7181-evk-fix-dup-uefi-dtb branch from aead03f to dcf2d37 Compare May 27, 2026 10:54
@lool
Copy link
Copy Markdown
Contributor

lool commented May 27, 2026

Can you add a check to prevent similar errors in the future?

@GuanquanTian
Copy link
Copy Markdown
Author

GuanquanTian commented May 27, 2026

Okay, will do. While investigating whether to add a CI check for duplicate partition names , I found another instance of the same class of bug:

platforms/glymur-crd/spinor/partitions.conf declares SYSFW_VERSION twice within the same physical partition (LUN 0):

#line 54
--partition --name=SYSFW_VERSION --size=4KB --type-guid=3C44F88B-1878-4C29-B122-EE78766442A7

#line 74
--partition --name=SYSFW_VERSION --size=4KB --type-guid=3C44F88B-1878-4C29-B122-EE78766442A7

Should we delete a certain line? But it may cause changes in the address offset of the partition table

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