Skip to contentSkip to conversation

configs: SECURE_BOOT: Enable CONFIG_CMD_EXT4_WRITE

PATCH New Sumit Garg 2 participants 2 messages Jan 8, 2018 – Jan 19, 2018

lore
Share & tools
lore

Sumit Garg

author
#0 lore raw

PATCH v3 1/1 configs: SECURE_BOOT: Enable CONFIG_CMD_EXT4_WRITE

As part of chain of trust with confidentiality along with distro boot, linux kernel image needs to be stored in encrypted form on ext4 boot partition. So enable CONFIG_CMD_EXT4_WRITE in case of Secure boot on ARM based platforms.

---

Changes in v3:
Enable CMD_EXT4_WRITE option for ARM platforms only.

Changes in v2:
Instead of adding CMD_EXT4_WRITE option in each defconfig, added this option in Kconfig.

 board/freescale/common/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
board/freescale/common/Kconfig +2 -0
index 8a5c456..280f7d4 100644
@@ -7,6 +7,8 @@ config CHAIN_OF_TRUST
 	select SHA_HW_ACCEL
 	select SHA_PROG_HW_ACCEL
 	select ENV_IS_NOWHERE
+	select CMD_EXT4 if ARM
+	select CMD_EXT4_WRITE if ARM
 	bool
 	default y
 
Signature · 1 line
1.9.1
Applied
#1 lore raw

PATCH v3 1/1 configs: SECURE_BOOT: Enable CONFIG_CMD_EXT4_WRITE

Quoted 7 lines · Sumit Garg

As part of chain of trust with confidentiality along with distro boot, linux kernel image needs to be stored in encrypted form on ext4 boot partition. So enable CONFIG_CMD_EXT4_WRITE in case of Secure boot on ARM based platforms.

Quoted 8 lines

---

Changes in v3:
Enable CMD_EXT4_WRITE option for ARM platforms only.

Changes in v2:
Instead of adding CMD_EXT4_WRITE option in each defconfig, added this option in Kconfig.

Applied to fsl-qoriq master. Thanks.

York