All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] arm-bsp/n1sdp: fix boot due to TF-A 2.7 update
@ 2022-06-22  8:59 xueliang.zhong
  2022-06-22  8:59 ` [PATCH 1/1] " xueliang.zhong
  2022-06-22 16:09 ` [PATCH 0/1] " Jon Mason
  0 siblings, 2 replies; 3+ messages in thread
From: xueliang.zhong @ 2022-06-22  8:59 UTC (permalink / raw)
  To: meta-arm, Ross.Burton; +Cc: nd, Xueliang Zhong

From: Xueliang Zhong <xueliang.zhong@arm.com>

The N1SDP board cannot boot after recent TF-A 2.7 update in meta-arm.
This is due to TF-A 2.7 not configured correctly for N1SDP board to
support trusted boot feature.

This patch temporarily brings back TF-A 2.6 recipes for fixing the N1SDP
boot. A proper fix is in work progress to configure TF-A 2.7 correctly
to support trusted boot on N1SDP.

Xueliang Zhong (1):
  arm-bsp/n1sdp: fix boot due to TF-A 2.7 update

 meta-arm-bsp/conf/machine/n1sdp.conf                 |  2 ++
 .../trusted-firmware-a_2.6.bbappend                  |  8 ++++++++
 .../trusted-firmware-a/trusted-firmware-a_2.6.bb     | 12 ++++++++++++
 3 files changed, 22 insertions(+)
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bbappend
 create mode 100644 meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb

-- 
2.17.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] arm-bsp/n1sdp: fix boot due to TF-A 2.7 update
  2022-06-22  8:59 [PATCH 0/1] arm-bsp/n1sdp: fix boot due to TF-A 2.7 update xueliang.zhong
@ 2022-06-22  8:59 ` xueliang.zhong
  2022-06-22 16:09 ` [PATCH 0/1] " Jon Mason
  1 sibling, 0 replies; 3+ messages in thread
From: xueliang.zhong @ 2022-06-22  8:59 UTC (permalink / raw)
  To: meta-arm, Ross.Burton; +Cc: nd, Xueliang Zhong

From: Xueliang Zhong <xueliang.zhong@arm.com>

N1SDP board cannot boot after recent TF-A 2.7 update in meta-arm.  This
is due to TF-A 2.7 not configured correctly for N1SDP board to support
trusted boot feature.

This patch temporarily brings back TF-A 2.6 recipes for fixing the N1SDP
boot.

A proper fix is in work progress to configure TF-A 2.7 correctly to
support trutsed boot on N1SDP.

Signed-off-by: Xueliang Zhong <xueliang.zhong@arm.com>
---
 meta-arm-bsp/conf/machine/n1sdp.conf                 |  2 ++
 .../trusted-firmware-a_2.6.bbappend                  |  8 ++++++++
 .../trusted-firmware-a/trusted-firmware-a_2.6.bb     | 12 ++++++++++++
 3 files changed, 22 insertions(+)
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bbappend
 create mode 100644 meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb

diff --git a/meta-arm-bsp/conf/machine/n1sdp.conf b/meta-arm-bsp/conf/machine/n1sdp.conf
index 5e87e61d..5423618c 100644
--- a/meta-arm-bsp/conf/machine/n1sdp.conf
+++ b/meta-arm-bsp/conf/machine/n1sdp.conf
@@ -25,6 +25,8 @@ PREFERRED_VERSION_linux-yocto ?= "5.15%"
 MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "linux-firmware-rtl8168"
 
 EXTRA_IMAGEDEPENDS += "trusted-firmware-a"
+PREFERRED_VERSION_trusted-firmware-a = "2.6"
+
 EXTRA_IMAGEDEPENDS += "virtual/control-processor-firmware"
 
 #UEFI EDK2 firmware
diff --git a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bbappend b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bbappend
new file mode 100644
index 00000000..ad02f40d
--- /dev/null
+++ b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bbappend
@@ -0,0 +1,8 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/files/:"
+
+# Machine specific TFAs
+
+MACHINE_TFA_REQUIRE ?= ""
+MACHINE_TFA_REQUIRE:n1sdp = "trusted-firmware-a-n1sdp.inc"
+
+require ${MACHINE_TFA_REQUIRE}
diff --git a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb
new file mode 100644
index 00000000..ec1bec95
--- /dev/null
+++ b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb
@@ -0,0 +1,12 @@
+require trusted-firmware-a.inc
+
+# TF-A v2.6
+SRCREV_tfa = "a1f02f4f3daae7e21ee58b4c93ec3e46b8f28d15"
+
+LIC_FILES_CHKSUM += "file://docs/license.rst;md5=b2c740efedc159745b9b31f88ff03dde"
+
+# mbed TLS v2.26.0
+SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=https;destsuffix=git/mbedtls;branch=master"
+SRCREV_mbedtls = "e483a77c85e1f9c1dd2eb1c5a8f552d2617fe400"
+
+LIC_FILES_CHKSUM_MBEDTLS = "file://mbedtls/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/1] arm-bsp/n1sdp: fix boot due to TF-A 2.7 update
  2022-06-22  8:59 [PATCH 0/1] arm-bsp/n1sdp: fix boot due to TF-A 2.7 update xueliang.zhong
  2022-06-22  8:59 ` [PATCH 1/1] " xueliang.zhong
@ 2022-06-22 16:09 ` Jon Mason
  1 sibling, 0 replies; 3+ messages in thread
From: Jon Mason @ 2022-06-22 16:09 UTC (permalink / raw)
  To: meta-arm, xueliang.zhong, Ross.Burton; +Cc: nd

On Wed, 22 Jun 2022 08:59:06 +0000, xueliang.zhong@arm.com wrote:
> The N1SDP board cannot boot after recent TF-A 2.7 update in meta-arm.
> This is due to TF-A 2.7 not configured correctly for N1SDP board to
> support trusted boot feature.
> 
> This patch temporarily brings back TF-A 2.6 recipes for fixing the N1SDP
> boot. A proper fix is in work progress to configure TF-A 2.7 correctly
> to support trusted boot on N1SDP.
> 
> [...]

Applied, thanks!

[1/1] arm-bsp/n1sdp: fix boot due to TF-A 2.7 update
      commit: ea3479c27c5e67a1c1a5680d2abb8ecd22e5777f

Best regards,
-- 
Jon Mason <jon.mason@arm.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-22 16:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-22  8:59 [PATCH 0/1] arm-bsp/n1sdp: fix boot due to TF-A 2.7 update xueliang.zhong
2022-06-22  8:59 ` [PATCH 1/1] " xueliang.zhong
2022-06-22 16:09 ` [PATCH 0/1] " Jon Mason

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.