From: Sam Day <[email protected]> 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 <[email protected]> --- 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

