mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-08 05:09:56 +00:00
arm/fvp: upgrade FVPs
Upgrade the FVPs to the latest releases, and do some cleanups for future changes. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
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.txt;md5=41029e71051b1c786bae3112a29905a7"
|
||||
|
||||
PV = "11.17.21"
|
||||
|
||||
SRC_URI = "https://developer.arm.com/-/media/Files/downloads/ecosystem-models/${MODEL_CODE}_${PV_URL}.tgz;subdir=${BP}"
|
||||
SRC_URI[sha256sum] = "ef42f685b4b970e56f6b14a5a76acb4eb88987dcb614d5788eee4d8ef5cf9b28"
|
||||
|
||||
MODEL_CODE = "FVP_Base_RevC-2xAEMvA"
|
||||
@@ -0,0 +1,10 @@
|
||||
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/arm_license_management_utilities/third_party_licenses.txt;md5=2e53bda6ff2db4c35d69944b93926c9f"
|
||||
|
||||
SRC_URI[sha256sum] = "fe76f9ff217a44ed7680a0a6ccd6bd19758f5e0466ff98ccd82b2ae62289b9fe"
|
||||
|
||||
MODEL_CODE = "FVP_Base_RevC-2xAEMvA"
|
||||
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba
|
||||
file://license_terms/third_party_licenses/third_party_licenses.txt;md5=34a1ba318d745f05e6197def68ea5411 \
|
||||
file://license_terms/third_party_licenses/arm_license_management_utilities/third_party_licenses.txt;md5=2e53bda6ff2db4c35d69944b93926c9f"
|
||||
|
||||
SRC_URI = "https://developer.arm.com/-/media/Files/downloads/ecosystem-models/${MODEL_CODE}_${PV_URL}_${FVP_ARCH}.tgz;subdir=${BP}"
|
||||
SRC_URI[sha256sum] = "a7a5ee0b7f3b84a2e98e136a6f3ab648e4b6b5ad365186a397595f3f7c69f558"
|
||||
|
||||
MODEL_CODE = "FVP_Base_AEMv8R"
|
||||
|
||||
@@ -6,12 +6,14 @@ LICENSE_FLAGS = "Arm-FVP-EULA"
|
||||
|
||||
LICENSE = "Proprietary & Apache-2.0 & Python-2.0 & GPL-3.0-with-GCC-exception & Zlib & NCSA & LGPL-2.0-or-later & MIT & BSD-3-Clause"
|
||||
|
||||
COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
|
||||
COMPATIBLE_HOST = "x86_64.*-linux"
|
||||
|
||||
# The architecture-specific download filename suffix
|
||||
FVP_ARCH = "Linux64"
|
||||
FVP_ARCH:aarch64 = "Linux64_armv8l"
|
||||
FVP_ARCH:x86-64 = "Linux64"
|
||||
|
||||
# The architecture-specific directory the binaries are installed under
|
||||
FVP_ARCH_DIR = "${FVP_ARCH}_GCC-*"
|
||||
FVP_ARCH_DIR = "${FVP_ARCH}"
|
||||
|
||||
def get_real_pv(d):
|
||||
# FVP versions are like 11.12_43
|
||||
@@ -28,7 +30,7 @@ FVPDIR = "${libdir}/fvp/${BPN}"
|
||||
|
||||
# Used in do_install to create symlinks in $bindir to $FVPDIR
|
||||
fvp_link_binaries() {
|
||||
DIR="${D}${FVPDIR}/models/${FVP_ARCH_DIR}"
|
||||
DIR="${D}${FVPDIR}/models/${FVP_ARCH_DIR}*"
|
||||
|
||||
stat $DIR/FVP_* >/dev/null 2>&1 || bbfatal Cannot find FVP binaries in $DIR
|
||||
|
||||
@@ -45,6 +47,8 @@ FILES:${PN} = "${bindir} ${FVPDIR}"
|
||||
INSANE_SKIP:${PN} += "already-stripped"
|
||||
# FVP can optionally have a GUI, but we can use the host libraries in native/nativesdk
|
||||
INSANE_SKIP:${PN} += "file-rdeps"
|
||||
# GNU_HASH warnings
|
||||
INSANE_SKIP:${PN} += "ldflags"
|
||||
|
||||
# FVP brings its own standard library so don't let it be used as a shlib provider
|
||||
PRIVATE_LIBS = "libgcc_s.so.1 libstdc++.so.6"
|
||||
|
||||
@@ -9,4 +9,3 @@ SRC_URI[sha256sum] = "00ccb72d02c90e2424d24a625d275cabf8ea8dc024713985208f618bb8
|
||||
|
||||
LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \
|
||||
file://license_terms/third_party_licenses.txt;md5=41029e71051b1c786bae3112a29905a7"
|
||||
|
||||
|
||||
@@ -5,3 +5,6 @@ MODEL_CODE = "FVP_Corstone_500"
|
||||
PV = "11.12.59"
|
||||
|
||||
SRC_URI[sha256sum] = "26f0fbb52de2ccdb4c7b40b6f4ddb5eabdcb8173775fdd11c9a12173326f8614"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \
|
||||
file://license_terms/third_party_licenses.txt;md5=47473b1e04b70938cf0a7ffea8ea4cc3"
|
||||
|
||||
@@ -10,9 +10,6 @@ HOMEPAGE = "https://developer.arm.com/tools-and-software/open-source-software/ar
|
||||
|
||||
SRC_URI = "https://developer.arm.com/-/media/Arm%20Developer%20Community/Downloads/OSS/FVP/${MODEL}/${MODEL_CODE}_${PV_URL}.tgz;subdir=${BP}"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \
|
||||
file://license_terms/third_party_licenses.txt;md5=47473b1e04b70938cf0a7ffea8ea4cc3"
|
||||
|
||||
UPSTREAM_CHECK_URI = "${HOMEPAGE}"
|
||||
UPSTREAM_CHECK_REGEX = "${MODEL_CODE}_(?P<pver>(\d+[\.\-_]*)+).tgz"
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@ require fvp-common.inc
|
||||
|
||||
HOMEPAGE = "https://developer.arm.com/tools-and-software/simulation-models/fixed-virtual-platforms/arm-ecosystem-models"
|
||||
|
||||
SRC_URI = "https://developer.arm.com/-/media/Files/downloads/ecosystem-models/${MODEL_CODE}_${PV_URL}_${FVP_ARCH}.tgz;subdir=${BP}"
|
||||
|
||||
UPSTREAM_CHECK_URI = "${HOMEPAGE}"
|
||||
UPSTREAM_CHECK_REGEX = "${MODEL_CODE}_(?P<pver>(\d+[\.\-_]*)+).tgz"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ require fvp-ecosystem.inc
|
||||
|
||||
MODEL = "Library"
|
||||
MODEL_CODE = "FVP_ARM_Std_Library"
|
||||
PV = "11.15_14"
|
||||
PV = "11.18.16"
|
||||
|
||||
HOMEPAGE = "https://developer.arm.com/tools-and-software/simulation-models/fixed-virtual-platforms"
|
||||
|
||||
@@ -12,10 +12,10 @@ LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=a50d186fffa51
|
||||
|
||||
# The FVP Library tarball cannot be downloaded directly, so download the it
|
||||
# yourself from from the homepage and set FVP_LIBRARY_TARBALL_URI appropriately
|
||||
# (for example, "file:///home/user/FVP_ARM_Std_Library_11.14_21.tgz").
|
||||
# to the directory that contains the tarball (for example, "file:///home/user/").
|
||||
FVP_LIBRARY_TARBALL_URI ?= ""
|
||||
|
||||
SRC_URI = "${FVP_LIBRARY_TARBALL_URI};subdir=${BP}"
|
||||
SRC_URI = "${FVP_LIBRARY_TARBALL_URI}/${MODEL_CODE}_${PV_URL}_${FVP_ARCH}.tgz;subdir=${BP}"
|
||||
python() {
|
||||
if not d.getVar("FVP_LIBRARY_TARBALL_URI"):
|
||||
raise bb.parse.SkipRecipe("FVP_LIBRARY_TARBALL_URI not set")
|
||||
|
||||
@@ -2,9 +2,10 @@ require fvp-ecosystem.inc
|
||||
|
||||
MODEL = "Neoverse-N1"
|
||||
MODEL_CODE = "FVP_RD_N1_edge"
|
||||
PV = "11.15.26"
|
||||
PV = "11.17.29"
|
||||
|
||||
SRC_URI[sha256sum] = "a85026312f9784ad0d164ffc2cea4344b197d6fefff4aa04605a5eac8ff4ee37"
|
||||
SRC_URI = "https://developer.arm.com/-/media/Arm%20Developer%20Community/Downloads/OSS/FVP/${MODEL}/${MODEL_CODE}_${PV_URL}_Linux64.tgz;subdir=${BP}"
|
||||
SRC_URI[sha256sum] = "76f5d6ec50b64fad6d8d901101d9ae2c62805f50fcfd0edb125bc2c68de8c8f2"
|
||||
|
||||
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"
|
||||
|
||||
@@ -2,9 +2,11 @@ require fvp-ecosystem.inc
|
||||
|
||||
MODEL = "TotalCompute"
|
||||
MODEL_CODE = "FVP_TC0"
|
||||
PV = "11.15.20"
|
||||
PV = "11.17.18"
|
||||
|
||||
SRC_URI[sha256sum] = "792ddb425eba0714a1590aa8e404845b7654758c663745693216ae1343ceef2d"
|
||||
# Unconventional URI structure for this release
|
||||
SRC_URI = "https://developer.arm.com/-/media/Arm%20Developer%20Community/Downloads/OSS/FVP/TotalCompute/Total%20Compute%20Update%202022/FVP_TC0_11.17_18.tgz;subdir=${BP}"
|
||||
SRC_URI[sha256sum] = "0bd78354e036a7e92bd7f8cbd78cd2b5197dc0872fe2b25c95ea734929fe83b8"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=a50d186fffa51ed55599183aad911298 \
|
||||
file://license_terms/third_party_licenses.txt;md5=3db0c4947b7e3405c40b943672d8de2f"
|
||||
LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \
|
||||
file://license_terms/third_party_licenses.txt;md5=41029e71051b1c786bae3112a29905a7"
|
||||
|
||||
Reference in New Issue
Block a user