From: Sam Day Date: Sat, 06 Jun 2026 10:52:38 +1000 Subject: [PATCH 04/13] qcom: arch: arm: qcom: sdm845-fajita binman configs MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260606-android-binman-v1-4-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=1083; i=me@samcday.com; s=20240502; h=from:subject:message-id; bh=mZxf+Q/EuryyhsgbBMWO83UoITzAa8GMxzUa+eg9aHg=; b=xuPEhbs5wlRRl3fnxwvPIH14+S1PB2ShzfVDRdwV4PRuRxWrFJlY6jIrdylddDmdNv7eAS9iT zhP4GK22upSDGUcSMNhwUrszNATw0WQDc9RLUscjTW8wN7bJbIg0pT8 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. This platform accepts uncompressed kernel artifacts, and the boot partition(s) are plenty big enough, so we opt for speed over size. Signed-off-by: Sam Day --- arch/arm/dts/sdm845-oneplus-fajita-u-boot.dtsi | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/dts/sdm845-oneplus-fajita-u-boot.dtsi b/arch/arm/dts/sdm845-oneplus-fajita-u-boot.dtsi new file mode 100644 index 00000000000..b88be5a502e --- /dev/null +++ b/arch/arm/dts/sdm845-oneplus-fajita-u-boot.dtsi @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include + +#ifdef CONFIG_BINMAN +/ { + binman { + filename = "u-boot-oneplus-fajita.img"; + + android-boot { + header-version = <2>; + page-size = <4096>; + base = <0x00000000>; + kernel-offset = <0x00008000>; + dtb-offset = <0x01f00000>; + + kernel { + u-boot-nodtb {}; + }; + + dtb { + u-boot-dtb {}; + }; + }; + }; +}; +#endif -- 2.54.0