| Message ID | 20261022151358.2260712-1-dario.binacchi@amarulasolutions.com |
|---|---|
| Headers |
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRBPWQ5DLAMGQEPRUZWRY@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com
[209.85.221.70])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id F3F073F0E6
for <linux-amarula@patchwork.amarulasolutions.com>;
Thu, 22 Oct 2026 17:14:07 +0200 (CEST)
Received: by mail-wr1-f70.google.com with SMTP id
ffacd0b85a97d-48df02b91f9sf624888f8f.1
for <linux-amarula@patchwork.amarulasolutions.com>;
Thu, 22 Oct 2026 08:14:07 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1792682047; cv=pass;
d=google.com; s=arc-20260327;
b=rKZbDC5OQ68ybVLQiGP4xJSpABCv1ZId8x4oNj623G/uxBC11uKIAgy76JqwQOZsSj
MJFK5vsc8kYlauMsz6oeTJqciYFhlbDyMx0LetwwMxfj2GmmkVsX89qsdgycBKnXJYx3
OWRB36MCkxQ8glGALseYQpZedCXAnBR+EzyvvG1fQ83y5Vacxv+A7xlTcUYsGge+aHtj
JX7mCxuFVporzs4AUoIctWWi3BSQ4X2dlJsV+ZdZQ9JtFltukWRlTrLtuh3fmAZctRu4
CiQ7amvIS6coz2Ir4hPXvQ3F/QBm+uvQ7NSKaH9afFfzfskmHt0i+hZSXd9OKMmAszyk
X+Ow==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:mime-version:message-id:date:subject:cc:to
:from:dkim-signature;
bh=lTVm8R8IWuKs4z7+rNdl/vA6pKSELUDHK1bA6SdiWx0=;
fh=sNmxyZBg2cm9oOkb5oStIFkjhVlXksa2odFEnUfsDOk=;
b=NdDE2WBb2t4A1iM1/uvr4dyIImp0CGr/yPiYWvTYqorIWKaAKW9O55J1XpBRrxiaxa
nqlcmGG+y1yDGN3nQ1TzUswWMLwwtYexRcmlbwHTDGu6HJfNEm18okleGcgQU1j3dODS
8lJgQrwS10fYQ+y2cJM5oigdo0rT/hqI8V+YgAcsXHO2QRUJ6jNPW2gK66P6k5r3DaPk
qSzQp9A68SoJP9ZrN51E9RWwzFJX1TIJg/6Wupw1l5guenWRFfYuevdxlIIQZLp1UOUW
osZAL0/lW+CQrY+kjYj5A9PSNefs6QVOpqlQt/X4Adh1j0f+eTyZKSjs2Nlwzo537npE
pUhQ==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=rSihQxqq;
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=1792682047; x=1793286847;
darn=patchwork.amarulasolutions.com;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:content-type
:x-original-authentication-results:x-original-sender:mime-version
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=lTVm8R8IWuKs4z7+rNdl/vA6pKSELUDHK1bA6SdiWx0=;
b=hK5+CeEQWrNOOGKuqO7PgTl7rAHNTHrFa9tE7I3kHEhZ0B90c6y5apQtIAHtBhCnbu
fz1FA6WZbMM6DaNi21DlrYzehbuLr/9JrSkbOPCDYULS+qIfzGoF3SfYIyF94hqaUMnY
wHGgyioWkfchRHPX0LJ4g8CF93R27ab/qijJk=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792682047; x=1793286847;
h=list-unsubscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence
:content-type:x-original-authentication-results:x-original-sender
:mime-version: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
:content-type;
bh=lTVm8R8IWuKs4z7+rNdl/vA6pKSELUDHK1bA6SdiWx0=;
b=Vlc2A+qwfjQtPRQV5g/d0DDFlBnoRBBvDMz2p7m5mnR6ml/1MGVTLmRp1ZYfKfge/x
zlJdm89indKnjcLvvuVYSjDaXic5uSUWjiMOvX07BmFuYxKo7tqU0FrONgHJzayss4af
e9qcN6uwjH2yWEW4xi5WC3jKuxOLpZqv0MpIO1FNz3sVdi+yavKnYQhjIZ8PvMm5iczB
pczqgbBpThJll8KX9UQqmjXadlGftapk5Qr5p82kBL1eehMcD9XXYmg+61AgoJwxOOyJ
x1yg7ZJDEnmpOfrHSi+tWiFpoMGrtv6skS6wf9CYghKKwrpwe/5ZuYrlZcly7nVQrJ6V
OjAA==
X-Forwarded-Encrypted: i=2;
AKwUvBxdDzO8botVTQXD0WpkFoYhOrBHpj0vA105+K6N6Me4uGnyJ29kXbZnaIPbhU51xu8KuJz4YTOp2tAn3k3F@patchwork.amarulasolutions.com
X-Gm-Message-State: AFq9FYKrGBLFeOB+RfMishR102w3PECVfEYoxxsLR3jjqXCCBz69KqTa
nVgTlikWddt3Etq/zU9H9qbM47gyJn1nkOgsP4M56JLM2clIe2tshF8ykKsttvkOTQNCvA==
X-Received: by 2002:a5d:50d0:0:b0:48e:6f:19b2 with SMTP id
ffacd0b85a97d-48e2d2749b4mr4276833f8f.25.1792682047269;
Thu, 22 Oct 2026 08:14:07 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com;
h="ATskLdcopARyGeAEZDth8LIDJqcMtdskpLwgHBM66D7MTUxrRw=="
Received: by 2002:a05:6000:220a:b0:487:954:935e with SMTP id
ffacd0b85a97d-48e2ca25999ls525161f8f.1.-pod-prod-00-eu; Thu, 22 Oct 2026
08:14:05 -0700 (PDT)
X-Forwarded-Encrypted: i=2;
AKwUvBwoIDu4aO/53bf0KMRjs52hCh4SdzMrjSguXlqwDlVqKi7of9EGOB+H5Ih0jTGwsti4XLSZ8x5klTzefVZS@amarulasolutions.com
X-Received: by 2002:a5d:5312:0:b0:48e:1ceb:e8a4 with SMTP id
ffacd0b85a97d-48e2d11d800mr4923765f8f.17.1792682045343;
Thu, 22 Oct 2026 08:14:05 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1792682045; cv=none;
d=google.com; s=arc-20260327;
b=sFKxda3N8fZgZpkh3TaL3c3ZGOsJ/ny7DjKoxpWWCBfi1rQxNkgP48JDD/lix1oRVh
f23pCo9gHUVKHZ5KsdDKu+y8S6b8+tE9lnTOxD392VEOYRkuRSnPShn8H4yueN0o4hNX
APrh9h4T87+/oFuQy1pfiiQ/ta1V+/CKVDdpLatMAuZlaVNsgvzjI0QjUxQfJbcCmaak
l/h/+CdDj4i7kpEqNVLEeKKudpYUc6rIbuI1x/vcW+Wnc//vd4eeqjGPkLQaFqBQCVKI
JJX1wjkWts9JC9kClpJsgl5DkP6dpEewRIQZO0J0C2Cksdtj4EOnmMvbMCVLaoS45FC3
cM3w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:dkim-signature;
bh=qid1SvMKhj/vkm+DRxwWah7jnWUiQhhn0oURLL5zWgE=;
fh=N9hrR4/syq/ujgskPMI/V6aWUTrl199jHI7MVfkaqNI=;
b=g+tx7XHXYmaIans/8gxLl/bKiJ/HIJZS261mzAiLIBTxV8NPUuIiLwHid+Jmyi4UST
R96D52w7slKQ47B5hZ3ZwC0ZAcvBhiLOo+jOx6YXuN8GhTLtRaiiscws9Z5cxcUkZyIT
HA5wKbkxJwredBdAWLrP9lFN5sA56N/msznT5cVVrzNM/sUGLckL6kn2JNIsJauu2hEb
bgoKLqSrEzpAfFlpGCWfsbMfwxn9aRsWFxzr2iSpiVl0JVlJ0CJ5urAe5p/VrRNS6hL4
/3C4158e/hHnzX3XCQ1S3WvUNZmStP6BgFEAnFdbxSadQx1MlZQZ++v6O6NDPqlQr8on
4bwA==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=rSihQxqq;
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-48e2c5e516esor675036f8f.1.2026.10.22.08.14.05
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Thu, 22 Oct 2026 08:14:05 -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-Forwarded-Encrypted: i=1;
AKwUvByrpc4nutAhxCHRptfYZ/ASypB+STG8j9pwg6lxHAN0DmPLTq/iGN/4S6+mAiys+C0Kh2yeZFZN2iVAcnjm@amarulasolutions.com
X-Gm-Gg: AYBFou1xgx0llfx5KNNNE/9m62sMu8jlIuVP84q9IQxFk6vGhENEdCJZsDa+mLjY0O6
I391dBsJMuBUB/auHlu7zQm9sYjC0sB58LBcPidGis3fZzInSIADiGqOOeCHr9y1gk9yw3YHfIn
Pxyi62UaxWyRonxGAC+J7wy4fuFsedBmlCLPrIYRL43E9P7/G2ErAozX209b5Ml2jr8B7URL5ep
jg3t6j2gdzodCxgVh6iPNmcmtcTShJi0YVAhvh2D4kO1FNJcPLjLW0TH0rIYECBXFo04OA4DCty
NX0lhbDxvsJaiM+2V5ej5MbbcuGBqwG8cVVJ+kHM3vSB87uACMMpTff2eDG/eQZ9H5OdAFrGX3V
yz+wumCW6FjFGi9olc8z1TXmHdbLs45Y0x4v20DvHEwcQds336ISsEvKi2wdhTzX0n7mOy8HCLi
q1uC6+agA0D89JP/Q/3wSQOAJuBdPe6kdN06L0JlT1eMCXBag7SZerULW53apyuy/Cd0FmHK80x
4v5/TJ3kADt81kUGcpqajH4/dLJG5HubbfIwfSvjEcKir8oHSYz288OKCiw/6sUxwhSLeRgllCs
8V7q4ttSLmxigN76vCigpfnz+/m5nr/v4FflgtbBnYE4p0fYB+HS2316/Vowe4XDhnVyyrkKCpF
EGaJA9it7DmiqQbd/Gkbn8kgOrfn1sS4Ot5jO7b30PdAy3kkX1Ko0
X-Received: by 2002:a05:6000:1789:b0:48d:deb0:f1a7 with SMTP id
ffacd0b85a97d-48e2d142777mr6836331f8f.10.1792682044791;
Thu, 22 Oct 2026 08:14:04 -0700 (PDT)
Received: from dario-ThinkPad-P14s-Gen-5.homenet.telecomitalia.it
(host-79-14-29-58.business.telecomitalia.it. [79.14.29.58])
by smtp.gmail.com with ESMTPSA id
ffacd0b85a97d-48e25827087sm12732367f8f.21.2026.10.22.08.14.03
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 22 Oct 2026 08:14:04 -0700 (PDT)
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: buildroot@buildroot.org
Cc: Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Dick Olsson <hi@senzilla.io>,
Sergey Matyukevich <geomatsi@gmail.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
linux-amarula@amarulasolutions.com
Subject: [PATCH 0/6] Add support for the STM32MP257F-EV1 board
Date: Thu, 22 Oct 2026 17:13:52 +0200
Message-ID: <20261022151358.2260712-1-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
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=rSihQxqq;
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 |
Add support for the STM32MP257F-EV1 board
|
|
Message
Dario Binacchi
Oct. 22, 2026, 3:13 p.m. UTC
This series adds a defconfig for the STMicroelectronics STM32MP257F Evaluation board (EV1), built from upstream TF-A, U-Boot and Linux, with TF-A configured for the FWU (Firmware Update) multi bank support, as in the official STMicroelectronics Yocto layers. Unfortunately, it was not possible to use upstream OP-TEE OS as well, because it does not support yet, on STM32MP25, the STPMIC2 PMIC and the SCMI voltage domains, which the mainline Linux device tree requires for the microSD card supplies [1]. Until this is resolved, the STMicroelectronics downstream version has to be used. Patches 1-5 add what the defconfig needs: - the mkfwumdata host tool, to generate the FWU metadata, and the fwumdata target tool, to inspect and modify it from Linux (1-2); - the STM32MP2 DDR PHY firmware, required by upstream TF-A, and a fix for the TF-A build of host tools (3-5). [1] https://github.com/OP-TEE/optee_os/issues/8027 Dario Binacchi (6): package/uboot-tools: add host mkfwumdata support package/uboot-tools: add fwumdata target tool boot/arm-trusted-firmware: pass HOSTLD boot/stm32-ddr-phy-binary: new package boot/arm-trusted-firmware: add stm32-ddr-phy-binary support configs/stm32mp257f_ev1_defconfig: new defconfig DEVELOPERS | 3 + .../stm32mp257f-ev1/genimage.cfg | 52 ++++++++++++++ .../overlay/boot/extlinux/extlinux.conf | 4 ++ .../overlay/etc/fwumdata.config | 4 ++ .../arm-trusted-firmware.hash | 2 + ...-arm-smc-id-of-the-SMC-watchdog-on-s.patch | 53 ++++++++++++++ .../stm32mp257f-ev1/patches/linux/linux.hash | 2 + ...2mp25-rename-the-PCIe-bus-SCMI-clock.patch | 44 ++++++++++++ .../patches/optee-os/optee-os.hash | 2 + .../stm32mp257f-ev1/patches/uboot/uboot.hash | 2 + .../stm32mp257f-ev1/post-image.sh | 18 +++++ .../stm32mp257f-ev1/readme.txt | 72 +++++++++++++++++++ boot/Config.in | 1 + .../arm-trusted-firmware.mk | 8 ++- boot/stm32-ddr-phy-binary/Config.in | 9 +++ .../stm32-ddr-phy-binary.hash | 3 + .../stm32-ddr-phy-binary.mk | 13 ++++ configs/stm32mp257f_ev1_defconfig | 66 +++++++++++++++++ package/uboot-tools/Config.in | 14 ++++ package/uboot-tools/Config.in.host | 10 +++ package/uboot-tools/uboot-tools.mk | 20 ++++++ 21 files changed, 401 insertions(+), 1 deletion(-) create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/genimage.cfg create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/overlay/boot/extlinux/extlinux.conf create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/overlay/etc/fwumdata.config create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/patches/arm-trusted-firmware/arm-trusted-firmware.hash create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/patches/linux/0001-arm64-dts-st-fix-arm-smc-id-of-the-SMC-watchdog-on-s.patch create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/patches/linux/linux.hash create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/patches/optee-os/0001-dts-stm32mp25-rename-the-PCIe-bus-SCMI-clock.patch create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/patches/optee-os/optee-os.hash create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/patches/uboot/uboot.hash create mode 100755 board/stmicroelectronics/stm32mp257f-ev1/post-image.sh create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/readme.txt create mode 100644 boot/stm32-ddr-phy-binary/Config.in create mode 100644 boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.hash create mode 100644 boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.mk create mode 100644 configs/stm32mp257f_ev1_defconfig