Skip to contentSkip to conversation

arm/fvp-corstone1000: upgrade to 11.22.35, add aarch64 binaries

PATCH Applied [email protected] 2 participants 5 messages Oct 24, 2023 – Oct 25, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 arm/fvp-corstone1000: upgrade to 11.22.35, add aarch64 binaries

From: Ross Burton <[email protected]>

Upgrade to the 11.22.35 release of the FVP.

Also add the aarch64 binaries as these are now available.

---
 meta-arm/recipes-devtools/fvp/fvp-corstone1000.bb | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
meta-arm/recipes-devtools/fvp/fvp-corstone1000.bb +8 -5
index 7d556616..2373d9f2 100644
@@ -1,11 +1,14 @@
 require fvp-ecosystem.inc
 
-MODEL = "Corstone-1000-23"
+MODEL = "Corstone-1000"
 MODEL_CODE = "FVP_Corstone_1000"
-PV = "11.19_21"
+PV = "11.22_35"
 
-SRC_URI = "https://developer.arm.com/-/media/Arm%20Developer%20Community/Downloads/OSS/FVP/${MODEL}/Linux/${MODEL_CODE}_${PV}_${FVP_ARCH}.tgz;subdir=${BP}"
-SRC_URI[sha256sum] = "dbdcb8b0c206fd56fd2296fe338a62902eb978883ba07f4da28440e180383b24"
+SRC_URI = "https://developer.arm.com/-/media/Arm%20Developer%20Community/Downloads/OSS/FVP/${MODEL}/${MODEL_CODE}_${PV}_${FVP_ARCH}.tgz;subdir=${BP};name=fvp-${HOST_ARCH}"
+SRC_URI[fvp-aarch64.sha256sum] = "40c76551ca73328d34513dbc5de2bd094c28da7e91b73fe0361ec8faef644b68"
+SRC_URI[fvp-x86_64.sha256sum] = "30eb648d26827212faeb74b8c10070cbf8bf212d106ee609579f781a32aac6d9"
 
 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"
+
+COMPATIBLE_HOST = "(aarch64|x86_64).*-linux"
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/4 kas/corstone1000: don't limit the FVP use to x86-64

From: Ross Burton <[email protected]>

Now that the FVP supports both aarch64 and x86-64, this inherit doesn't need to be conditional.

---
 kas/corstone1000-fvp.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kas/corstone1000-fvp.yml +1 -1
index 7d23a53a..b3e21cd4 100644
@@ -10,7 +10,7 @@ local_conf_header:
     fvp-config: |
         # Remove Dropbear SSH as it will not fit into the corstone1000 image.
         IMAGE_FEATURES:remove = " ssh-server-dropbear"
-        INHERIT = " ${@bb.utils.contains('BUILD_ARCH', 'x86_64', 'fvpboot', '', d)}"
+        INHERIT += "fvpboot"
 
 target:
   - corstone1000-image
Signature · 1 line
2.34.1
#2 lore raw

PATCH 3/4 CI: don't pin corstone1000-fvp to x86-64

In reply to [email protected]

From: Ross Burton <[email protected]>

Now that there's a FVP for aarch64, we don't need to pin the CI pipeline to x86-64.

---
 .gitlab-ci.yml | 2 --
 1 file changed, 2 deletions(-)
.gitlab-ci.yml +0 -2
index 89387405..4e09ce05 100644
@@ -112,8 +112,6 @@ corstone1000-fvp:
   parallel:
     matrix:
       - TESTING: [testimage, tftf]
-  tags:
-    - x86_64
 
 corstone1000-mps3:
   extends: .build
Signature · 1 line
2.34.1
#3 lore raw

PATCH 4/4 CI: build both aarch64 and x86-64 packages for as muny FVPs as possible

In reply to [email protected]

From: Ross Burton <[email protected]>

Some FVPs are available as x86-64 and aarch64 binaries, so build target (qemuarm64) and nativesdk (x86-64) packages for these to verify the checksums are correct.

---
 ci/fvps.yml | 4 ++++
 1 file changed, 4 insertions(+)
ci/fvps.yml +4 -0
index 1bced299..a89df053 100644
@@ -14,6 +14,10 @@ local_conf_header:
     SDKMACHINE = "x86_64"
 
 target:
+  # Target packages to test aarch64
+  - fvp-base-a-aem
+  - fvp-corstone1000
+  # Nativesdk to test x86-64
   - nativesdk-fvp-base-a-aem
   - nativesdk-fvp-corstone1000
   - nativesdk-fvp-n1-edge
Signature · 1 line
2.34.1
Applied
#4 lore raw
In reply to [email protected]
Quoted 5 lines · On Tue, 24 Oct 2023 14:52:33 +0100, [email protected] wrote:

Upgrade to the 11.22.35 release of the FVP.

Also add the aarch64 binaries as these are now available.

Applied, thanks!

[1/4] arm/fvp-corstone1000: upgrade to 11.22.35, add aarch64 binaries

      commit: 4c27c5fe257d5cd24bbe0c76de43e4b199114dfc
[2/4] kas/corstone1000: don't limit the FVP use to x86-64
      commit: ef47c87dbb2f9f5d65068cc2f82aa595bf1c6baf
[3/4] CI: don't pin corstone1000-fvp to x86-64
      commit: 7309e2683bd77e4fe20eda6876a0ffb78f8eef7b

[4/4] CI: build both aarch64 and x86-64 packages for as muny FVPs as possible
(no commit info)

Best regards,

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