[PATCH 04/13] qcom: arch: arm: qcom: sdm845-fajita binman configs

Sam Day via B4 Relay devnull+me.samcday.com at kernel.org
Sat Jun 6 02:52:38 CEST 2026


From: Sam Day <me at samcday.com>

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 <me at samcday.com>
---
 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 <config.h>
+
+#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




More information about the U-Boot mailing list