| Message ID | 20261104085036.4012238-30-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Delivered-To: michael@amarulasolutions.com
Received: by 2002:a05:7301:6783:b0:36a:3487:1c26 with SMTP id qo3csp69639dyb;
Wed, 4 Nov 2026 00:52:23 -0800 (PST)
X-Forwarded-Encrypted: i=2;
AKwUvBx94MnrQK0YGI1PDNjt+NeaMBCEoQrd1VA3feh+QGQ4Ww7OwwkO6z8NrUOfjJfqrBb9C5vJploG@amarulasolutions.com
X-Received: by 2002:a05:600c:19d3:b0:4a2:526b:d40f with SMTP id
5b1f17b1804b1-4ac1209eafcmr351432645e9.0.1793782343621;
Wed, 04 Nov 2026 00:52:23 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1793782343; cv=none;
d=google.com; s=arc-20260327;
b=HS3OSW4KVQQmo8nk/gqh9Luw025KCVuY1+VQMf1GSkggWk4ATZ89osGeHOZeOS/3Lo
O+AV2KOFEmpzUmR9T/JKCgu1TZ67BuzmWg6L6FEbOHS2y3KuLcBojLRQwcHFA8L3vNqs
BZsCimaXEQYcQ4aTfeAxsqQ3uv1WhoEvMy4EXXAiM6CBHCBvgwqa+f/9in4j5ybuJbVJ
Dtl5fxO4jpKGOKZvaIDv7UNfQkjgCabm33FXxMKUYJi4ZqL+hexmt7F9zkYRncEE6Af5
wmzww89oU9iuSbr9nlxClYJUhZUZQGo+foHPCfNhmCftRHglVKCYMs+u7oau4faMGIvk
5VOw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:dkim-signature;
bh=O9q1Q+HTNdJdp3ct4C6C6H1jdTejQvKcayQa52/2TT8=;
fh=UV0J5WxNNUJERuMKddmIr5JCnCUh+SLHf7FSpG/EKjE=;
b=ri2lbbiPwwrMou7Lyz6HmlCwsAPGAAq+7+FzytDDKRXrN81AZna8rNobfslZc0/NI5
WsXASavNrtvA3FBx5NPSm0Bo2lDPr50pNjDOW/85McSS9idhk9p4MOg5Xf4DbwRFUnpz
U1Jgm+MjmPc5uTkma4UnxSrJy7PDwJnbxcDhS0ZevelCfmEiYpny++35YU4RLn/fI00u
ZuLmY+W5yZC6glLqytGRIfLBFxjFs6/BhEKAHAYkD1s6BFf7ftZDsJHI+XlI0CFisOzx
9IK9bMUiKWnSztdfi4KUaNV7ZPxEy35+BJlkktz/0brrK5ChRk9thUV3Y7nLXj080lUJ
qmYg==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=WA9sgZED;
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
Return-Path: <dario.binacchi@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-4b43c83f5a7sor2372845e9.4.2026.11.04.00.52.23
for <michael@amarulasolutions.com>
(Google Transport Security);
Wed, 04 Nov 2026 00:52:23 -0800 (PST)
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;
Authentication-Results: mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=WA9sgZED;
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=1793782343; x=1794387143;
darn=amarulasolutions.com;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=O9q1Q+HTNdJdp3ct4C6C6H1jdTejQvKcayQa52/2TT8=;
b=WA9sgZED52XRsHHxG8bD3MKLCeg2af3kb3WSYlcCbHj6wxEBObnokkylxuHwBm60gm
Mw1G+5cZoUgu8ZY6fHPrHuPmstobKEngD5fq8LIb2estrH8LCShpMYFhCdsrPcDo6lVf
4LZbZtmELuQ2jZiGtVxF74Ve9kKceIKwW+6Rc=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1793782343; x=1794387143;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=O9q1Q+HTNdJdp3ct4C6C6H1jdTejQvKcayQa52/2TT8=;
b=ByjqDSjgA62ZB9ooAnui1ZlQY56XYe7CZFphcpEiwdnSadL+PEoeey+aF7E6yeQwlx
hhG6gF7wkW6M3/O5J8bqxEUGJBSHLczmdtQ+nthjOr6/AO9qYAVEYjSZZKU24P8aTGPf
UXMFQt40vCkmtXLkR313qa6iz0b26AaCNntvVdFwNbGhKw3lPBpXFt/JfkKrzW3rmk8/
eevgJoGTP7vzqkGOPKBrtx+qU7jHmXVYK+AHfYlXYCLscXWipL+2pNenHybr9y4aIEPJ
MXPyWWyAzqh2D12VEI+egtAECVN0ZYcKuF4JUg714d9ZAmjPaGHIjZ02x2k6KaSTxJ0j
rdRA==
X-Forwarded-Encrypted: i=1;
AKwUvByQAdg0TmH56Q3H1IrYkZHBw6C/1ZFaGrsZoJFQwr82MIT4aY6QIW1Z4T0g72z8hAX9hW5DlJwe@amarulasolutions.com
X-Gm-Message-State: APuU4Z9UgDUl8YH268vYrZfz3MDOM5P67eTl8c7jgB+TcwkHqQatE+gb
AnUAbtddB6gxSjAHJzkhUjMCBmxzsHGQFFzONyzmVHA/shOh+BI/u1UQ0o083Pl4nccVrw==
X-Gm-Gg: AYBFou1tIyDu1qVmlqTa2zl3LK0THLjSf7uD0W5UWmnRzUTk3aO71ZC45F9uDzEUM6S
V9SnuK8njTFnTn+zFvZevFHTZ5myK3IFhcQXZn22ZHPf+g8p00nnJ8JeLJ7EMtbvKRtCapp4QyM
mMKbraEOVDs/4YluCD1SlqqTzJABlJfUP5heGP78ufa3yEQycCKHcL0dJvWD2pIxSoozyXV5RPt
Adw1HNimXw/gpr5qaGJ6Y6VwyM9sdTJ82G1qgAgsBxU4A/dVRN1XpbVlPNY02JNMjpvob+KkHFL
LNqKQn4k3s16RNNkChLRK3pJO8M1i7IXaeqwyU0QaLz76aKtr0TlCHzJiLm41rfSDNnEiNdfcXA
w7LIcfoECCqfEgYty5frOpRmQTbxCCIXyfMgdxVVbvEQdIvc+hjqXjFSPemlH6TCXBkODb/J3AB
9+b84pCR/mFPtmjArsi9r8FUErkHjLacXkzCFQuRmlwW3D6inu8gcqpquHUsPawbatYK3yuqzxt
xA3GjLenQGpGrmG57P8gbBZuYBXqw8dWXnTsoSBh6ayyvxK6HU7xG6IhnLPzjqtGMkft7U7WrYU
tS+uXa8OaYi4LYucvPz4Az+p6FTObvMmS3sxUC6eQth93XDM7RdNMDHW2Q/YC1JeHbEPHBS/UZ5
suAl8jWIIqkxoesx3a7Js/pJ2wn8=
X-Received: by 2002:a05:600c:4ece:b0:49e:65f2:db64 with SMTP id
5b1f17b1804b1-4ac169d7e39mr348846095e9.5.1793782343044;
Wed, 04 Nov 2026 00:52:23 -0800 (PST)
Return-Path: <dario.binacchi@amarulasolutions.com>
Received: from dario-ThinkPad-P14s-Gen-5.. ([109.54.139.206])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-4b413312a4fsm20555915e9.1.2026.11.04.00.52.20
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 04 Nov 2026 00:52:22 -0800 (PST)
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: Patrice Chotard <patrice.chotard@foss.st.com>,
Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: linux-amarula@amarulasolutions.com,
michael@amarulasolutions.com,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Kory Maincent <kory.maincent@bootlin.com>,
Tom Rini <trini@konsulko.com>,
u-boot@lists.u-boot-project.org
Subject: [PATCH 29/33] boot: extension: allow longer overlay file names
Date: Wed, 4 Nov 2026 09:50:02 +0100
Message-ID: <20261104085036.4012238-30-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20261104085036.4012238-1-dario.binacchi@amarulasolutions.com>
References: <20261104085036.4012238-1-dario.binacchi@amarulasolutions.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
|
| Series |
Add Engicam MicroGEA-STM32MP257D-RMM board support
|
|
Commit Message
Dario Binacchi
Nov. 4, 2026, 8:50 a.m. UTC
The overlay file name is limited to 63 characters, which is too short
for the Linux overlays named after the base devicetree, such as:
st/stm32mp257d-engicam-microgea-rmm-overlay-am-1280800w8tzqw-t00h.dtbo
Increase the buffer size to 128 bytes. The structure is never passed to
the OS and all its users size the overlay field with sizeof() or
strlen(), so the change is safe.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
include/extension_board.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.43.0
Comments
On 11/4/26 09:50, Dario Binacchi wrote: > The overlay file name is limited to 63 characters, which is too short > for the Linux overlays named after the base devicetree, such as: > > st/stm32mp257d-engicam-microgea-rmm-overlay-am-1280800w8tzqw-t00h.dtbo Oh wow!! That's a long dt name. > Increase the buffer size to 128 bytes. The structure is never passed to > the OS and all its users size the overlay field with sizeof() or > strlen(), so the change is safe. Reviewed-by: Kory Maincent <kory.maincent@bootlin.com> Thank you! -- Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com
diff --git a/include/extension_board.h b/include/extension_board.h index 0b9fb99ad7dc..f72db21441da 100644 --- a/include/extension_board.h +++ b/include/extension_board.h @@ -62,7 +62,7 @@ struct extension { char name[32]; char owner[32]; char version[32]; - char overlay[64]; + char overlay[128]; char other[32]; };