Skip to contentSkip to conversation

arm-bsp/docs: Improve fvp-baser-aemv864 limitation

PATCH New Peter Hoyes 1 participant 3 messages Mar 4, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 arm-bsp/docs: Improve fvp-baser-aemv864 limitation

From: Peter Hoyes <[email protected]>

Add more details about the cache_state_modelled limitation, which can worked around by setting cci400.force_on_from_start=1

Issue-Id: SCM-3871

Change-Id Idde23278a87316dae842c6c3793b9836482e8c3a
---
 meta-arm-bsp/documentation/fvp-baser-aemv8r64.md | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta-arm-bsp/documentation/fvp-baser-aemv8r64.md +5 -2
index 98ede27..4f207ba 100644
@@ -217,8 +217,11 @@ Known Issues and Limitations
 - Only PSCI CPU\_ON and CPU\_OFF functions are supported
 - Linux kernel does not support booting from secure EL2 on Armv8-R AArch64
 - Linux KVM does not support Armv8-R AArch64
-- Enabling the FVP parameter `cache_state_modelled` is incompatible with virtio
-  devices
+- Device DMA memory cache-coherence issue: the FVP cache_state_modelled
+  parameter will affect the cache coherence behavior of peripherals’ DMA. When
+  users set cache_state_modelled=1, they also have to set
+  cci400.force_on_from_start=1 to force the FVP to enable snooping on upstream
+  ports.
 
 Change Log
 ----------
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/3 arm/fvp-base-r-aem: Update to version 11.17.21

From: Peter Hoyes <[email protected]>

Also update version and download link in meta-arm-bsp fvp-baser-aemv8r64 documentation

Issue-Id: SCM-3871

Change-Id I92ec616d25703ff74ed063918a1e4811bac9ff3f
---
 meta-arm-bsp/documentation/fvp-baser-aemv8r64.md | 12 ++++++------
 meta-arm/recipes-devtools/fvp/fvp-base-r-aem.bb  |  7 ++++---
 2 files changed, 10 insertions(+), 9 deletions(-)
meta-arm-bsp/documentation/fvp-baser-aemv8r64.md +6 -6
index 4f207ba..6fc7152 100644
@@ -106,18 +106,18 @@ For more details on kas, see https://kas.readthedocs.io/.
 
 To build the images for fvp-base machine, you also need to:
 
- - download the ``FVP_Base_AEMv8R_11.15_14.tgz`` image AEM V8-R FVP Installer
+ - download the ``FVP_Base_AEMv8R_11.17_21.tgz`` image AEM V8-R FVP Installer
   (Linux) package from Arm's website:
-  https://silver.arm.com/download/download.tm?pv=4858045&p=4029857. You need
+  https://silver.arm.com/download/download.tm?pv=4865959&p=4029857. You need
    to have an account and be logged in to be able to download it
- - set absolute path to the ``FVP_Base_AEMv8R_11.15_14.tgz`` downloaded
+ - set absolute path to the ``FVP_Base_AEMv8R_11.17_21.tgz`` downloaded
    package in ``FVP_BASE_R_AEM_TARBALL_URI``
  - accept EULA in ``FVP_BASE_R_ARM_EULA_ACCEPT``
 
 
 The variables should be set like so:
 
-    FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.15_14.tgz"
+    FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.17_21.tgz"
     FVP_BASE_R_ARM_EULA_ACCEPT="True"
 
 **Note:** The host machine should have at least 50 GBytes of free disk space
@@ -142,14 +142,14 @@ Fetch the meta-arm repository into a build directory:
 Building with the standard Linux kernel:
 
     cd ~/fvp-baser-aemv8r64-build
-    export FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.15_14.tgz"
+    export FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.17_21.tgz"
     export FVP_BASE_R_ARM_EULA_ACCEPT="True"
     kas build meta-arm/kas/fvp-baser-aemv8r64-bsp.yml
 
 Building with the Real-Time Linux kernel (PREEMPT\_RT):
 
     cd ~/fvp-baser-aemv8r64-build
-    export FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.15_14.tgz"
+    export FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.17_21.tgz"
     export FVP_BASE_R_ARM_EULA_ACCEPT="True"
     kas build meta-arm/kas/fvp-baser-aemv8r64-rt-bsp.yml
 
meta-arm/recipes-devtools/fvp/fvp-base-r-aem.bb +4 -3
index 6c612ab..911cc00 100644
@@ -2,13 +2,14 @@ require fvp-envelope.inc
 
 SUMMARY = "Arm Fixed Virtual Platform - Armv8-R Base Architecture Envelope Model FVP"
 LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \
-                    file://license_terms/third_party_licenses.txt;md5=3db0c4947b7e3405c40b943672d8de2f"
+                    file://license_terms/third_party_licenses.txt;md5=41029e71051b1c786bae3112a29905a7"
 
 # This FVP cannot be downloaded directly, so download the Armv8-R Base AEM FVP
 # yourself from the homepage and set FVP_BASE_R_AEM_TARBALL_URI appropriately
-# (for example, file:///home/user/FVP_Base_AEMv8R_11.15_14.tgz).
+# (for example, file:///home/user/FVP_Base_AEMv8R_11.17_21.tgz).
 FVP_BASE_R_AEM_TARBALL_URI ?= ""
-PV = "11.15.14"
+PV = "11.17.21"
+FVP_ARCH = "Linux64_GCC-9.3"
 
 SRC_URI = "${FVP_BASE_R_AEM_TARBALL_URI};subdir=${BP}"
 python() {
Signature · 1 line
2.25.1
#2 lore raw

PATCH 3/3 arm-bsp/docs: Add -b honister instruction for fvp-baser-aemv8r64

In reply to Peter Hoyes

From: Peter Hoyes <[email protected]>

Issue-Id: SCM-3871

Change-Id I1874b0bd9dc5e3da9c40b46d9d002b83b41addcc
---
 meta-arm-bsp/documentation/fvp-baser-aemv8r64.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm-bsp/documentation/fvp-baser-aemv8r64.md +1 -1
index 6fc7152..b137776 100644
@@ -135,7 +135,7 @@ Fetch the meta-arm repository into a build directory:
 
     mkdir -p ~/fvp-baser-aemv8r64-build
     cd ~/fvp-baser-aemv8r64-build
-    git clone https://git.yoctoproject.org/git/meta-arm
+    git clone https://git.yoctoproject.org/git/meta-arm -b honister
 
 
 ### Build
Signature · 1 line
2.25.1