@@ -72,6 +72,11 @@ update-repos:
corstone500:
extends: .build
+ parallel:
+ matrix:
+ - TESTING: testimage
+ tags:
+ - x86_64
corstone1000-fvp:
extends: .build
@@ -3,4 +3,16 @@ header:
includes:
- ci/base.yml
+local_conf_header:
+ testimagefvp: |
+ INHERIT += "fvpboot"
+ IMAGE_FEATURES:remove = " ssh-server-dropbear"
+ perf: |
+
machine: corstone500
+
+distro: poky-tiny
+
+target:
+ - core-image-minimal
+ - perf
new file mode 100644
@@ -0,0 +1,47 @@
+header:
+ version: 11
+
+distro: poky-tiny
+
+defaults:
+ repos:
+ refspec: master
+
+repos:
+ meta-arm:
+ layers:
+ meta-arm:
+ meta-arm-bsp:
+ meta-arm-toolchain:
+
+ poky:
+ url: https://git.yoctoproject.org/git/poky
+ refspec: master
+ layers:
+ meta:
+ meta-poky:
+ meta-yocto-bsp:
+
+ meta-openembedded:
+ url: https://git.openembedded.org/meta-openembedded
+ refspec: master
+ layers:
+ meta-oe:
+ meta-python:
+
+local_conf_header:
+ base: |
+ CONF_VERSION = "2"
+ PACKAGE_CLASSES = "package_ipk"
+ LICENSE_FLAGS_ACCEPTED += "armcompiler"
+ BB_NUMBER_THREADS ?= "16"
+ PARALLEL_MAKE ?= "-j16"
+ PACKAGECONFIG:append:pn-perf = " coresight"
+ fvp-config: |
+ IMAGE_CLASSES:append = " ${@bb.utils.contains('BUILD_ARCH', 'x86_64', 'fvpboot', '', d)}"
+ LICENSE_FLAGS_ACCEPTED:append = " Arm-FVP-EULA"
+
+machine: corstone500
+
+target:
+ - core-image-minimal
@@ -32,3 +32,14 @@ PREFERRED_VERSION_u-boot ?= "2022.01"
WKS_FILE_DEPENDS:append = " ${EXTRA_IMAGEDEPENDS}"
WKS_FILE ?= "core-image-minimal.corstone500.wks"
+
+TEST_TARGET = "OEFVPTarget"
+TEST_SUITES = "noop"
+
+FVP_PROVIDER ?= "fvp-corstone500-native"
+FVP_EXE ?= "FVP_Corstone-500"
+FVP_CONFIG[board.flashloader0.fname] ?= "${DEPLOY_DIR_IMAGE}/bl1.bin"
+FVP_DATA ?= "css.cluster.cpu0=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.wic.nopt@0x80000000"
+FVP_CONSOLE ?= "terminal_0"
+FVP_TERMINALS[css.terminal_0] ?= "console"
+FVP_TERMINALS[css.terminal_1] ?= ""
Add kas and ci, including testimage support for corstone500 platform. And for all to work add also the FVP setup. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> --- .gitlab-ci.yml | 5 +++ ci/corstone500.yml | 12 ++++++ kas/corstone500.yml | 47 ++++++++++++++++++++++ meta-arm-bsp/conf/machine/corstone500.conf | 11 +++++ 4 files changed, 75 insertions(+) create mode 100644 kas/corstone500.yml