Skip to contentSkip to conversation

arm/fvp-base-a-aem: upgrade to 11.23.9

PATCH New [email protected] 1 participant 3 messages Nov 10, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 arm/fvp-base-a-aem: upgrade to 11.23.9

From: Ross Burton <[email protected]>

---
 ...fvp-base-a-aem_11.22.14.bb => fvp-base-a-aem_11.23.9.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-arm/recipes-devtools/fvp/{fvp-base-a-aem_11.22.14.bb => fvp-base-a-aem_11.23.9.bb} (66%)
meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.23.9.bb renamed from meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.22.14.bb +3 -3
similarity index 66%
rename from meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.22.14.bb
rename to meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.23.9.bb
index 606f9772..7d179b45 100644
@@ -2,11 +2,11 @@ require fvp-envelope.inc
 
 SUMMARY = "Arm Fixed Virtual Platform - Armv-A Base RevC Architecture Envelope Model FVP"
 LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \
-                    file://license_terms/third_party_licenses/third_party_licenses.txt;md5=34a1ba318d745f05e6197def68ea5411 \
+                    file://license_terms/third_party_licenses/third_party_licenses.txt;md5=0c32ac6f58ebff83065105042ab98211 \
                     file://license_terms/third_party_licenses/arm_license_management_utilities/third_party_licenses.txt;md5=c09526c02e631abb95ad61528892552d"
 
-SRC_URI[fvp-aarch64.sha256sum] = "6964dbe0e297a5a6b5abd290d09e883923b5150e087f285fcfb80077525bfe6e"
-SRC_URI[fvp-x86_64.sha256sum] = "eb0f5ca855fb8b0321e137b82306ac8a6b534a5625366ff10e20b3f68df533a4"
+SRC_URI[fvp-aarch64.sha256sum] = "d0925791ec4cfb99c3b4122afbb442ad076f92c4e173ed3bd092a3bf180d56f0"
+SRC_URI[fvp-x86_64.sha256sum] = "9d43c8eb347bf169a024cdbbc04572d169f60098fe061316b36bdbd4a44ffd79"
 
 MODEL_CODE = "FVP_Base_RevC-2xAEMvA"
 
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/3 arm-bsp/fvp-base: upgrade tune to v8.4

From: Ross Burton <[email protected]>

We already tell the FVP to be v8.4 cores, so tell the compiler to tune for that instruction set too.

---
 meta-arm-bsp/conf/machine/fvp-base.conf | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta-arm-bsp/conf/machine/fvp-base.conf +1 -3
index 43f2a8d7..39ef38be 100644
@@ -4,9 +4,7 @@
 #@NAME: Armv8-A Base Platform FVP machine
 #@DESCRIPTION: Machine configuration for Armv8-A Base Platform FVP model
 
-require conf/machine/include/arm/arch-armv8a.inc
-
-TUNE_FEATURES = "aarch64"
+require conf/machine/include/arm/arch-armv8-4a.inc
 
 ARM_SYSTEMREADY_FIRMWARE = "trusted-firmware-a:do_deploy"
 ARM_SYSTEMREADY_ACS_CONSOLE = "default"
Signature · 1 line
2.34.1
#2 lore raw

PATCH 3/3 arm-bsp/trusted-firmware-a: use v8.4 instructions on fvp-base

In reply to [email protected]

From: Ross Burton <[email protected]>

The fvp-base machine uses a v8.4 tune and the FVP itself is configured to be v8.4, so also tell TF-A to use v8.4.

This is normally done in the TF-A board configuration, but the fvp board is configurable.

---
 .../trusted-firmware-a/trusted-firmware-a-fvp-base.inc       | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-fvp-base.inc +4 -1
index d773e41c..5fafe292 100644
@@ -14,4 +14,7 @@ TFA_MBEDTLS = "1"
 TFA_UBOOT ?= "1"
 TFA_BUILD_TARGET = "bl1 bl2 bl31 dtbs fip"
 
-EXTRA_OEMAKE:append = " FVP_DT_PREFIX=fvp-base-gicv3-psci-1t"
+EXTRA_OEMAKE += "FVP_DT_PREFIX=fvp-base-gicv3-psci-1t"
+
+# Our fvp-base machine explicitly has v8.4 cores
+EXTRA_OEMAKE += "ARM_ARCH_MAJOR=8 ARM_ARCH_MINOR=4"
Signature · 1 line
2.34.1