| Message ID | 20260426154724.2042569-2-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRBE7HXDHQMGQESS3FKEA@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 B790F3F206
for <linux-amarula@patchwork.amarulasolutions.com>;
Sun, 26 Apr 2026 17:47:32 +0200 (CEST)
Received: by mail-wm1-f69.google.com with SMTP id
5b1f17b1804b1-488d3eec9bcsf61505345e9.3
for <linux-amarula@patchwork.amarulasolutions.com>;
Sun, 26 Apr 2026 08:47:32 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1777218452; cv=pass;
d=google.com; s=arc-20240605;
b=OVvGF6sVKx4N42C9pzzM1lKnf/pd6EYQcLPJboAqQX//++e7XofeHtuDH7YJdxL7li
7jFYnO3zc5G2Uc1ybKyrr3l+5tdQFTRUfR8gCmLNw1X1Ruqpp1lQES0iMx0Jr0A6xpH9
pxvVjMz9O1+UBDx6eFRDDIKWJcXU/afUdIu2c93reXH3fj6XaPF23kyaR+61yWK8JBav
wSXl4BNqehHIDMW9u0we7kPteIRH7FA0anXVYjBLJgG747f++HhhVFOtHIsYjZBXrwjy
Pn/URD2N+4UgbyJ0IhDDQmNKzsmVbLciobwSYa1hdzcGe70HfVhxAIq5OzjHMzfYBLTX
nmRw==
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=JUMgquo8/rOpC5L3NtLgYL3HZOdyqY+oKFIVocDPaZ4=;
b=IfU05guQ5QqGu8ZUJdPOGnf4TS7kQEBUMk2xYcIkVO/87ktrECwm8onGJEeetqu72f
H5uiWzK4s3FYWGhDQ2+wYXEER7y6p+Jloit48bMCEq/j0MjQGh8kQm+qMNbdUNzarY+f
k+Ch3S0rmk/UiieBLMtJJbFheqvchcJk5hR/7YM3nT5H/h1z4spgNuy8eHFUrqSC6mMH
qFg0/xSSami9mmp5mvAT4xEOIAeZgICP+4+ThdU7OADPeXQzoZ2g12onO7XUNb0f9iQo
DRCCKx1np9R6UBAGFtNApvRwYOOmqbM96wa52loIsYjxvWa1h18eWooS48pHD7m+LuiJ
8OJQ==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=U6lBn4XB;
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=1777218452; x=1777823252;
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=FW7Zj+ssqQQc6KZu1mmgRfixVqGOYM3eINQsDiKlmWMjI9gL98FYD0uUWjwhhY7tgI
3u+6lR18sfRj2OsrBFdL5DbbNTjQ7wRICmEuqXzzm4v6Oss1W4wgCkV/569ENo4kOyH4
WeedmRlKP6hLZLEsTVZGKozClJMn79fWOA2iE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1777218452; x=1777823252;
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=UbcBsu/iAtMWdgUO9wa3UCIaPD4UtomBjEBEMVxNCeOLMvMBVWYw1dHebQ7pKAKRnF
SvyGAlkEOTcl5xoHqqY2I7F4QI4ZZc4Bw0T8+x9Wts7wsSg4S9lmn+s+PB8BlSJkoq4k
WuWqgNCCJjCd9als6P+OwRT/G+IYYWq5JH+rY5uc17YCT4GaX6uv32gdKpjMtd8AVLX6
PX9N1RNAlF6WvHDiffSPeXhihJFqH1TwxLM+PL2Xjw3G0HYkcAWVK+ajA+CfNBYfMkqC
ZrR6MYfFbSS5G2QcM4kOplWgnqBHqQqsKMt8wmWHeC33tMfXgDFQmF1RFZ+R9g43jrrP
C06A==
X-Forwarded-Encrypted: i=2;
AFNElJ9ijNJGJzPBQoYT4kIxF0vZkG13wUiKe91bVoJsZ3cdoHoRjFfawcpswWiQGcfSYdsg4F2/Ksjgc3WOr9OO@patchwork.amarulasolutions.com
X-Gm-Message-State: AOJu0YwVPcCTYXHh7UB1TznmrEPgqvyRsfERJInJQS04a6x0zzPwPYC5
zNsxi1cjrxZFxRxMxUnKKY9LHTGnBXExRNtg/6Q+g3ZSXKQ93ZMSU3TqJN27Cf/uIHQs14WmVvh
cLw==
X-Received: by 2002:a05:600c:6297:b0:486:d76c:fa57 with SMTP id
5b1f17b1804b1-488fb77155dmr526200505e9.17.1777218452366;
Sun, 26 Apr 2026 08:47:32 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com;
h="AYAyTiIn4/4gf3muUzoHgZw87W0HP5P2ONhoyl1lrH8GvBKFZA=="
Received: by 2002:a05:600c:3393:b0:488:9664:8b9e with SMTP id
5b1f17b1804b1-488f4d76891ls64881325e9.1.-pod-prod-02-eu; Sun, 26 Apr 2026
08:47:31 -0700 (PDT)
X-Received: by 2002:a05:600c:1390:b0:483:709e:f238 with SMTP id
5b1f17b1804b1-488fb78ea6fmr576798675e9.29.1777218450811;
Sun, 26 Apr 2026 08:47:30 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1777218450; cv=none;
d=google.com; s=arc-20240605;
b=Xg91Ipstf9M5oVwVuJsYvIiVXzHInQdQ9iVWYuqejOxtADjti1vR85qFgB+3dnDKWo
ZZ9g1V09m2zbSiEyYdtFjI0iI52IK6WH7S9ql5Iqx6jopvZ6qKvow86nodYwkHnHs+iU
NuHdmRCAM4aXqS0khLjfqC900W+NS0wzXsoNbqXaxLvthj0IsXBpjtzbuxXO8G4f3F9A
SefSIpWUY8w8+KaLU3iU2SwyCN9mhKbEHW2Ml6YWnOaC73l+EL/Kok+5/cCsZod85tiu
dFiA52rLq0A9JW+QjgtL1H0tkC+xnRVIHtEpvc5WqwnZqAdaNRYZogDTuGzy92RVlCIN
hbNA==
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=TLQrW8NsM+qqg3phGx8Q8WXdjb/X8BvWE12jOVNruaX1fqrYcULksjVW9X/fuJxNYP
7V8IYThSKQmdPoB/BkYyrbKbD8PADQ39VnrvXyr0WGfTtp42z7+RveoFyqWydeMMXn97
NZq3pwySNPMETXTGEyr6nfm5XIwjtGzyiGe2nKGloYl87bw+BomVog4EAsFvQ8W7wlSJ
PTJ8rDSQEzp/4ShfnO5LcoOwIOdNIZJenOvy2juH+vpfInU3JR3BP0t56JaIKXM9KVnC
CDZASHs8QWOL+vfu1B33pwKBIKidkbwoPpRz9TLtVu26AGHo3nH03iHKu5ehfwL1BUIt
lxCg==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=U6lBn4XB;
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-488fc13ac6dsor46643165e9.12.2026.04.26.08.47.30
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Sun, 26 Apr 2026 08:47:30 -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: AeBDievT6BS7TTReeQ/I4v4MJ2sYtpPIHp2OmPCnV8JT+1l6seeUe2xJBoZ95VYv858
Uw3oYug1wTzX7rcfMzW+8upkjXPBbaW8HYaHuu2/nB9+xq3tSKArTsEiRNw+H7g7kKXyuOEsuXr
7pZVnwxBkR1juw0ZbbODbJB8LN+jkDiHlzduh9ZxmWnBpABtnS+mr7oRow1+KTTrSMK1Um7cfg4
dnAID4yM/sAx1GNzU/0RXziFTnom8Mc7LqLi0hhk1VgwOSsi4CcbH323eIQrW5gh88+8WRkw3sh
Aurrl1vkmxKccFlwUmfnqULyRcgxATULIKhTd3x64sktphjdTh7Tjkm9V1BP22kIn5338oebI0u
+kdAExzG80k3qcYREcIDmtYxq2xV4uQOQI6phIhbcg03g20WQhBcou4vyKQlkhtf8yw4oIPigBT
nVz6/xle4t7H0wJ8K14gCr+D4m4V9eq9QbCLC/dE4lb3ilWr1Jz65FaS0hKwPmoQ2ufwBuzOCc4
5s8ljc9uPxSYhN2ExIPDPQmvCID1/BG5ksRl6uJOVYKdkiR+2xqCYPZ4znx6AoyVF+L8uqHvnw4
LwYW/GDyliTxHMMAVyvD9mUjR9E+lw==
X-Received: by 2002:a05:600c:6297:b0:486:d76c:fa57 with SMTP id
5b1f17b1804b1-488fb77155dmr526199295e9.17.1777218450344;
Sun, 26 Apr 2026 08:47:30 -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
ffacd0b85a97d-44123d23e0bsm34489985f8f.15.2026.04.26.08.47.29
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 26 Apr 2026 08:47:29 -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 v7 1/8] lib: uuid: add partition type GUID for extended
bootloader
Date: Sun, 26 Apr 2026 17:46:54 +0200
Message-ID: <20260426154724.2042569-2-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20260426154724.2042569-1-dario.binacchi@amarulasolutions.com>
References: <20260426154724.2042569-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=U6lBn4XB;
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:46 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},