[U-Boot] [PATCH 3/3 v3] controlcenterdc: Make secure boot available
Mario Six
mario.six at gdsys.cc
Wed Feb 22 15:07:24 UTC 2017
Make secure booting available for the controlcenterdc
board.
Signed-off-by: Reinhard Pfau <reinhard.pfau at gdsys.cc>
Signed-off-by: Mario Six <mario.six at gdsys.cc>
---
Changes in v3:
* Added secure boot options to config to enable secure boot by default
Changes in v2:
* Moved definition and interpretation of SECURED_MODE_IMAGE and
SECURED_MODE_CSK_INDEX to previous patch
---
board/gdsys/a38x/kwbimage.cfg.in | 28 ++++++++++++++++++++++++++++
configs/controlcenterdc_defconfig | 2 ++
2 files changed, 30 insertions(+)
diff --git a/board/gdsys/a38x/kwbimage.cfg.in b/board/gdsys/a38x/kwbimage.cfg.in
index 72e67d75c3..ebb3d326f6 100644
--- a/board/gdsys/a38x/kwbimage.cfg.in
+++ b/board/gdsys/a38x/kwbimage.cfg.in
@@ -1,5 +1,6 @@
#
# Copyright (C) 2014 Stefan Roese <sr at denx.de>
+# Copyright (C) 2015-2016 Reinhard Pfau <reinhard.pfau at gdsys.cc>
#
# Armada 38x uses version 1 image format
@@ -10,3 +11,30 @@ VERSION 1
# Binary Header (bin_hdr) with DDR3 training code
BINARY spl/u-boot-spl.bin 0000005b 00000068
+
+# Name of KAK
+KAK kwb_kak
+
+# Name of (active) CSK
+CSK kwb_csk
+
+# BoxID
+BOX_ID 0x1
+
+# FlashID
+FLASH_ID 0x1
+
+# JTAG delay
+JTAG_DELAY 5
+
+# active CSK index
+#@CSK_INDEX
+
+# whether to encode box ID and flash ID into image
+#SEC_SPECIALIZED_IMG
+
+# secured mode boot device
+#@SEC_BOOT_DEV
+
+# secured mode: dump fuse commands
+#@SEC_FUSE_DUMP
diff --git a/configs/controlcenterdc_defconfig b/configs/controlcenterdc_defconfig
index e1c4f0c999..277f2a2939 100644
--- a/configs/controlcenterdc_defconfig
+++ b/configs/controlcenterdc_defconfig
@@ -3,6 +3,8 @@ CONFIG_ARCH_MVEBU=y
CONFIG_SPL_GPIO_SUPPORT=y
CONFIG_SYS_MALLOC_F_LEN=0x2000
CONFIG_TARGET_CONTROLCENTERDC=y
+CONFIG_MVEBU_EFUSE=y
+CONFIG_SECURED_MODE_IMAGE=y
CONFIG_SPL_SPI_FLASH_SUPPORT=y
CONFIG_SPL_SPI_SUPPORT=y
CONFIG_DEFAULT_DEVICE_TREE="armada-38x-controlcenterdc"
--
2.11.0
More information about the U-Boot
mailing list