| Message ID | 20260426154054.2040932-2-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRBDXEXDHQMGQEHTTFXLA@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com
[209.85.221.71])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 47F5F3F36A
for <linux-amarula@patchwork.amarulasolutions.com>;
Sun, 26 Apr 2026 17:41:03 +0200 (CEST)
Received: by mail-wr1-f71.google.com with SMTP id
ffacd0b85a97d-440d0c4401asf6741301f8f.0
for <linux-amarula@patchwork.amarulasolutions.com>;
Sun, 26 Apr 2026 08:41:03 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1777218063; cv=pass;
d=google.com; s=arc-20240605;
b=JfkGxWuy5zjYzsaF4UXcUQWEhfDH2+YpUZi/8kQWBLQd/9VDAZZz4/enpKnmLLW4WV
HcYCcj0bCwRG6Ok081YLEaGiNs3QGR7hrAWRbK0AidpYCD+rzqWHpNyEfvLuEQKIt46a
maHjBC3dr0940TBMXJLzff5/0hbmG5RZUXTrhr4HFmZCAhJPTLaggLJmv16sFyFKrp/w
JdIP4RLCCAIxFzrhkAXR+zDVDoffMC/TW4k/hjdoT/NU7PmxIHXgfFI7Lcj0pBVaQAOY
QAf9WinNxvy6i7L+9Wxzk680Fe5W78CEBaje430cyy+6MkrZlz0ZYy13al17sCW+NXab
X4Kg==
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=wsZesIWEc0cuppa23fiSTOUDbiVaj5PHEp/6isZL3R0=;
b=jrRncuWkNMkDquaiOrieU7x5YM+JXSd1TQXl9HKAlAtjbSNgKtPhvtTtxACYFRgQJI
byOawrH4l7xS4tvy1Xg4f57RKYsK++eWZWbNz6TxYN88JJpYbpmWDffgIfTF/8N4IlJ8
DQoRb0g4SzfliY8wk8XwQBWUhFat1peIVAdFSSXnR50zw70eQJx1CTNC6J5WydDLTWIz
Y14HCCJJj/k3ffua7KCYAnRnuBIFCeEY/mIEeo0lxV//cWnZ9kZxfQtnJFnjMQ0Xm7VF
McjssdISlm4hF1ZdAxN5FV7Xzf0D1qy4qSXLK8wZhgoVbhCU2W9+qDLcfTldP7iTLIx6
hTzA==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=G8mCBKlX;
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=1777218063; x=1777822863;
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=IoMMNT1TV6Q2DBkDgUffttgTFL5zC0zWjp3OnxU2rQybqjRdU/wzFRPY2Jw4f2eDJd
lL+DR3Ky4+IUFGWcaT+1Jvi3DD8o8xfIpKPV+dhyA5q0N6MKXbinjGo8eoImL4jixXGa
ejPLrx0VU5gq4PnmNZsTK+teyfweAf4kQNqD4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1777218063; x=1777822863;
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=K73XkrQUdlpb8MbjtAukoVoerSFezIB388MmMVZ0jEQ7e1yC9BzC0Wn6DEHpAmuvdx
0NngkhTM272jfLvnG8G68MFXVAHrNttPOUwJNJvsjVmhUyzz+AGMwISvUEsVtjEdtEJ2
0lRW4F5NU0vIuAMtNgTOMGR/zKKU9U/5Jd14ee5P4bFsZbX+gw5xT+lXONpy5kZXmfwu
8yGGrXcy3D2MSAKqiQU5nVqpvXdhZTVSJsppNwHUNi8FHpcNbrINn/yFMAGZSb1nJ7p4
CeKPTXD8fdE5lC27RwLQ6doGDZ8Ruer2ckROCZjIkEy9mhDMjXQYBGKhGyx0bcPiDHO3
fVRA==
X-Forwarded-Encrypted: i=2;
AFNElJ/hFa9x497xXc7ebQ9LN6TfCJmudezupXgM6IebVaHoDtN2S2HQzXdtgRQ1VZHMIKd65w7gH+9qEwMPPJzX@patchwork.amarulasolutions.com
X-Gm-Message-State: AOJu0YxInUSONWHeX8CcYOZw6mddL4120jAesmZgyjhwCPrkIDxnSLi9
6zFThGc7Oq4hILJbHZYeAaTKNkznnQDbIvCZfP2OENFzoIU/bB1Ql+XLHhPdoV/0ZUIeHg==
X-Received: by 2002:a05:600c:a086:b0:48a:568f:ae82 with SMTP id
5b1f17b1804b1-48a568fb009mr334236845e9.10.1777218062858;
Sun, 26 Apr 2026 08:41:02 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com;
h="AYAyTiLTfV33J9EYBKKOOqVm8lw6MPZRMgWg4Xpuefzlpv5EDQ=="
Received: by 2002:a05:600c:3393:b0:488:9664:8b9e with SMTP id
5b1f17b1804b1-488f4d76891ls64868175e9.1.-pod-prod-02-eu; Sun, 26 Apr 2026
08:41:01 -0700 (PDT)
X-Received: by 2002:a05:600c:190f:b0:48a:6315:da26 with SMTP id
5b1f17b1804b1-48a6315da72mr164192425e9.26.1777218061125;
Sun, 26 Apr 2026 08:41:01 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1777218061; cv=none;
d=google.com; s=arc-20240605;
b=EI0uzSgyQn6o8GvtX0gwxH26in4d7Fqx1byIgFSdD3i2QEcbz6VEaH/RyE0mMNRrsf
QK7VSQoftTHhS0lL1mS8fs9LfymbykqcvyjO8eqSDiArOaIJS8NgTV6Rkw30Ip4Clbkt
tGsdE+KGulIJQ7qZ7uRbochWmgy5WGPhnjLcAMX2qFv9gyqeLVvRgEdk2U2aWtCmwe1B
hUKJBg2HG5PFQ2l9Z8sMu/c92iXzZTlHCsWnPtOYIWKEyRN0ZavKpNOzj2gh7ijqf2MX
Km4G/+qPmV7Yppag2PXaxpHuhaZgnf9cmwx3PXnfJAeJj+fKbgChgtWOfdDip8HsBls6
jSXQ==
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=Nlw3kVHWsGKlu7Z7z2w9LLK5WbAL62sPG7T0OH1WTgau1fD7n1EG3MZGphcBZ+NXxI
vIROQmJfUBVWnkm19n1eB0qbdOCBD9xEpVUbltiEk1RsQzP/wvKiLZ4PP61LoFDC7Hgy
oc8g82o5YtWa0CvkoVJZLfc8h3aXoU+h+n6gJWHyvoBavmv1sSs5SDMqDQzM7a5fYWsq
l76UEYeCC0BK40AkWajYh6MhyLOWqKPbnKrNGuUzhwZUh+BkvyIShmS+Z0IbqPvFBxqb
8JrvY+LYcH0mxB/nki1PLw5640H1RNnfetXBAQ1Ij+KkhgJsynebrRcrTpkNUrzDaWjO
Lt1A==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=G8mCBKlX;
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-488fc142c48sor42067175e9.17.2026.04.26.08.41.01
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Sun, 26 Apr 2026 08:41:01 -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: AeBDieulQ+WToRN9CuTMW4ydypFj9mKufaJsPB8KoVCaeMciipEhmhn4bPYpjcoyivf
5HgMfqKDouEBMav5M5oYhcK+iHgiya1McLELfPFFzAXjbHwytei5xH0njMOSV8BirCiED3euaVt
WTvrrPFwiJ5jlEoMz0zShTHGjFrHHInbg9G8GdRC5ceQBvwApngH0e1WYeU1T9ouXM3OAiF5/dw
2bDHNevRYyGpAcMUulR39VkOZis81l84lQmMJq5XZ+t9vevJHE13U/Jv2F7OdVUcWSrQ4CIgw0n
bU9eC6e93GDndKXBGXWxbMkK/+J9KJX4lvRE/a69kyDPd/7AELiAc7PvjmjEjQ6ZbSi4854o8gl
f1DZjjXLX5J61CSAPj9gApxHDnbJ44uGdCnVPj0RbGHXQ0uw4afBQUI38YZF0lZY1DJ7+7Qj9my
WUJssxgI7Qc/W/tB32KIcksODUYJpyVo1kgjFZYiaSxM+1WERBAUJVSVch+QVvmrBXHHGDreMhS
wafbRyEePoTXMFijTKFL0BKAfVKqN+RdaP+85tUNyZG9CAhi9MKXpSmZQHvcQMZBAa1Dr8NnaXP
cPcJfpt0JfUROsx7T70riorLBa666Q==
X-Received: by 2002:a05:600c:8b28:b0:48a:5c23:cab with SMTP id
5b1f17b1804b1-48a5c230e78mr277841135e9.19.1777218060633;
Sun, 26 Apr 2026 08:41:00 -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-4891bb3d121sm802593765e9.14.2026.04.26.08.40.59
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 26 Apr 2026 08:41:00 -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 v6 1/8] lib: uuid: add partition type GUID for extended
bootloader
Date: Sun, 26 Apr 2026 17:40:33 +0200
Message-ID: <20260426154054.2040932-2-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20260426154054.2040932-1-dario.binacchi@amarulasolutions.com>
References: <20260426154054.2040932-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=G8mCBKlX;
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:40 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},