| Message ID | 20260426153617.2039651-2-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRB6HBXDHQMGQECT3AN3Q@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com
[209.85.128.69])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 3124F3FA5D
for <linux-amarula@patchwork.amarulasolutions.com>;
Sun, 26 Apr 2026 17:36:25 +0200 (CEST)
Received: by mail-wm1-f69.google.com with SMTP id
5b1f17b1804b1-48906aa28cbsf55819955e9.0
for <linux-amarula@patchwork.amarulasolutions.com>;
Sun, 26 Apr 2026 08:36:25 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1777217785; cv=pass;
d=google.com; s=arc-20240605;
b=VMd1biu+VQLqF3jvY5lKPeaiDaRBv9wf4zrBMrQ4S/bZuuPqgH68tveUkO2xOzcDRr
sqq8CUcM1dxqNbNnVNThCRF3Afk5GNGaMJpkRcIJDlkcvAXMilBxGrX3/bTFtbhvbbxW
xiTIZxfz6s28q+o8vLRH853U59HxU9pSPqyRyjWO2B7TZHz8Hvw7/OMzlFPk1AsdB3ky
UdBUdrN/ZuZchr4oLRLXUNUWjYwDhoTcdEoSn5mptJJkZBgSi6aJLI9dO7s3JdC2nkqY
c8BPeoXUuyoX9DSw3d4v743s5V+EUOYXEwIZBnM8Z6dS4HX993UPt8e+L5LvRAucd1p7
S3Dw==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:dkim-signature;
bh=ZIzOJJFletaonBorIumd6+mkNx+CdGdQPYA03MKdaNU=;
fh=YRF19LtXFLHr1v60dwOKHmUxQy4Z6ZmK++t2n83Txpc=;
b=Az5Sz+gGLBs8vSSSbSTM2qCQ6NmiTJRJENzemMrBIbuR8iO1mMpCDWvJ6kv8Lyx1H+
tCt49jKDwiBt4awqRe2/kBIN8Ivmn+1PgVzWTIHJI3kLJT/mbj0N2flEzw2RGTKjP8el
xOc5Kybm2FYbdnRhjU8JeQ2Q4FMj74uzlqyzkWiPpSX0aSktuWx0yU+ixb1PxVMMO6Y/
ZUrid78b9yMZGzWYisGWCdWhcHuZyQgps1Wqihf7VkbWtFlCbB5ncjhqgClwYscIJdG7
dNynjb/qxqEX4gL5wqCLxnxVYejihHyTloYQLGOzx/WTPPkpluWPPszZUfJZl1oO6AJ7
qu1w==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=pPFJKZdG;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=neutral header.i=@amarulasolutions.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=amarulasolutions.com; s=google; t=1777217785; x=1777822585;
darn=patchwork.amarulasolutions.com;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:x-original-authentication-results
:x-original-sender:mime-version:references:in-reply-to:message-id
:date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=ZIzOJJFletaonBorIumd6+mkNx+CdGdQPYA03MKdaNU=;
b=jsDjOBgChXz/lWOD89tkxDYWEBCAUWlJP+eo8APIhzt6cY0X91syJeB2v+q/7JzkME
m97U+VfvvfvSjlWNYMfI3dI55tH1ywo1yuFkgpSAOefE7+v/mcRt0VJIy/f0qKIefh2b
l4bA19zUBpGmpXhqGNYshITooIVxOs5cUHtcY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1777217785; x=1777822585;
h=list-unsubscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence
:x-original-authentication-results:x-original-sender:mime-version
:references:in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg
:x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=ZIzOJJFletaonBorIumd6+mkNx+CdGdQPYA03MKdaNU=;
b=MiEWqU8e96dynZLjvMI1TfbecG3OdGsi6RUm3hyVYepcTfEO8aY8sxUyjnC0IaJCSZ
7AHcYA2EP2rPsVW86AoXNc4ILRbAcSB8RBphQBqtr9YFPCSGciWbZzrps7LaVE5UuTRH
YIOwJYF7FFwrkdjlU1wQ16gahsdGKH59uAjNUpbhFqqJA8D9fsnBxdyE7cFvVkwh3Xue
IkHwiyAG6XluiJ8pdzKon4nG6HjiTJoNCP4orzbxKmbyXpMqewBcmS7cViuueE1st+uX
sKPHJORY31if0Q9hNsoql1Zugt9Fmr3OHb7Bb/DMhvdjoBfFMiDvr6kkQ6hEZitNC907
WyIA==
X-Forwarded-Encrypted: i=2;
AFNElJ/Lt4s3JJzZdpaT7xT3R8gms7KyShyDI2MroGNegJHBpd+1Kin9cSrHTr/s1nauOD6OPFX//wj5XmP5iXVZ@patchwork.amarulasolutions.com
X-Gm-Message-State: AOJu0YxJolHtLdLjrJoX0qOnel0B80j+64u1riEltGVas4qkOLO9v2fN
H3UQbWqT+sLhjv/5HzMljIosdVw7fup6ZdOoC0Qf4nswUOAZgq4CY9kS/OgGPoKErtDRmQ==
X-Received: by 2002:a05:600c:a305:b0:48a:53cb:8604 with SMTP id
5b1f17b1804b1-48a53cb8949mr270475645e9.14.1777217784598;
Sun, 26 Apr 2026 08:36:24 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com;
h="AYAyTiIRJxvk/Ac+YNQ17FFSWgH28cAM136zLgR/rlWKx3O24w=="
Received: by 2002:a05:600c:3f0d:b0:48a:5e52:aba4 with SMTP id
5b1f17b1804b1-48a5e52ae12ls17353525e9.2.-pod-prod-00-eu; Sun, 26 Apr 2026
08:36:23 -0700 (PDT)
X-Received: by 2002:a05:600c:8b6b:b0:485:3c2e:60d5 with SMTP id
5b1f17b1804b1-488fb8859ddmr525722905e9.2.1777217782847;
Sun, 26 Apr 2026 08:36:22 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1777217782; cv=none;
d=google.com; s=arc-20240605;
b=VvtNtq2dZqE9PeE+s4MMWx8cBF3ZswPbnEK4uatMKYrKhhfJ8iL2B6z0JiajxomYgh
g/eMX8WiXL6IaPjpRVFXRYMjQa8xf5iDuY11jVIvAXum0Y1aKheu+Ygt+eS/ckolyVAn
7C+Bw7fXtZEefVsJ2kQvfZGaWMGk/oO/WvCyCTg4hBN/1+Rgv/UJ0u/S5wLMwTMm02Bg
mNgPqm/3K/vx74xMAJvijhGkbhHg1wKrvKTjecvIq3GFFm/cy7SvYhVXcLSFnSKvTd1c
FdHfNnSjxmrf1xKgA+WENPIAQI0b8Ao7aD9+7F9SxfGeA6jFE74mh8DdW39yOByFdtJn
5brA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:dkim-signature;
bh=7DKsi4pzYyQDOTb8zo06i67V2qb9y1zARBTwXnfbWaQ=;
fh=xyTgZQpLW3y2EJRGql/rCxNePAR/wNSFc1lsJLdfvms=;
b=PbTsBcJD653f2aFtdLOwMgcbYlT08syjlXFgqRKKBg/PLQi2ZRoTsAmBqgMCY3m2Gs
HW6tDpkzVZzcqzUwz07Hg1qDtfGa8SkrM0tOk6zC8KSJ47m7u6JYhiufXJQzi5j8aX2T
2L4Nhu7eYNmTA8jFtSifE8/NsKOeG6a+ZF47fEj8j4M2wCvXQsuojgbfPv+NAQxxO4b/
0K26mizPLjzjx8DPGHc6XTqcNR9gRGsOV56GvIamQxnqaFApC7P/ooMjc7IhpxZR6m5z
9AC/Qn6M48NmxgQ5IZXYwroBn85LvTCzlRuUKNE7AUWWLNVObout3Tn5WPVQF8WNLvik
cbkQ==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=pPFJKZdG;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=neutral header.i=@amarulasolutions.com
Received: from mail-sor-f41.google.com (mail-sor-f41.google.com.
[209.85.220.41])
by mx.google.com with SMTPS id
5b1f17b1804b1-4891c23eadasor17198705e9.11.2026.04.26.08.36.22
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Sun, 26 Apr 2026 08:36:22 -0700 (PDT)
Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Gm-Gg: AeBDieuYFiboIQo0/Gi58BtQQuuISHXy53L0Exu8et51a1zbWCCw/6XKzn5Q23g0bFN
FhHoSq1xzN5JFOkE8G0lfU6vNkssk3llBdq90VgNJ4SH/tAAZNHU4llvBPvXakt560RCz6Y1sRN
gVabkqRWpJOgF8Qk2Z9n/O9PWvZnj3CFxSuJSgQ62Sj+MhXckUiUmBHtaJAvvnE1jiiPo3cEiJa
8lFHT8DskhRfF2wu2fc3ShAemsRMr35iR6dyUyu+Asrmckl1thxQiO+AJi7avF+GnCtx4/aI3KQ
Y3dPRN99ci0eO1E0PsK5wTcQLUwJSUx7FXakS4tuTwSP8zQY1rHHjfnF9szLJfaee8Sjg74/moa
/VTfQqhob7xcBXVmdDZagsyMyIs+LwCt/lFv2SDFoXABwXl/cctur/r/b2bjwZBBOvxbdHLCBU7
7w8lthCZDGtBeH/eVD4DAsvmc/RqLMAnl9lr4yxqHEEmmiZ67QMlVQWFYtGPP+h+7TXskgpBl/j
RMuLeWjm45vVx85KcFTJ6t4Ydt8DWwpIPL0gd3HxmuSsaCsS29I8jkinEAvLTFD5qHwT7PrV7Ms
UWQXPRXciY8oe5wUCNgHFHglJ3P8oSKdxDPma1VR
X-Received: by 2002:a05:600c:19d3:b0:48a:55ec:c007 with SMTP id
5b1f17b1804b1-48a55ecc113mr320987225e9.15.1777217782390;
Sun, 26 Apr 2026 08:36:22 -0700 (PDT)
Received: from dario-ThinkPad-P14s-Gen-5.amarulasolutions.com
(host-82-56-22-134.retail.telecomitalia.it. [82.56.22.134])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-48a5499b0edsm388438845e9.14.2026.04.26.08.36.21
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 26 Apr 2026 08:36:21 -0700 (PDT)
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: u-boot@lists.denx.de
Cc: linux-amarula@amarulasolutions.com,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Simon Glass <sjg@chromium.org>, Heinrich Schuchardt <xypron.glpk@gmx.de>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
Javier Martinez Canillas <javierm@redhat.com>,
Patrick Delaunay <patrick.delaunay@foss.st.com>,
Tom Rini <trini@konsulko.com>,
=?utf-8?q?Vincent_Stehl=C3=A9?= <vincent.stehle@arm.com>
Subject: [PATCH v5 1/8] lib: uuid: add partition type GUID for extended
bootloader
Date: Sun, 26 Apr 2026 17:35:26 +0200
Message-ID: <20260426153617.2039651-2-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20260426153617.2039651-1-dario.binacchi@amarulasolutions.com>
References: <20260426153617.2039651-1-dario.binacchi@amarulasolutions.com>
MIME-Version: 1.0
X-Original-Sender: dario.binacchi@amarulasolutions.com
X-Original-Authentication-Results: mx.google.com; dkim=pass
header.i=@amarulasolutions.com header.s=google header.b=pPFJKZdG;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=neutral header.i=@amarulasolutions.com
Content-Type: text/plain; charset="UTF-8"
Precedence: list
Mailing-list: list linux-amarula@amarulasolutions.com;
contact linux-amarula+owners@amarulasolutions.com
List-ID: <linux-amarula.amarulasolutions.com>
X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com
X-Google-Group-Id: 476853432473
List-Post:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>,
<mailto:linux-amarula@amarulasolutions.com>
List-Help:
<https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>,
<mailto:linux-amarula+help@amarulasolutions.com>
List-Archive:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/>
List-Unsubscribe:
<mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>,
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe>
|
| Series |
Support metadata-driven A/B boot for STM32MP25
|
|
Commit Message
Dario Binacchi
April 26, 2026, 3:35 p.m. UTC
The Extended Boot Loader Partition (XBOOTLDR) is a standard defined by the Discoverable Partitions Specification (DPS) to host boot loader resources outside of the EFI System Partition ([1], [2]). Defining this GUID (bc13c2ff-59e6-4262-a352-b275fd6f7172) allows U-Boot to correctly identify and label these partitions using the "xbootldr" shorthand. [1] https://uapi-group.org/specifications/specs/discoverable_partitions_specification/#extended-boot-loader-partition:~:text=UEFI%20Specification.-,Extended%20Boot%20Loader%20Partition,-bc13c2ff%2D59e6%2D4262 [2] https://uapi-group.org/specifications/specs/boot_loader_specification/ Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Reviewed-by: Simon Glass <sjg@chromium.org> --- (no changes since v2) Changes in v2: - Add links to the XBOOTLDR specification in the commit message - Add Reviewed-by tag of Simon Glass doc/README.gpt | 2 ++ include/part_efi.h | 3 +++ lib/uuid.c | 1 + 3 files changed, 6 insertions(+)
diff --git a/doc/README.gpt b/doc/README.gpt index 386ac2e0fc8f..a6e1fd7ce8d4 100644 --- a/doc/README.gpt +++ b/doc/README.gpt @@ -286,6 +286,8 @@ Some strings can be also used at the place of known GUID : (E6D6D379-F507-44C2-A23C-238F2A3DF928) "u-boot-env" = PARTITION_U_BOOT_ENVIRONMENT (3DE21764-95BD-54BD-A5C3-4ABE786F38A8) + "xbootldr" = PARTITION_XBOOTLDR + (BC13C2FF-59E6-4262-A352-B275FD6F7172) "uuid_disk=...;name=u-boot,size=60MiB,uuid=...; name=kernel,size=60MiB,uuid=...,type=linux;" diff --git a/include/part_efi.h b/include/part_efi.h index 2cea50880465..5713b3018f42 100644 --- a/include/part_efi.h +++ b/include/part_efi.h @@ -60,6 +60,9 @@ #define PARTITION_U_BOOT_ENVIRONMENT \ EFI_GUID( 0x3de21764, 0x95bd, 0x54bd, \ 0xa5, 0xc3, 0x4a, 0xbe, 0x78, 0x6f, 0x38, 0xa8) +#define PARTITION_XBOOTLDR \ + EFI_GUID( 0xbc13c2ff, 0x59e6, 0x4262, \ + 0xa3, 0x52, 0xb2, 0x75, 0xfd, 0x6f, 0x71, 0x72) /* Special ChromiumOS things */ #define PARTITION_CROS_KERNEL \ diff --git a/lib/uuid.c b/lib/uuid.c index 3a666d0430db..d7c164ea06bf 100644 --- a/lib/uuid.c +++ b/lib/uuid.c @@ -86,6 +86,7 @@ static const struct { {"swap", NULL, PARTITION_LINUX_SWAP_GUID}, {"lvm", NULL, PARTITION_LINUX_LVM_GUID}, {"u-boot-env", NULL, PARTITION_U_BOOT_ENVIRONMENT}, + {"xbootldr", NULL, PARTITION_XBOOTLDR}, {"cros-kern", NULL, PARTITION_CROS_KERNEL}, {"cros-root", NULL, PARTITION_CROS_ROOT}, {"cros-fw", NULL, PARTITION_CROS_FIRMWARE},