| Message ID | 20260328171624.2377527-2-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRBC42UDHAMGQE4VYCPRY@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com
[209.85.221.72])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E3C543F0C6
for <linux-amarula@patchwork.amarulasolutions.com>;
Sat, 28 Mar 2026 18:17:00 +0100 (CET)
Received: by mail-wr1-f72.google.com with SMTP id
ffacd0b85a97d-43b9a86b9b0sf2562051f8f.0
for <linux-amarula@patchwork.amarulasolutions.com>;
Sat, 28 Mar 2026 10:17:00 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1774718220; cv=pass;
d=google.com; s=arc-20240605;
b=L7anWGgXGpcd2Hot3IsA0qHzfkhGXazJ1koJxTrKfm2ha3fXm0n2rLuwDteGqcgYC7
HM1odbYo1NLCf7mz6d9I1owC1cUUOrd5QpEFF59RjqULAeJdgN7qZV7FzrVfnG63fxSP
mVZ8gg22A1KZ66X+FsjloK3oQC5TkZ/9nSyJQU/aBZUffMpvkvrD2F93w/B5lNoeui+g
J8TJf37pOim+X0dnQ+epbagcvZoiVA/RZ8vHNfTqXIXrC0rxntROdhuqtKXT08F/kMPE
sdiQEDixUEqa810x726TXnMmfxAKO0rRK+sOgJ5/+GlP+GkPDLex/3u1MV53VGKzCxLA
P9uA==
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=22sbNx8xgI5i04EbyqnFY301gFnNxyUxLSrwvlsD6co=;
fh=EBdo9mbSbsX0ACibhWtwNnDVf7vF7LdjFb+1LCTUlBo=;
b=DHJm+wFN19y4bwctakdiSeLnrPMkBWpCT3YY6R4NHfoNjwpQubYM2PLCd6TydvquCP
LzbvsJ42vDb5LgL/WmZvxGQZEjsV3YrRFhT+olSTGP9QmaGpW77QJpMfNkZfq1QJlv9c
DLcgisx8XMoOqr3+CZnSU5dnVql5/Q8/KnfMj0WHwMAIIZj4kWi+tBpvh2AOJpDo+/6+
IAA3kYaJxocIMpIgjssghxaU79hydZj7lRyDRLrHL3eYEEuXm1QjTtIDdYEXcUoG3p8t
gvfjVu71sazclZU3/MPnrRqwy4KWAmPqWeRmOYm5JzJhMDKtDiCZBQVN0D5ogKSZDgck
Tm+g==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b="ZaB/0shF";
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=1774718220; x=1775323020;
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=22sbNx8xgI5i04EbyqnFY301gFnNxyUxLSrwvlsD6co=;
b=UP2HYobMRZ91fO0Mi+FVt8LxcFJ41acBNapZ1sMTEALmlepIpjneEc5b1WwkS7VMJj
8bJRfc/1jCwr04pbuuG/NOO52nIk8iPzr6cQEO6/hSVdrYbi72n7wfIdI/i1HktLYL48
f8ptR/gmY1E+ddrUhXSSAeOUb8oq4GHiJjTso=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1774718220; x=1775323020;
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=22sbNx8xgI5i04EbyqnFY301gFnNxyUxLSrwvlsD6co=;
b=aTsVeTRwPJ/SyUH5XsBKtWLbYLT67PjmaLq4rV5HagU7TJWYr0o4xdsXHZeZz63Mzl
lxeQX2CU3CX3COS/YeSObNmqhW8KtFFC5LUwvsNK8rYD1o9oufUkBVKY4HABQbv3aatL
VK0SxPNvtKQPGhbd7TxfY+qBM3DcQJBgb4a6qz5R6FGeT/rgh1+t1V/zmC5TgDs9UWlz
Ru8BWC0GaQZ7JNu+5sV5S6q1LIx2PPkZxqI+yCHL2UIQlHbnwwGSSNBAEmqH58S+G1Q7
VFrgh4wk36G2Ff+kcGA2B/ubSIqIZVSxaFZOOTPPo/+diqlTBrWY6kR1zMSlYg8pyd9W
D3cg==
X-Forwarded-Encrypted: i=2;
AJvYcCWt4scmkFViRBpRTciB1eLfPVlD20dloSCgDd4+1oAIBRnhHiwe5V4Q9NCqRLXciFntW5ZDzETiOmHCcZNA@patchwork.amarulasolutions.com
X-Gm-Message-State: AOJu0Yyf+BguYaeSrfPIpqLgmSSWOCWCNEq+qX6lGNo25RvmOkg59XQ+
VhhfavJPf8NllWa+LIAXwaqEzog0tYjxIph5+EsZN4ulXZOLMSIYL5RFg+qjTNsPOzVCXg==
X-Received: by 2002:a05:6000:2307:b0:439:b60a:b400 with SMTP id
ffacd0b85a97d-43b9ea4a4f4mr11650850f8f.31.1774718220037;
Sat, 28 Mar 2026 10:17:00 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com;
h="AYAyTiLL/4mb4T0PsGOEXTpZ2sK3+hXdDrVqAW8AFVYISeyaog=="
Received: by 2002:a5d:5d85:0:b0:43b:a157:7164 with SMTP id
ffacd0b85a97d-43ce1518c35ls861158f8f.1.-pod-prod-05-eu;
Sat, 28 Mar 2026 10:16:58 -0700 (PDT)
X-Received: by 2002:a05:6000:2003:b0:43b:41b5:e023 with SMTP id
ffacd0b85a97d-43b9e9d9443mr11601025f8f.1.1774718218199;
Sat, 28 Mar 2026 10:16:58 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1774718218; cv=none;
d=google.com; s=arc-20240605;
b=ZHlM9de21cPf3OoLSKMPe4ETuXsaxgDgnWjubHNadw3qewLqFBZs8JsWdsW2rHcGjz
gxduvHbFtynlAwwFZgbQyX/PICjLm2y8OYwgGWC24gJ9LTCv0x5JceQijsS65EHoanvn
m8iN6JLFZkVgxmTQ0ePBu8Ua1qAIUwYNvaybfMyvFADz8PMa5sHZ4oMf4cOSoKeLTyzd
PVO1XFIh/7n3S76YAhDeaPRYkEIfboB38DYsyA3mNHqmarzcsBnVcYinKZ67e/hLimiS
7mSwrmnbzFl+uL+4dFDk08i8Nh05+cQfTLoSaR4vCpMYiRskgUA0+USBcaWAeT2bOSjc
cOLw==
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=6gI9NPjgvG3jfqA9wtO4fse8fxDtOhFx28Vby6zIrCo=;
fh=S0Hcka+87iraHP61eFz0AlO4FpDkaWlN9JD06IjxPyQ=;
b=Bxkxmgs2C/gRdstOmL3RoReLy9EO4r1OJTaXqPdM77OMO15d8l8OPk35vE9V8t3zPO
3RUeLtmTIUXI4IjRfdiXU24svHEpN1F3XKT3yk5tt+VdakaAEngisyauLt7ghdKe/F0M
DDST46S3dWMR5e9fk5C4Pdm0m33hd024id+Ja3iLEqvzhfm7t8H5kMiE0KekpoSm7DkY
yIftDKuYZL+4dsfcaCQINgJ5VyUXwIiKZ8NgMdyH98Z1Jz5AVkH0wV57BkzyKXppWoSk
Istv+LnifosUR0axvzRluHOZOHmBKAXOne2VxlTK/73aO1sUpQI47g6l3q3KSpTBHmAb
iykQ==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b="ZaB/0shF";
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
ffacd0b85a97d-43cf25ccb8bsor377639f8f.20.2026.03.28.10.16.58
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Sat, 28 Mar 2026 10:16:58 -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: ATEYQzxJE8XBiS0u4ObhKCd83zmypsciZvs2FC95Dd5TtaXNJtwsvreSUwcKE9H0bsj
4Vowll/479ImIDLrhHsznxadoAOZ5UlniQPxGBq7LXyHNFcmpbBn3oZCTnw2XYFlTXD5by0k/mZ
gelQDsAHOVW+kJwFh+Ix7/0vFh6O74rLMw8mw3UxJFiYFAXFSbw0GaI0/QzaEK1tCXo55Xg7wte
gAJhaXVKJCX9ld+ip0qWwpTltOcHnShlC/jSrTl+L9/tl8gaX8/0S0haP73fH7uc4kI/q/rLIaX
s+K5vijyaTz1nblhhSQ1Qpt4iAPRI30y5+1x5By+dQTYe9d7eSKWWfQ1i1vcbXSENRlVEviv6j5
Sn+kyWki5rczLF9vbcXdGzHGtDxWQDFXf6TwmIJzZAlC+WCzeZF+DmySirViJgq5dJsqruLaZba
w2139v2A/xJEHbaD5wxWnp9eAgw0LOPmsPRD092OqGOs1fxMREE8/azQkT3IMfsmzSaL56y1rZJ
aErfH8UMRsTxAzGmc6W9rNDy6NxRPTKKN/weu6AoTNhe4mrTASKmDV2ol0DcUgReIYv0cRZ9akA
4CtAXn2xKpbK+sos9kFTjYGY
X-Received: by 2002:a05:600c:1e2a:b0:485:1878:7b8c with SMTP id
5b1f17b1804b1-48727ee9f5bmr122096135e9.18.1774718217723;
Sat, 28 Mar 2026 10:16:57 -0700 (PDT)
Received: from dario-ThinkPad-P14s-Gen-5.homenet.telecomitalia.it
(host-87-9-100-184.retail.telecomitalia.it. [87.9.100.184])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-48722c6b105sm332432465e9.1.2026.03.28.10.16.53
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 28 Mar 2026 10:16:57 -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>,
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>,
Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>, =?utf-8?q?Vi?=
=?utf-8?q?ncent_Stehl=C3=A9?= <vincent.stehle@arm.com>
Subject: [PATCH 1/4] lib: uuid: add partition type GUID for extended
bootloader
Date: Sat, 28 Mar 2026 18:15:14 +0100
Message-ID: <20260328171624.2377527-2-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20260328171624.2377527-1-dario.binacchi@amarulasolutions.com>
References: <20260328171624.2377527-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="ZaB/0shF";
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
March 28, 2026, 5:15 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.
Defining this GUID (bc13c2ff-59e6-4262-a352-b275fd6f7172) allows U-Boot
to correctly identify and label these partitions using the "xbootldr"
shorthand.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
doc/README.gpt | 2 ++
include/part_efi.h | 3 +++
lib/uuid.c | 1 +
3 files changed, 6 insertions(+)
Comments
Am 28. März 2026 18:15:14 MEZ schrieb Dario Binacchi <dario.binacchi@amarulasolutions.com>: >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. > >Defining this GUID (bc13c2ff-59e6-4262-a352-b275fd6f7172) allows U-Boot >to correctly identify and label these partitions using the "xbootldr" >shorthand. Please, provide a link to the specification that defines what XBOOTLDR is and that this GUID should be used in the commit message. Best regards Heinrich > >Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> >--- > > 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 fb402df6f13e..afb21569c932 100644 >--- a/include/part_efi.h >+++ b/include/part_efi.h >@@ -59,6 +59,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 0a166320e077..cf5f8be48a32 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}, To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
On Sat, 28 Mar 2026 at 13:16, Dario Binacchi <dario.binacchi@amarulasolutions.com> wrote: > > 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. > > Defining this GUID (bc13c2ff-59e6-4262-a352-b275fd6f7172) allows U-Boot > to correctly identify and label these partitions using the "xbootldr" > shorthand. > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > --- > > doc/README.gpt | 2 ++ > include/part_efi.h | 3 +++ > lib/uuid.c | 1 + > 3 files changed, 6 insertions(+) Reviewed-by: Simon Glass <sjg@chromium.org> (with Heinrich's change) To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
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 fb402df6f13e..afb21569c932 100644 --- a/include/part_efi.h +++ b/include/part_efi.h @@ -59,6 +59,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 0a166320e077..cf5f8be48a32 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},