[PATCH v2 0/4] Add partition type GUID support for environment

Balaji Selvanathan balaji.selvanathan at oss.qualcomm.com
Fri Jan 9 08:09:08 CET 2026


This series adds support for locating partitions using GPT partition
type GUID instead of unique partition UUID. This enables the saveenv
command to work with partitions identified by their type rather than
unique identifiers, providing flexibility for systems where partition
UUIDs may vary across devices but types remain constant.
---
Changes in v2:
- Compute blk_find_max_devnum(UCLASS_SCSI) only once in scsi_get_blk_by_type_guid()
- Introduce a Kconfig choice config to select between UUID-based
and type GUID-based partition lookup methods.
- Enable above new config in qcom_qcs615_defconfig and qcm6490_defconfig
- Link to v1: https://lore.kernel.org/u-boot/20260108064947.3237361-1-balaji.selvanathan@oss.qualcomm.com/

Balaji Selvanathan (4):
  disk: Add partition lookup by type GUID functionality
  scsi: Add partition lookup by type GUID for SCSI devices
  env: scsi: Add support for partition type GUID based environment
  configs: Enable partition type GUID for QCM6490 and QCS615 boards

 configs/qcm6490_defconfig     |  5 +++++
 configs/qcom_qcs615_defconfig |  5 +++++
 disk/part.c                   | 39 +++++++++++++++++++++++++++++++++++
 drivers/scsi/scsi-uclass.c    | 34 ++++++++++++++++++++++++++++--
 env/Kconfig                   | 31 +++++++++++++++++++++++++++-
 env/scsi.c                    | 13 ++++++++++++
 include/part.h                | 21 +++++++++++++++++++
 include/scsi.h                | 11 ++++++++++
 8 files changed, 156 insertions(+), 3 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list