| Message ID | 20260430080627.849636-2-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRBEE3ZTHQMGQE6R4WHCY@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com
[209.85.128.70])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 1B1C63F0D7
for <linux-amarula@patchwork.amarulasolutions.com>;
Thu, 30 Apr 2026 10:06:41 +0200 (CEST)
Received: by mail-wm1-f70.google.com with SMTP id
5b1f17b1804b1-48a589c7879sf13273405e9.1
for <linux-amarula@patchwork.amarulasolutions.com>;
Thu, 30 Apr 2026 01:06:41 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1777536401; cv=pass;
d=google.com; s=arc-20240605;
b=gXA5gJWyAwrHehnTq1qv9H6GGMsvvh16iDIU36dWC3tPXGKqmcuh5gUAGRqQ5LEqb/
nXuEc2o5Sy9gc5ZbEl5EqoNYFtoNpRLvBGNLMnw469a01iYjRe4TyMSTbKV+QNgo/lkX
YzX9gpcDQB+V8N4e9uyY4H9deTogYPfiuWWjIp5fPJYL0f1JaNDgLGa/7vB6OoJIPR1A
Mw9D1tN/2WbBRkG2fzl9LGwHCHY4xHJhJ2+gBcpVRkmnN/aiq1Mi6Am5RMue6C34sL5f
7ronwgptxEZu6IuB0haWlMSlIP6hUzgDDfI59n0opI87r6eCVqC5VuhI+8YcwmLGhKT/
SAbw==
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=trphcYU6MIN0wgRVTJ7KRIFPn/TyD4GDTpo0RstDdV8=;
b=BaMdJa8vDo9NO1FntIYBPGOH3MjSBGPSFw+QkGzcxupyubv+W5SoWZFgG1btMc1Qjk
cCJvbmf+Icc9C6VpiBzD3AnEyopKlz4kNJJMv6mFLCCLEexY35fOKJ1wkgdj1PO8YIFF
0+gvOHISTxIcjQI5MNTJ3YeK2WfYpVbnSoGtxYJCun3tXAlwsZYf+YTE9EeKEfzgJkrT
IP+fEAuLoQGiosUu0isQZSj/xY3ectsp42bPBOvfHo8s6ZlJ4feKiu1IRtcoChPp6eja
zKIWdHGh5g/7X9qKCUFx4Deptmulu1wUiw9CHtL//yEkL4pRvN+Z5D0HyEH5kWmGv+bO
g0vw==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b="ih6cWfd/";
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=1777536401; x=1778141201;
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=UgaoARRWVs4MDnYpzYbFc5ORJM2Yl5472pVa72uGmOjC9FM+GjvLH1pOtYGLxWq+Em
slhV2VMNeVWaZ7qZ/nNNO6bM8+hup6ZuExtYTKwqgeOrH3tSkknSxZMSxM4y6OVnVG1v
KPgOVJ72IBBufO6NvVV+wq5U+em9+w+/DdmlU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1777536401; x=1778141201;
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=o+gWh5ZrA2m0Zg96vnqPg+xkBDrLw2P9goiyASYby+KqU9Cj3dpFmb0RC6/TRzYKv8
uy24nD84rdIhYqIviWbBGigrdM5gfEUsBDk45jmFnWGAuuxDEhz54iCuyDr6BFjuU+qU
5GGwRzYkbXRuPJjXPANctTYDQ1nj/sy4Ra6cV6LqgaftnrKaP3cgP6UWH4NAId2ZPozP
EDfO/QX04IK7WrEju9zi1n6wW6Gr20ox6z8tQ53XpQd2MWQHWdQ4KDdpgPk+eg8hENyn
VK4RdeuFFL48JEEXhFyyxwFro/XzOTddgyA4XFP32IRRnA2tv9Qq8J5hdfcAkQXVJlaB
469w==
X-Forwarded-Encrypted: i=2;
AFNElJ9eccMOk+oIYQwEuOoeHwKZLnSmgx/mi8l8oHfuUP49B71GfqAnu8OIIXU/sRCSlplFO5TjhXjK5AV4d3pP@patchwork.amarulasolutions.com
X-Gm-Message-State: AOJu0YxWqW3d0BtCKKxw7BiPRyx9Luo7l1Sx6RoJ8jZDDZuXiX52M/uc
6Zf0SH2WqjFMzPLplklIpRzkY8rM7VnboYc8MMDqlT2Qwkjir6SGuqMBGvfGc4PuTYqD1g==
X-Received: by 2002:a05:600c:548d:b0:48a:534a:eed8 with SMTP id
5b1f17b1804b1-48a85e17294mr21179015e9.1.1777536400571;
Thu, 30 Apr 2026 01:06:40 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com;
h="AUV6zMNjXpV1FuvLg6yzb4Ds1LW2oiyFBW2sDjwR7ds1ziQ9kw=="
Received: by 2002:a05:600c:35cc:b0:48a:5c2a:4a55 with SMTP id
5b1f17b1804b1-48a7b8cd295ls11678075e9.2.-pod-prod-00-eu-canary; Thu, 30 Apr
2026 01:06:38 -0700 (PDT)
X-Received: by 2002:a05:6000:4549:b0:43d:7086:b03 with SMTP id
ffacd0b85a97d-4494dc52cebmr1546556f8f.1.1777536398384;
Thu, 30 Apr 2026 01:06:38 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1777536398; cv=none;
d=google.com; s=arc-20240605;
b=Zg3iAzt3Svep7obtuZ7BZM07lvUjxIajKo2fKOP8QJjNOMpUXMdM06xgcT11YYoY7F
JKSgOISwXLvOCdgzrq8Sir8qgx9TphYx8H+TLZTZAPwntKCAzzeO/ng32pVtf0ukrbkb
jgtcFMQF1ebfiZAsLG2qHo8Iy9m4xHUDk0R4mqgS30tcjXcpXq6ujDRwggbCcW1ImeEU
IkSYIvAzrfVpkmkZ0riMxGTw2ObwSPmSajxEMB+91qpjJ9c3C2F585cgLYzklKENhDUt
nHXqNCv+38him8+7Mgn4ZWNeh+vEGu2OgvsMq63Yh0qAGMI2+TIJ4XTPvDW/QAyH++bt
5MRQ==
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=ATg3jz17Dp+i06Uww1JiZY/p0jTgn6OPO1x1B2Wblg2xDQQASVvFgsLppn6UaTNcs2
8XM5ELpl4PXOxPE8Ghk2OArYaPgwnj/HCI6ZYRdsz2PP1Y4hksEG5xiXue4dtZhCgJiF
UCsyP4Pw2/qY5fcQvkhN8YSgOPuavR+vkihHqs0EXtPVkEQbEWymcFD+Il7U4KKvEG2v
VATnHcMSZWkJSMH9yHFMkDTB4F5enoigRTgATS/M+QeP43+731/JrzyT/MuEkj/vPdxy
rRTiMTQQy98y/4EijrcsuF3f3aLk+oFZRxtzLdnOIscMMpv2LoAJDLpbykOZhI+N50hZ
NaRw==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b="ih6cWfd/";
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-448e5dd0986sor307280f8f.4.2026.04.30.01.06.38
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Thu, 30 Apr 2026 01:06:38 -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: AeBDiev/YAqMcu3JfuCyYJxWzkdgbcGkjY7Z6k2TBjFOXji1LgL5YmocQRalob7Fxiy
j1CqROhI8dnhMbZRDxV+043CCQVpu/ZmUtXTzZQjhu3+O6bbRjgMxaH54V5E1WpocjV6J0IkMwr
170dH0zCOmTsYko0NYASzSwXXARPKsK987vjkljvlol1HJvEO7pICAopFswj8MtlXPnhQ13Ezo6
5JizMps3PO6z1wgkmT4TH/lOcjYtIuTxQwX6qa7NQogsGuuQu7UdF7Fy3S6mxzodSS30pCsE2eR
IeI41BjhWAQryna3/hA/XMFSz9z176U145l2nZyCsJ8NnsKDJ8WIfcp8Mi6Bjco15TUxxowTGEC
k5DwEW7VNBD11ogxnYYUOI+dx8oVmYbrMgMCoBC1l3TKX6yi+XhxlCwfMq0lUMnsEREB8wTreve
HrmrR6sHcZ05iAS/vx/ly43ponwtmFwsEUb1z5bckkpavVtm/s+x0V268Eq1B1VaQOLlweZBLlS
BWyq1r09yFo4i9zarZcx6IvNsgLt9+5qEASZD0iyGW9xrgG/Iz34H2bijnUG3UnVeZYByetazXt
jpkTD3QyE4R6rBXuImRMPsHwUQRdcAxges4=
X-Received: by 2002:a05:6000:18e:b0:449:8650:954d with SMTP id
ffacd0b85a97d-44986509648mr1007311f8f.12.1777536397660;
Thu, 30 Apr 2026 01:06:37 -0700 (PDT)
Received: from dario-ThinkPad-P14s-Gen-5.homenet.telecomitalia.it
(host-82-56-22-134.retail.telecomitalia.it. [82.56.22.134])
by smtp.gmail.com with ESMTPSA id
ffacd0b85a97d-449c576d0a2sm668071f8f.31.2026.04.30.01.06.35
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 30 Apr 2026 01:06:36 -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 v8 1/8] lib: uuid: add partition type GUID for extended
bootloader
Date: Thu, 30 Apr 2026 10:06:02 +0200
Message-ID: <20260430080627.849636-2-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20260430080627.849636-1-dario.binacchi@amarulasolutions.com>
References: <20260430080627.849636-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="ih6cWfd/";
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 30, 2026, 8:06 a.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},