From patchwork Thu Oct 22 15:13:56 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 4888 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 696813F0E6 for ; Thu, 22 Oct 2026 17:14:12 +0200 (CEST) Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-4a028616bebsf14725095e9.1 for ; Thu, 22 Oct 2026 08:14:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1792682052; cv=pass; d=google.com; s=arc-20260327; b=lFDUvLsigdfJVgESR9jPlg0FwaiIII8780zolmbZTmFiJY++QqI1ZX08bBP9T8H03v cOhxS6B3aPF1SBNOiHx1lbco/4QsPzQ1yJa30a6QtTBk0DM86yI4Jyq/addey0yojgDC B7xWRmm2TxuJMfiDYMBkFjjCPOj/P925DlSvvmiRCLoE9oI3BOC5+PIY0/CAYPqn2UYm a02S+SofCXatCLQrnlo4myG5MDzFYyc6JmSoKvPWUD9MpUnCmYZBiSRTlVe3g1GSD67C nHg/WjFOXtgWon263RcpyfDku45xaivCsd/3z/Fvfm4Cu2MsLRC0M1+1OQXi3xXCtEhZ 1k+A== 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:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=0dp7ATXUB3OMcJKgaqQ6/hrmXoF9ZtHFKdrqw5pK3rQ=; fh=0sZQLuEkES/Oqqfx7DmTfENCoXJqpN43cNBLx4rJubI=; b=MyIrDcJZ1f/WTK2nIjdc5STZNtpVaXJTMuf8F2V2/pWssXHPA+f54dShViqogOgU7N Rj4hLqkHQsxT8H6H285JoTvnjFibqy8m6UW2TkhnA/xREY7Q/PgRA0uUxI9NO774virf PLiLl3NBZFoLQIztLQg3x3gX2+ebulpL9y+8mWe94Gp5GQh394KeEmp+bO0trdk/PCf4 4KDHRrLZtViDxL3QVWavR06n52yyBVwqmLClhW3ph+1N4XyvwNiFIREbSg8mb9IkbZOP BN8WChhwB1V6tWXVa8VpthAnrBl/3EahCIT1omQwHJKoNpg71eKdPixmMqcsuGr+8vRz Px4w==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ijlHNaRD; 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=1792682052; x=1793286852; 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 :references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to:content-type; bh=0dp7ATXUB3OMcJKgaqQ6/hrmXoF9ZtHFKdrqw5pK3rQ=; b=JeCeh8B4X9urWiwgrTlHQbF6oBKZucsnZck77j0hxWVKtEcWThDY0gYwf/HieDcMYd H1QH1qFcQGNRLoi6V9aDkX2FZTRlp6nur8QGZtT85MseiDEBZVY6lzPAvY0H3f2eNXRL UmLpGQRlQfgVvAMNrpTsCmIadtJgemjHxz+Qw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792682052; x=1793286852; 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: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:content-type; bh=0dp7ATXUB3OMcJKgaqQ6/hrmXoF9ZtHFKdrqw5pK3rQ=; b=TuWnnIqOJGn8qT3vbg26Z1plbOSX9tnwynF3Y7PpmvxtA0tzGHqBfk555l+sZKdsWS wrsq7f77w3+TKxK2PGKeoE1KBLVHs0SwiHlWWrVO1kykuyuMIh+V8cUybuXQtUPxFiT3 w4C8E1aID72yoZYpH7RWm6+vHtG67tDyf2mF3060jp1Ned+NKrFy7h8M5gy6EVjXgWAX dNINVIPAOffj0RjF08QYml14KBGIqhbwqCPo2igR1H6zqaN/QVYidl47eBZnoZdeslZB UniHUFNqzrDJE/oi8sW5BodoqJqBCy3raEKnSFnKxIFSWYBowRyRz5CZP5rNoIazryAx OMAA== X-Forwarded-Encrypted: i=2; AKwUvByuxk1afH5gkgWJXYP2nd9aSb5DP/OiX4IWG6+44SVqJ8J5O8/CXZD49ok63tlgV0PCo7MF2zlyKNOBOBCQ@patchwork.amarulasolutions.com X-Gm-Message-State: AFq9FYK8FyY0/LMkogpQSz6Of4oNqsako+qjU+EMq0Dl2AYOHErqYiyQ rJ1oNLvv/8sgGlaTEv3WTY/W9a4GXDlBSXfkE3HDLKIPw+m0vE4Bi/oLX2VnXBZ1mV59bfi4oh2 5cQ== X-Received: by 2002:a05:600c:3547:b0:49c:fa20:cbfd with SMTP id 5b1f17b1804b1-4a1fdd39ad9mr113399595e9.20.1792682052022; Thu, 22 Oct 2026 08:14:12 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com; h="ATskLdc5/H5vK0Bxe25BYzPAVMZlsAXxuBW0PNdYxyh+hACVmA==" Received: by 2002:a05:600d:82d0:b0:4a1:d511:c9f1 with SMTP id 5b1f17b1804b1-4a1fc2c7722ls30151465e9.2.-pod-prod-04-eu; Thu, 22 Oct 2026 08:14:10 -0700 (PDT) X-Forwarded-Encrypted: i=2; AKwUvByEIbBVeBPhp9ju9Q819qSqFm9pPfWVJLrFLKzrnT6JfkR7m0YYUxrkbc5j5wdlX4vIAaCp6H+gBxClJyXd@amarulasolutions.com X-Received: by 2002:a05:600c:6296:b0:4a1:f03f:f1f8 with SMTP id 5b1f17b1804b1-4a1fd8cd9ddmr106726245e9.3.1792682050252; Thu, 22 Oct 2026 08:14:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1792682050; cv=none; d=google.com; s=arc-20260327; b=WW7jHEl/D1gdfin0M02NvRz67mj3UsvvFcKS6xu6WGbpQFA4ZDmJ2VeXIPindSGfC7 q/+dXPoSiEa+o5XCKfMRwfzUTndsxoVUFRD24V8ehqxS0baN1CVkLCX98CryIeL51J0U dEyD+Fc/DTcQp5vQIhcb0KJB16Ct6nBEhyj4zae00DLx0Pe7zB6E7137K4aoGeXV9Vkk q5h+CewHYidPGZ8//p+ULsCa4b2NkfCwNFEazFVdBpzK0VNici/pFuIeAwZjNY45djxd RxSlKe6OiDdZD3VFcjMFMwuIABdeN/6UTAsXYbczItbuTeQfl62oO/lBn53lTaY/6EZ6 oTMg== 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=aZaCQ6E7EXHvsmGLiC61CHxEKa/F8E9Z4HMnUXR+3go=; fh=T3fE1kumNppHT5LLrrXLMCvPZRYMFiFAcGygPKcJBKQ=; b=O6gycB+mBMbubAAgKrdIKVG2YGPXryCzba5xyr2Caj4f9hEoLrEXSFUJF/px97Xr2Y DZHdUOaI3fq+sSxSdNdi1FZuiIHj4WgXYm9yvJO8fGTMt6r90T3wGyQvkl+cBb337NGP Ymxi59rZ9W3jLOUKAvk0brvTJ/5xmQjJNtghv1lkNdFi7piQpLCJKRMPic4heOrKL1SN Y+frhu2qczP3o/Hus3uoL2ceBNmiNCa4STnGKiQzDBhOA4S8kk2ai982YpuOjtAnVyCx MZu+imdemRPHKo1aGUGEXAipzZPcINofcLT1VGtguyctyZXNhLkjohlDOusztBAwkdQH U1SA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ijlHNaRD; 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-4a2033bc67asor6625685e9.0.2026.10.22.08.14.10 for (Google Transport Security); Thu, 22 Oct 2026 08:14:10 -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; AKwUvBz/DAjNx6FABylobBWXbvslELfL3Z1sbhU8b+JyGIKDIyfQ3WC6KOJpvufetZed1RJcjxhfJKCTDGaXgnkc@amarulasolutions.com X-Gm-Gg: AYBFou1f3ghbC4l2VQzTAZoeyV0mBivxwVtFjnYc9Iv17iEktvpZ5pdVMFC/YWG2iId jyU7XgdN0wN/B7loNAamlcwbkURRnqScYFschbgVO6Negkw0AzKaDyegQWH7Gm2vep7OB4Uwb34 go3onGIRIkEvM4Oz6cV6j65pxJWbhx4AMV+UEqRb99DuWoYizJQu522VLUckW3obCT3hp547Yye i9aKVmD5E11UeqH5654L7hKcMHkHPLn07kzlqaMCiM5NI0t7J6L77mZmh30caAzr4z8X7579w7b y1jtUlLI0Gh6237pt9ep4NIk4uhopuifWXmA6N2YzrrwDTSL8NNEZTrGdT7PdAxE+9faakVEOgX YWhc4zjKlVHNOJRHZsqLckuJzNMI8wC04A1XWyjn9xX31ujWZpAE03nBNbbWxqiZmeIpkdDeFh5 EJmmR5ZHoIV1KY3uUoKplrNi05G/sYe7yv6pNKFX0KW+0AMRWcpwfSJ4AIcXjAGM0XFKbpmOsGL +1DpCZozEL8PHosRnlT/DS2lujiqlgEtOxfKcbFiGQCRa/No6Dlfbax0tbxdtixY43ABm+aQE31 l8o0hMlNfxnS0jAQ11KZUi5ZdkvQN7MfbK4/5JZsxMhQhOmRYtsgodjyNoSMNq+mLCynBXFQ8l9 NrdqNAd5D2opARuuVh4UzlSxllOmAr/MU1kOdyuBdKUncxXuAhXpJFA== X-Received: by 2002:a05:600c:3155:b0:4a2:803:a3c4 with SMTP id 5b1f17b1804b1-4a20803a77emr41721685e9.13.1792682049626; Thu, 22 Oct 2026 08:14:09 -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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Oct 2026 08:14:09 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Dario Binacchi , Dick Olsson , Sergey Matyukevich , Thomas Petazzoni , linux-amarula@amarulasolutions.com Subject: [PATCH 4/6] boot/stm32-ddr-phy-binary: new package Date: Thu, 22 Oct 2026 17:13:56 +0200 Message-ID: <20261022151358.2260712-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261022151358.2260712-1-dario.binacchi@amarulasolutions.com> References: <20261022151358.2260712-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=ijlHNaRD; 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 Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The DDR PHY firmware binaries of the STMicroelectronics STM32MP2 SoCs are not part of the upstream TF-A sources: they must be retrieved from a separate repository and are packed in the FIP by TF-A. Signed-off-by: Dario Binacchi --- DEVELOPERS | 1 + boot/Config.in | 1 + boot/stm32-ddr-phy-binary/Config.in | 9 +++++++++ boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.hash | 3 +++ boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.mk | 13 +++++++++++++ 5 files changed, 27 insertions(+) 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 diff --git a/DEVELOPERS b/DEVELOPERS index 4339b37f110d..c188cd301f2c 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -811,6 +811,7 @@ F: board/bsh/ F: board/stmicroelectronics/stm32f746-disco/ F: board/stmicroelectronics/stm32f769-disco/ F: board/stmicroelectronics/stm32h747-disco/ +F: boot/stm32-ddr-phy-binary/ F: boot/ti-k3-boot-firmware/ F: configs/imx6ulz_bsh_smm_m2_defconfig F: configs/imx8mn_bsh_smm_s2_defconfig diff --git a/boot/Config.in b/boot/Config.in index d73d221431f9..95af63ab9af1 100644 --- a/boot/Config.in +++ b/boot/Config.in @@ -22,6 +22,7 @@ source "boot/optee-os/Config.in" source "boot/opensbi/Config.in" source "boot/palo/Config.in" source "boot/shim/Config.in" +source "boot/stm32-ddr-phy-binary/Config.in" source "boot/syslinux/Config.in" source "boot/ti-k3-boot-firmware/Config.in" source "boot/ti-k3-r5-loader/Config.in" diff --git a/boot/stm32-ddr-phy-binary/Config.in b/boot/stm32-ddr-phy-binary/Config.in new file mode 100644 index 000000000000..1a8def0d22ff --- /dev/null +++ b/boot/stm32-ddr-phy-binary/Config.in @@ -0,0 +1,9 @@ +config BR2_TARGET_STM32_DDR_PHY_BINARY + bool "stm32-ddr-phy-binary" + depends on BR2_aarch64 + help + DDR PHY firmware binaries for the STMicroelectronics STM32MP2 + SoCs. They are not built, they are needed as a dependency to + build the TF-A firmware for these SoCs. + + https://github.com/STMicroelectronics/stm32-ddr-phy-binary diff --git a/boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.hash b/boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.hash new file mode 100644 index 000000000000..5826a483cbc9 --- /dev/null +++ b/boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 519595ae24b44d70b0c0ac1e776bf1b871da00b615b9bffa83573e45b806eedc stm32-ddr-phy-binary-1.0-stm32mp.tar.gz +sha256 6b6a3968253466c776a660e916c67c7207c42fcd5bf02895e50215f923dae29d LICENSE.md diff --git a/boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.mk b/boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.mk new file mode 100644 index 000000000000..d90980544a8c --- /dev/null +++ b/boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# stm32-ddr-phy-binary +# +################################################################################ + +STM32_DDR_PHY_BINARY_VERSION = 1.0-stm32mp +STM32_DDR_PHY_BINARY_SITE = $(call github,STMicroelectronics,stm32-ddr-phy-binary,v$(STM32_DDR_PHY_BINARY_VERSION)) +STM32_DDR_PHY_BINARY_LICENSE = SLA0044 +STM32_DDR_PHY_BINARY_LICENSE_FILES = LICENSE.md +STM32_DDR_PHY_BINARY_INSTALL_TARGET = NO + +$(eval $(generic-package))