[U-Boot] [PATCH] sunxi: a64: Add verified-boot support

Jagan Teki jagannadh.teki at gmail.com
Tue Nov 7 19:10:05 UTC 2017


Enable verified-boot support for sunxi a64, tested the
same in orangepi boards.

Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
 arch/arm/mach-sunxi/Kconfig    | 2 ++
 include/configs/sunxi-common.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 09cfec6..cf6b264 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -178,6 +178,8 @@ config MACH_SUN50I
 	select SUNXI_DRAM_DW
 	select SUNXI_DRAM_DW_32BIT
 	select FIT
+	select FIT_SIGNATURE
+	select FIT_VERBOSE
 	select SPL_LOAD_FIT
 
 config MACH_SUN50I_H5
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 4207398..921eb4f 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -34,6 +34,8 @@
 
 #ifdef CONFIG_ARM64
 #define CONFIG_BUILD_TARGET "u-boot.itb"
+/* Extend size of kernel image for uncompression */
+#define CONFIG_SYS_BOOTM_LEN	(60 * 1024 * 1024)
 #endif
 
 /* Serial & console */
-- 
2.7.4



More information about the U-Boot mailing list