Skip to contentSkip to conversation

arm-bsp/n1sdp: fix boot due to TF-A 2.7 update

PATCH Applied [email protected] 2 participants 3 messages Jun 22, 2022

lore
Share & tools
lore
#0 lore raw

cover arm-bsp/n1sdp: fix boot due to TF-A 2.7 update

From: Xueliang Zhong <[email protected]>

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
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 arm-bsp/n1sdp: fix boot due to TF-A 2.7 update

From: Xueliang Zhong <[email protected]>

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.

---
 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
meta-arm-bsp/conf/machine/n1sdp.conf +2 -0
index 5e87e61d..5423618c 100644
@@ -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
meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bbappend new file +8 -0
new file mode 100644
index 00000000..ad02f40d
@@ -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}
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb new file +12 -0
new file mode 100644
index 00000000..ec1bec95
@@ -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"
Signature · 1 line
2.17.1
Applied
#2 lore raw
In reply to [email protected]
Quoted 9 lines · On Wed, 22 Jun 2022 08:59:06 +0000, [email protected] 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,

Signature · 1 line
Jon Mason <[email protected]>