[PATCH v3 5/6] arm: dts: mediatek: emit the Genio 510 and 700 BootROM payload

Carlo Caione <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <20260730-ccaione-upstream-mt8390-spl-v3-5-82fb3bca27a4@baylibre.com>
MediaTek secure-boot tooling signs the raw DDR-loader and SPL payload
before adding the BootROM headers. Signing mtk-boot.bin would instead
sign an image that already carries the unsigned headers.

Have binman emit the existing payload section as mtk-boot-payload.bin.
This keeps the fixed DDR-loader and SPL layout in one description and
does not change mtk-boot.bin.

Signed-off-by: Carlo Caione <[email protected]>
---
 arch/arm/dts/mt8390-genio-common-binman.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/mt8390-genio-common-binman.dtsi b/arch/arm/dts/mt8390-genio-common-binman.dtsi
index 1fa5502c17e..b9ff1214245 100644
--- a/arch/arm/dts/mt8390-genio-common-binman.dtsi
+++ b/arch/arm/dts/mt8390-genio-common-binman.dtsi
@@ -22,6 +22,7 @@
 			       "-n", "media=emmc;arm64=1";
 
 			section {
+				filename = "mtk-boot-payload.bin";
 				pad-byte = <0>;
 
 				/* Must match SPL_OFFSET in the external DDR loader. */

-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.