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

