All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Ziswiler <marcel@ziswiler.com>
To: u-boot@lists.denx.de
Cc: Heiko Thiery <heiko.thiery@gmail.com>,
	Stefano Babic <sbabic@denx.de>,
	Fabio Estevam <festevam@gmail.com>,
	Frieder Schrempf <frieder.schrempf@kontron.de>,
	Marcel Ziswiler <marcel.ziswiler@toradex.com>,
	"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
	Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>
Subject: [PATCH v1 4/7] ARM: dts: imx8mm-verdin: prepare for dek blob encapsulation
Date: Fri, 20 Aug 2021 22:52:27 +0200	[thread overview]
Message-ID: <20210820205230.1369683-5-marcel@ziswiler.com> (raw)
In-Reply-To: <20210820205230.1369683-1-marcel@ziswiler.com>

From: Marcel Ziswiler <marcel.ziswiler@toradex.com>

Prepare for DEK blob encapsulation support through "dek_blob" command.
On ARMv8, u-boot runs in non-secure, thus cannot encapsulate a DEK blob
for encrypted boot.
The DEK blob is encapsulated by OP-TEE through a trusted application
call. U-boot sends and receives the DEK and the DEK blob binaries
through OP-TEE dynamic shared memory.

To enable the DEK blob encapsulation, add to the defconfig:
CONFIG_SECURE_BOOT=y
CONFIG_FAT_WRITE=y
CONFIG_CMD_DEKBLOB=y

Taken from NXP's commit 56d2050f4028 ("imx8m: Add DEK blob encapsulation
for imx8m").

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
---

 arch/arm/dts/imx8mm-verdin-u-boot.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/dts/imx8mm-verdin-u-boot.dtsi b/arch/arm/dts/imx8mm-verdin-u-boot.dtsi
index 67c31c49b6c..a97626fa0c1 100644
--- a/arch/arm/dts/imx8mm-verdin-u-boot.dtsi
+++ b/arch/arm/dts/imx8mm-verdin-u-boot.dtsi
@@ -6,6 +6,13 @@
 #include "imx8mm-u-boot.dtsi"
 
 / {
+	firmware {
+		optee {
+			compatible = "linaro,optee-tz";
+			method = "smc";
+		};
+	};
+
 	wdt-reboot {
 		compatible = "wdt-reboot";
 		wdt = <&wdog1>;
-- 
2.26.2


  parent reply	other threads:[~2021-08-20 20:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-20 20:52 [PATCH v1 0/7] board: toradex: verdin-imx8mm: target refresh Marcel Ziswiler
2021-08-20 20:52 ` [PATCH v1 1/7] imx: mkimage_fit_atf: fix legacy image generation Marcel Ziswiler
2021-08-22 10:07   ` ZHIZHIKIN Andrey
2021-08-23  6:56     ` Marcel Ziswiler
2021-08-23  7:50       ` ZHIZHIKIN Andrey
2021-08-23 10:59         ` Fabio Estevam
2021-08-23 15:53           ` ZHIZHIKIN Andrey
2021-08-23 17:27             ` Fabio Estevam
2021-08-20 20:52 ` [PATCH v1 2/7] imx8m: clean-up kconfig indentation Marcel Ziswiler
2021-08-20 20:52 ` [PATCH v1 3/7] verdin-imx8mm: fix ethernet Marcel Ziswiler
2021-08-20 20:52 ` Marcel Ziswiler [this message]
2021-08-20 20:52 ` [PATCH v1 5/7] verdin-imx8mm: switch to use binman to pack images Marcel Ziswiler
2021-08-23  6:37   ` Heiko Thiery
2021-08-23  7:00     ` Marcel Ziswiler
2021-08-23 10:02     ` Marcel Ziswiler
2021-08-23 10:43       ` Heiko Thiery
2021-08-20 20:52 ` [PATCH v1 6/7] verdin-imx8mm: enable sleep_moci output Marcel Ziswiler
2021-08-20 20:52 ` [PATCH v1 7/7] verdin-imx8mm: drop support for v1.0 hardware Marcel Ziswiler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210820205230.1369683-5-marcel@ziswiler.com \
    --to=marcel@ziswiler.com \
    --cc=festevam@gmail.com \
    --cc=frieder.schrempf@kontron.de \
    --cc=heiko.thiery@gmail.com \
    --cc=marcel.ziswiler@toradex.com \
    --cc=sbabic@denx.de \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.