CI/fvp: made the default target core-image-full-cmdline
PATCH 1/3 CI/fvp: made the default target core-image-full-cmdline
No need to have the full graphics stack for FVP images. Slim the image down by default.
--- ci/fvp.yml | 3 +++ 1 file changed, 3 insertions(+)
ci/fvp.yml +3 -0
@@ -10,3 +10,6 @@ local_conf_header: networking_failing_tests: | # These tests currently fail as the wrong IP for the build host is used TEST_SUITES:remove = "opkg dnf" + +target: + - core-image-full-cmdline
Signature · 1 line
2.50.1 (Apple Git-155)
PATCH 2/3 arm/corstone1000-a320: split off FVP into a unique file and add to CI
The corstone1000-a320 FVP is a unique download and should be treated as such in our CI. Split the relevant parts off, add it to the fvps.yml file, workaround the staticdev and useless-rpath errors that were present in the FVP tarball, and the correct depends in the machine config file.
Also, add this machine to the CI so that any issues can be found with this unique configuration.
--- ci/fvps.yml | 2 ++ .../conf/machine/corstone1000-fvp.conf | 1 + .../fvp/fvp-corstone1000-a320.bb | 24 +++++++++++++++++++ .../recipes-devtools/fvp/fvp-corstone1000.bb | 11 +-------- 4 files changed, 28 insertions(+), 10 deletions(-) create mode 100644 meta-arm/recipes-devtools/fvp/fvp-corstone1000-a320.bb
ci/fvps.yml +2 -0
@@ -19,11 +19,13 @@ target: # Target packages to test aarch64 - fvp-base-a-aem - fvp-corstone1000 + - fvp-corstone1000-a320 - fvp-rd1-ae - fvp-v3-r1 # Nativesdk to test x86-64 - nativesdk-fvp-base-a-aem - nativesdk-fvp-corstone1000 + - nativesdk-fvp-corstone1000-a320 - nativesdk-fvp-rd1-ae - nativesdk-fvp-v3-r1 # These are x86 only... :(
meta-arm-bsp/conf/machine/corstone1000-fvp.conf +1 -0
@@ -22,6 +22,7 @@ DEFAULT_TEST_SUITES:append = " fvp_boot fvp_devices" # FVP Config FVP_PROVIDER ?= "fvp-corstone1000-native" +FVP_PROVIDER:cortexa320 ?= "fvp-corstone1000-a320-native" FVP_EXE ?= "FVP_Corstone-1000" FVP_EXE:cortexa320 = "FVP_Corstone-1000-A320" FVP_CONSOLES[default] = "host_terminal_0"
meta-arm/recipes-devtools/fvp/fvp-corstone1000-a320.bb new file +24 -0
@@ -0,0 +1,24 @@ +require fvp-ecosystem.inc + +MODEL = "Corstone-1000-with-Cortex-A320" +MODEL_CODE = "FVP_Corstone_1000-A320" +PV = "11.30.27" + +FVP_AARCH64_SHA256SUM = "a45898fead5549779153263c3544fa1032c285d532275eb678f58cae3317b01f" +FVP_X86_64_SHA256SUM = "d57b248a1c1bc5a6040605d50af94a5151adc4da26ec9acc456ec86b819ffb76" + +SRC_URI = "https://developer.arm.com/-/cdn-downloads/permalink/FVPs-Corstone-IoT/${MODEL}/${MODEL_CODE}_${PV_URL}_${FVP_ARCH}.tgz;subdir=${BP};name=fvp-${HOST_ARCH}" +SRC_URI[fvp-aarch64.sha256sum] = "${FVP_AARCH64_SHA256SUM}" +SRC_URI[fvp-x86_64.sha256sum] = "${FVP_X86_64_SHA256SUM}" + +# The CSS used in the FVP homepage make it too difficult to query with the tooling currently in Yocto +UPSTREAM_VERSION_UNKNOWN = "1" + +LIC_FILES_CHKSUM = "\ + file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \ + file://license_terms/third_party_licenses/third_party_licenses.txt;md5=a5ce56e117d0ab63791fbb7c35ec2211 \ +" + +COMPATIBLE_HOST = "(aarch64|x86_64).*-linux" +INSANE_SKIP:${PN} += "staticdev rpaths useless-rpaths" +INSANE_SKIP:nativesdk-${PN} += "staticdev rpaths useless-rpaths"
meta-arm/recipes-devtools/fvp/fvp-corstone1000.bb +1 -10
@@ -1,31 +1,22 @@ require fvp-ecosystem.inc MODEL = "Corstone-1000" -MODEL:cortexa320 = "Corstone-1000-with-Cortex-A320" MODEL_CODE = "FVP_Corstone_1000" -MODEL_CODE:cortexa320 = "FVP_Corstone_1000-A320" PV = "11.23.25" -PV:cortexa320 = "11.30.27" FVP_AARCH64_SHA256SUM = "e299e81d5fa8b3d2afee0850fd03be31c1a1c3fad07f79849c63e46ee5e36acc" -FVP_AARCH64_SHA256SUM:cortexa320 = "a45898fead5549779153263c3544fa1032c285d532275eb678f58cae3317b01f" FVP_X86_64_SHA256SUM = "ec34c9564ccb5b1eb62fc2757673343a353db1d116a7cb1b5f82f9d985d99cdf" -FVP_X86_64_SHA256SUM:cortexa320 = "d57b248a1c1bc5a6040605d50af94a5151adc4da26ec9acc456ec86b819ffb76" SRC_URI = "https://developer.arm.com/-/cdn-downloads/permalink/FVPs-Corstone-IoT/${MODEL}/${MODEL_CODE}_${PV_URL}_${FVP_ARCH}.tgz;subdir=${BP};name=fvp-${HOST_ARCH}" SRC_URI[fvp-aarch64.sha256sum] = "${FVP_AARCH64_SHA256SUM}" SRC_URI[fvp-x86_64.sha256sum] = "${FVP_X86_64_SHA256SUM}" - # The CSS used in the FVP homepage make it too difficult to query with the tooling currently in Yocto UPSTREAM_VERSION_UNKNOWN = "1" -LIC_FILES_CHKSUM_MD5 = "0c32ac6f58ebff83065105042ab98211" -LIC_FILES_CHKSUM_MD5:cortexa320 = "a5ce56e117d0ab63791fbb7c35ec2211" - LIC_FILES_CHKSUM = "\ file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \ - file://license_terms/third_party_licenses/third_party_licenses.txt;md5=${LIC_FILES_CHKSUM_MD5} \ + file://license_terms/third_party_licenses/third_party_licenses.txt;md5=0c32ac6f58ebff83065105042ab98211 \ " COMPATIBLE_HOST = "(aarch64|x86_64).*-linux"
Signature · 1 line
2.50.1 (Apple Git-155)
PATCH 3/3 arm/fvps: reorganize CI into segments
In reply to Jon MasonThe downloads page for FVPs is broken down into sub-pages for each "Ecosystem". Organize this file to match that. Also, rename fvp-v3-r1 to "rd" to make more obvious what this refers to.
---
ci/fvps.yml | 32 +++++++++++++------
.../fvp/{fvp-v3-r1.bb => fvp-rd-v3-r1.bb} | 0
2 files changed, 23 insertions(+), 9 deletions(-)
rename meta-arm/recipes-devtools/fvp/{fvp-v3-r1.bb => fvp-rd-v3-r1.bb} (100%)ci/fvps.yml +23 -9
@@ -17,17 +17,31 @@ local_conf_header: target: # Target packages to test aarch64 - - fvp-base-a-aem - - fvp-corstone1000 - - fvp-corstone1000-a320 - - fvp-rd1-ae - - fvp-v3-r1 # Nativesdk to test x86-64 + + # Architecture Envelope Models (AEM) FVPs + - fvp-base-a-aem - nativesdk-fvp-base-a-aem - - nativesdk-fvp-corstone1000 - - nativesdk-fvp-corstone1000-a320 + + # Arm Lumex CSS (Total Compute) FVPs + # These are x86 only... :( + - nativesdk-fvp-tc3 + + # Automotive FVPs + - fvp-rd1-ae - nativesdk-fvp-rd1-ae - - nativesdk-fvp-v3-r1 + + # Infrastructure FVPs + - fvp-rd-v3-r1 + - nativesdk-fvp-rd-v3-r1 # These are x86 only... :( - nativesdk-fvp-sgi575 - - nativesdk-fvp-tc3 + + # IoT FVPs + - fvp-corstone1000 + - nativesdk-fvp-corstone1000 + - fvp-corstone1000-a320 + - nativesdk-fvp-corstone1000-a320 + + # Morello FVPs + # TBD
meta-arm/recipes-devtools/fvp/fvp-rd-v3-r1.bb renamed from meta-arm/recipes-devtools/fvp/fvp-v3-r1.bb +0 -0
Signature · 1 line
2.50.1 (Apple Git-155)
Jon Mason
AppliedQuoted 4 lines · Jon Mason
No need to have the full graphics stack for FVP images. Slim the image down by default.
Applied, thanks!
[1/3] CI/fvp: made the default target core-image-full-cmdline
commit: 832ce9bca33a30a094932ac273fe79758a8fe485
[2/3] arm/corstone1000-a320: split off FVP into a unique file and add to CI
commit: d8c879b9e3fc20728310b45a559bf439d73711fb
[3/3] arm/fvps: reorganize CI into segments
commit: 98b105ce064a149bfb09395d9dc414935c820ca9Best regards,
Signature · 1 line
Jon Mason <[email protected]>