[PATCH 03/13] arch: arm: qcom: google-sargo binman config

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


From: Sam Day <me at samcday.com>

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




More information about the U-Boot mailing list