From: Sam Day Date: Sat, 06 Jun 2026 10:52:37 +1000 Subject: [PATCH 03/13] arch: arm: qcom: google-sargo binman config MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260606-android-binman-v1-3-c7a3c14b8a3d@samcday.com> References: <20260606-android-binman-v1-0-c7a3c14b8a3d@samcday.com> In-Reply-To: <20260606-android-binman-v1-0-c7a3c14b8a3d@samcday.com> To: u-boot@lists.denx.de, Sumit Garg , u-boot-qcom@groups.io Cc: Tom Rini , Simon Glass , Alper Nebi Yasak , Quentin Schulz , Bryan Brattlof , Yannic Moog , Wojciech Dubowik , Yegor Yefremov , Denis Mukhin , Rasmus Villemoes , Heinrich Schuchardt , Javier Tia , Rayagonda Kokatanur , Casey Connolly , Neil Armstrong , Tien Fong Chee , Peng Fan , Anshul Dalal , Alif Zakuan Yuslaimi , Marek Vasut , Tingting Meng , Alice Guo , Ilias Apalodimas , Aswin Murugan , Luca Weiss , Varadarajan Narayanan , Minkyu Kang , Kaustabh Chakraborty , Henrik Grimler , Sam Day X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1780707158; l=1036; i=me@samcday.com; s=20240502; h=from:subject:message-id; bh=x7PcMVoEJJF1L5LgC89yb2s092Ohj6g7/XUCPTRu96g=; b=XbbssfG97Eh7Atb99m55YWnn46VnWw+A4bdwnxHfIA8OuUA2Uor3sGdbtpgXwfU3Eo8a6zKVG EeHJv/TTFFUDB2KTNn5QfLUy1C1/2A2KbH06NAxO7Jj+dNhJUhcen8z X-Developer-Key: i=me@samcday.com; a=ed25519; pk=bzyS0akxWMqr9+AXzgBRIp28KKpEOs+GjYMc2yf+aeU= X-Endpoint-Received: by B4 Relay for me@samcday.com/20240502 with auth_id=595 List-Id: B4 Relay Submissions This binman configuration emits an Android v2 boot image that ABL will accept. Notably, this platform does not seem to accept uncompressed kernel payloads, so it's gzipped. Signed-off-by: Sam Day --- arch/arm/dts/sdm670-google-sargo-u-boot.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/dts/sdm670-google-sargo-u-boot.dtsi b/arch/arm/dts/sdm670-google-sargo-u-boot.dtsi new file mode 100644 index 00000000000..3257ef165cd --- /dev/null +++ b/arch/arm/dts/sdm670-google-sargo-u-boot.dtsi @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include + +/ { + binman { + filename = "u-boot-google-sargo.img"; + + android-boot { + header-version = <2>; + page-size = <4096>; + base = <0x80000000>; + kernel-offset = <0x00008000>; + dtb-offset = <0x01f00000>; + + kernel { + u-boot-nodtb { + compress = "gzip"; + }; + }; + + dtb { + u-boot-dtb {}; + }; + }; + }; +}; -- 2.54.0