DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [PATCH 4/6] v7a: stm32mp: enable TF-A for first stage
Date: Mon,  2 Mar 2020 12:03:54 +0100	[thread overview]
Message-ID: <20200302110356.19112-5-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20200302110356.19112-1-a.fatoum@pengutronix.de>

The STM32MP uses TF-A as first stage boot loader. Configure it
appropriately for use.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 configs/platform-v7a/platformconfig | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
index e3a9b6433172..02111f2750d7 100644
--- a/configs/platform-v7a/platformconfig
+++ b/configs/platform-v7a/platformconfig
@@ -178,10 +178,26 @@ PTXCONF_BAREBOX_VEXPRESS=y
 PTXCONF_BAREBOX_ARCH_STRING="arm"
 # PTXCONF_BAREBOX is not set
 # PTXCONF_BAREBOX_MLO is not set
+PTXCONF_BOOTLOADER=y
 # PTXCONF_GRUB is not set
 # PTXCONF_HOST_MXS_UTILS is not set
 # PTXCONF_OPTEE is not set
-# PTXCONF_TF_A is not set
+PTXCONF_TF_A=y
+PTXCONF_TF_A_VERSION="v2.2"
+PTXCONF_TF_A_MD5="bb300e5a62c911e189c80d935d497a4b"
+PTXCONF_TF_A_ARCH_STRING="aarch32"
+PTXCONF_TF_A_ARM_ARCH_MAJOR_7=y
+# PTXCONF_TF_A_ARM_ARCH_MAJOR_8_32_BIT is not set
+PTXCONF_TF_A_ARM_ARCH_MAJOR=7
+PTXCONF_TF_A_PLATFORM="stm32mp1"
+PTXCONF_TF_A_EXTRA_ARGS="DTB_FILE_NAME=stm32mp157c-dk2.dtb"
+PTXCONF_TF_A_ARTIFACTS="tf-a-*.stm32"
+
+#
+# Payloads
+#
+# PTXCONF_TF_A_BL32_NONE is not set
+PTXCONF_TF_A_BL32_SP_MIN=y
 # PTXCONF_U_BOOT is not set
 # PTXCONF_X_LOAD is not set
 
-- 
2.25.0


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

  parent reply	other threads:[~2020-03-02 11:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-02 11:03 [DistroKit] [PATCH 0/6] v7a: add basic STM32MP157C-DK2 support Ahmad Fatoum
2020-03-02 11:03 ` [DistroKit] [PATCH 1/6] v7a: kernel: configure for STM32MP157 support Ahmad Fatoum
2020-03-05 16:43   ` Robert Schwebel
2020-03-02 11:03 ` [DistroKit] [PATCH 2/6] v7a: barebox: add new stm32mp rule Ahmad Fatoum
2020-03-03  9:43   ` Roland Hieber
2020-03-03  9:54     ` Ahmad Fatoum
2020-03-05 16:44   ` Robert Schwebel
2020-03-02 11:03 ` [DistroKit] [PATCH 3/6] rules: add ARM Trusted Firmware-A Ahmad Fatoum
2020-03-05 16:44   ` Robert Schwebel
2020-03-05 17:28     ` Robert Schwebel
2020-03-02 11:03 ` Ahmad Fatoum [this message]
2020-03-05 16:45   ` [DistroKit] [PATCH 4/6] v7a: stm32mp: enable TF-A for first stage Robert Schwebel
2020-03-02 11:03 ` [DistroKit] [PATCH 5/6] datapartition: disable autoformat of non-MBR Linux partitions Ahmad Fatoum
2020-03-05 16:45   ` Robert Schwebel
2020-03-02 11:03 ` [DistroKit] [PATCH 6/6] v7a: add stm32mp157c-dk2 SD-Card image Ahmad Fatoum
2020-03-03 12:08   ` Roland Hieber
2020-03-05 16:46     ` Robert Schwebel
2020-03-05 16:46   ` Robert Schwebel

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=20200302110356.19112-5-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox