Adds support for secure boot on TCI6630K2L HS devices
v2 cover Adds support for secure boot on TCI6630K2L HS devices
This series adds support for the secure Lammar (K2L) SoC.
It defines a new defconfig file for K2L HS, based on the GP K2L defconfig and updates the u-boot default env variables to install the secure boot-monitor on startup.
Changes in v2:
- Updates MAINTAINERS with K2L HS
Madan Srinivas (2):
configs: k2l: Updates u-boot env to install secure boot monitor
defconfig: k2l_hs_evm: Add k2l_hs_evm_defconfig
MAINTAINERS | 1 + configs/k2l_hs_evm_defconfig | 43 +++++++++++++++++++++++++++++++++++++++++++ include/configs/k2l_evm.h | 9 +++++++++ 3 files changed, 53 insertions(+) create mode 100644 configs/k2l_hs_evm_defconfig
Signature · 1 line
1.9.1
PATCH v2 1/2 configs: k2l: Updates u-boot env to install secure boot monitor
This patch updates the default u-boot env for K2L HS devices to install the secure boot monitor and load the fitImage during boot.
---
Changes in v2: None
include/configs/k2l_evm.h | 9 +++++++++ 1 file changed, 9 insertions(+)
include/configs/k2l_evm.h +9 -0
@@ -15,9 +15,18 @@/* Platform type */ #define CONFIG_SOC_K2L +#ifdef CONFIG_TI_SECURE_DEVICE +#define DEFAULT_SEC_BOOT_ENV \ + DEFAULT_FIT_TI_ARGS \ + "findfdt=setenv fdtfile ${name_fdt}\0" +#else +#define DEFAULT_SEC_BOOT_ENV +#endif +/* U-Boot general configuration */ #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS \ DEFAULT_FW_INITRAMFS_BOOT_ENV \ + DEFAULT_SEC_BOOT_ENV \ "boot=ubi\0" \ "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs " \ "root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,4096\0" \
Signature · 1 line
1.9.1
PATCH v2 1/2 configs: k2l: Updates u-boot env to install secure boot monitor
Quoted 7 lines · Madan Srinivas
This patch updates the default u-boot env for K2L HS devices to install the secure boot monitor and load the fitImage during boot.
Signed-off-by Madan Srinivas <[email protected]>Acked-by Andrew F. Davis <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180307/a2e7cdd1/attachment.sig>
PATCH v2 1/2 configs: k2l: Updates u-boot env to install secure boot monitor
In reply to Madan SrinivasQuoted 7 lines · Madan Srinivas
This patch updates the default u-boot env for K2L HS devices to install the secure boot monitor and load the fitImage during boot.
Signed-off-by Madan Srinivas <[email protected]>Acked-by Andrew F. Davis <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180316/6945248b/attachment.sig>
PATCH v2 2/2 defconfig: k2l_hs_evm: Add k2l_hs_evm_defconfig
In reply to Madan SrinivasAdds a dedicated defconfig to build TI K2L secure
devices and updates MAINTAINERS.
k2l_hs_evm_defconfig is created from the k2l_evm_defconfig and removes support for SPL, as SPL is not supported on K2 HS devices. Corrects SYS_TEXT_BASE for HS devices.
Also adds TI_SECURE_DEVICE and FIT_IMAGE_POST_PROCESS to include support for secure image creation and authentication
---
Changes in v2:
- Updates MAINTAINERS with K2L HS
MAINTAINERS | 1 + configs/k2l_hs_evm_defconfig | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 configs/k2l_hs_evm_defconfig
MAINTAINERS +1 -0
@@ -486,6 +486,7 @@ F: configs/dra7xx_hs_evm_defconfig F: configs/k2hk_hs_evm_defconfig F: configs/k2e_hs_evm_defconfig F: configs/k2g_hs_evm_defconfig +F: configs/k2l_hs_evm_defconfig TQ GROUP #M: Martin Krause <[email protected]>
configs/k2l_hs_evm_defconfig new file +43 -0
43 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v2 2/2 defconfig: k2l_hs_evm: Add k2l_hs_evm_defconfig
Quoted 12 lines · Madan Srinivas
Adds a dedicated defconfig to build TI K2L secure devices and updates
MAINTAINERS.
k2l_hs_evm_defconfigis created from thek2l_evm_defconfigand removes support for SPL, as SPL is not supported on K2 HS devices. CorrectsSYS_TEXT_BASEfor HS devices.Also adds
TI_SECURE_DEVICEandFIT_IMAGE_POST_PROCESSto include support for secure image creation and authenticationSigned-off-by Madan Srinivas <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180307/770552fa/attachment.sig>
PATCH v2 2/2 defconfig: k2l_hs_evm: Add k2l_hs_evm_defconfig
In reply to Madan SrinivasQuoted 7 lines · Madan Srinivas
Adds a dedicated defconfig to build TI K2L secure
devices and updatesMAINTAINERS.
k2l_hs_evm_defconfigis created from thek2l_evm_defconfigand removes support for SPL, as SPL is not supported on K2 HS devices. CorrectsSYS_TEXT_BASEfor HS devices.
Quoted 6 lines
Also adds
TI_SECURE_DEVICEandFIT_IMAGE_POST_PROCESSto include support for secure image creation and authenticationSigned-off-by Madan Srinivas <[email protected]>---
Quoted 71 lines
Changes in v2:
- UpdatesMAINTAINERSwith K2L HSMAINTAINERS | 1 + configs/k2l_hs_evm_defconfig | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 configs/k2l_hs_evm_defconfigMAINTAINERS +1
-0@@ -486,6 +486,7 @@ F: configs/dra7xx_hs_evm_defconfig F: configs/k2hk_hs_evm_defconfig F: configs/k2e_hs_evm_defconfig F: configs/k2g_hs_evm_defconfig +F: configs/k2l_hs_evm_defconfig TQ GROUP #M: Martin Krause <[email protected]>configs/k2l_hs_evm_defconfig new file +43
-0@@ -0,0 +1,43 @@ +CONFIG_ARM=y +CONFIG_ARCH_KEYSTONE=y +CONFIG_TI_SECURE_DEVICE=y +CONFIG_SYS_TEXT_BASE=0xC000060 +CONFIG_TI_COMMON_CMD_OPTIONS=y +CONFIG_TARGET_K2L_EVM=y +CONFIG_DEFAULT_DEVICE_TREE="keystone-k2l-evm" +CONFIG_FIT_IMAGE_POST_PROCESS=y +CONFIG_OF_BOARD_SETUP=y +CONFIG_SYS_CONSOLE_INFO_QUIET=y +CONFIG_VERSION_VARIABLE=y +CONFIG_BOARD_EARLY_INIT_F=y +CONFIG_HUSH_PARSER=y +# CONFIG_CMD_FLASH is not set +# CONFIG_CMD_GPIO is not set +# CONFIG_CMD_GPT is not set +# CONFIG_CMD_MMC is not set +CONFIG_CMD_NAND=y +# CONFIG_CMD_SETEXPR is not set +CONFIG_MTDIDS_DEFAULT="nand0=davinci_nand.0" +CONFIG_MTDPARTS_DEFAULT="mtdparts=davinci_nand.0:1024k(bootloader)ro,512k(params)ro,-(ubifs)" +CONFIG_CMD_UBI=y +CONFIG_ISO_PARTITION=y +CONFIG_EFI_PARTITION=y +CONFIG_OF_CONTROL=y +CONFIG_ENV_IS_IN_NAND=y +CONFIG_NET_RANDOM_ETHADDR=y +CONFIG_DM=y +CONFIG_TI_AEMIF=y +# CONFIG_MMC is not set +CONFIG_DM_SPI_FLASH=y +CONFIG_SPI_FLASH=y +CONFIG_SPI_FLASH_STMICRO=y +CONFIG_PHYLIB=y +CONFIG_DM_ETH=y +CONFIG_DM_SERIAL=y +CONFIG_SYS_NS16550=y +CONFIG_DM_SPI=y +CONFIG_DAVINCI_SPI=y +CONFIG_USB=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_XHCI_DWC3=y +CONFIG_USB_STORAGE=y
PATCH v2 2/2 defconfig: k2l_hs_evm: Add k2l_hs_evm_defconfig
In reply to Madan SrinivasQuoted 7 lines · Madan Srinivas
Adds a dedicated defconfig to build TI K2L secure devices and updates
MAINTAINERS.
k2l_hs_evm_defconfigis created from thek2l_evm_defconfigand removes support for SPL, as SPL is not supported on K2 HS devices. CorrectsSYS_TEXT_BASEfor HS devices.
Quoted 6 lines
Also adds
TI_SECURE_DEVICEandFIT_IMAGE_POST_PROCESSto include support for secure image creation and authenticationSigned-off-by Madan Srinivas <[email protected]>Reviewed-by Tom Rini <[email protected]>Acked-by Andrew F. Davis <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180316/561f5b06/attachment.sig>