From ac55adb3217cf52aec7f26e6b1614b05c9c83605 Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Wed, 6 Jan 2016 18:01:31 +0100 Subject: bootm: add initial FIT support This implementation is inspired by U-Boot's FIT support. Instead of using libfdt (which does not exist in barebox), configuration signatures are verified by using a simplified DT parser based on barebox's own code. Currently, only signed configurations with hashed images are supported, as the other variants are less useful for verified boot. Compatible FIT images can be created using U-Boot's mkimage tool. Signed-off-by: Jan Luebbe Signed-off-by: Marc Kleine-Budde Signed-off-by: Sascha Hauer --- common/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'common/Kconfig') diff --git a/common/Kconfig b/common/Kconfig index 8e7950968c..345de505c0 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -66,6 +66,15 @@ config UIMAGE select CRC32 bool +config FITIMAGE + bool + select OFTREE + select DIGEST + +config FITIMAGE_SIGNATURE + select CRYPTO_RSA + bool + config LOGBUF bool -- cgit v1.2.3