1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-04-24 12:48:54 +00:00
Commit Graph

219 Commits

Author SHA1 Message Date
Jon Mason
962173714f ci: remove psa-arch-tests from corstone1000-common.yml
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-18 08:10:11 -05:00
Ross Burton
4ccc5638b5 CI: consolidate target in meta-zephyr.yml
Set a default target in meta-zephyr.yml to avoid duplication now that
most configurations build zephyr-kernel-test-all.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-11 08:40:39 -05:00
Ross Burton
94a08c23b0 CI: improve coverage of corstone1000
Consolidate the CS1K kas files into a common file, and respect the
platform policy by setting the DISTRO to poky-tiny. Also add the
CS1K-specific recipes psa-arch-tests and ffa-debugfs-mod to the build.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-11 06:00:16 -05:00
Ross Burton
f868b51fd3 CI: build perf via CORE_IMAGE_EXTRA_INSTALL
Instead of adding perf to the target: list, add it to
CORE_IMAGE_EXTRA_INSTALL. This means that machine configurations which
need to change the target don't need to also build perf explicitly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-11 06:00:16 -05:00
Jon Mason
e09839481a CI: update zephyr based testing
Update the zephyr testcases to be the ones that build and pass tests
(where testing possible).  Also, add comment to qemu-cortex-a53 about
not passing tests.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-09 00:00:13 -05:00
Ross Burton
828ad702ac CI: enable memory-resident bitbake
Enable memory-resident bitbake by setting the server timeout to 60s.

For most builds this doesn't have an impact as bitbake is ran once, but
this reduces the time for the pending-upgrades report from 10 minutes to
3 minutes, as it doesn't need to constantly restart bitbake.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-27 08:43:37 -05:00
Ross Burton
710cf290b5 CI: update for meta-zephyr changes
As of meta-zephyr dde88ba the layer is structured different, split into
meta-zephyr-core and meta-zephyr-bsp.

As we define our own machines for use with Zephyr, we can just use
meta-zephyr-core.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-24 13:00:06 -05:00
Ross Burton
92490b7fc5 arm-bsp: remove Corstone 700
Corstone 700 is end-of-life, so remove it from meta-arm master.

It will remain in the stable branches for existing users, but new users
are encouraged to use Corstone 1000 instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-24 12:00:08 -05:00
Jon Mason
8601ba85f7 Revert "ci: ignore distutil warnings"
This reverts commit 63cb70be72.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-20 11:41:44 -05:00
Jon Mason
2766987583 ci: use matrix for yocto-check-layer
The check-layers task takes longer than any of the individual tests
running.  Split this up to take advantage of parallelism and speed up
the overall runs.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-20 11:40:28 -05:00
Usama Arif
c4fb4f53cb arm-toolchain: Fetch prebuilt Android Clang, version r416183b
This Clang version is present in Android master
(as of October 8, 2021)

Signed-off-by: Usama Arif <usama.arif@arm.com>
Signed-off-by: Anders Dellien <anders.dellien@arm.com>
Change-Id: I957742ee943ef68119fd7c7e2bd8ee62b717b31c
2022-01-18 13:00:12 -05:00
Jon Mason
63cb70be72 ci: ignore distutil warnings
distutil warnings are causing CI to fail.  This is caused by changes
outside of meta-arm, and are not relevant for anything present in
meta-arm.  Temporarily ignore these until they can be handled upstream.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-17 11:56:47 +00:00
Ross Burton
df0da2d486 CI: add patch status metrics
Embed an improved patchreview tool which can generate metrics.txt files,
and run that as part of the CI.  This means that every merge request
will include a section if the metrics change, so it is easy to spot if
patches with bad headers are added.

The changes to patchreview will merge into oe-core soon, so when that
happens we can drop the copy.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-12-23 10:57:54 +00:00
Jon Mason
f028dc0e8b arm-bsp: add zephyr for musca-s1
Zephyr supports musca-s1 boards.  Add support in the machine config file
and the relevant CI entries to build it.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-12-15 14:07:26 -05:00
Ross Burton
d446f7f80b CI: update for new Kas include semantics
With Kas 2.6 included YAML files need to be relative to the repository,
not the including file:

https://kas.readthedocs.io/en/latest/format-changelog.html#version-11

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-12-10 10:35:28 -05:00
Jon Mason
a70500117a ci: QEMU_USE_KVM needs empty variable
QEMU_USE_KVM needs to be empty, not 0.  Otherwise, it doesn't catch and
runs KVM anyway (which breaks inside our docker containers).

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-12-01 15:52:46 -05:00
Ross Burton
b6551e85a6 CI: disable use of KVM
oe-core c2a2d47 changed the default of QEMU_USE_KVM to 1, so qemu will
want to use KVM and will error if it can't.  Our CI runners don't have
KVM, so we need to disable this.

In the long term this should be more intelligent as some workers have
KVM and some don't, but this will get successful builds again.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-11-30 11:21:58 +00:00
Ross Burton
4862014474 CI: build optee-spdevkit for qemuarm64
To ensure that optee-spdevkit works in all configurations, but it in the
CI for qemuarm64 not just corstone1000.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-29 10:36:30 -05:00
Ross Burton
c55ff70355 CI: build optee-test in qemuarm64-secureboot
This recipe doesn't get built through dependencies, so add it explicitly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-11-26 15:00:24 +00:00
Arpita S.K
fecc5e2db1 arm-bsp/machine: introducing corstone1000 MPS3 machine
This commit adds the corstone1000-mps3 machine.

Change-Id: I99f657574a693527d7763cb4cc9b0b05218bb316
Signed-off-by: Arpita S.K <Arpita.S.K@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2021-11-23 16:06:41 +00:00
Jon Mason
26f92c011e CI: use matrix for more defined way of doing things and cleanup
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-17 13:35:41 -05:00
Ross Burton
b09863db6e CI: disable use of Yocto sstate server
The public sstate server isn't up to the load just yet and often-enough
will take a very long time to respond, causing build failures.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-11-15 12:34:37 +00:00
Jon Mason
c40fb5348b arm/qemuarm64-sbsa: replace with qemu-generic-arm64
Migrate the qemuarm64-sbsa machine to use the generic-arm64 machine as a
base.  This new qemu-generic-arm64 should contain only the parts
necessary to boot the generic-arm64 in qemu (using the SBSA machine).
This allows for a single generic image with testing for SBSA compliance.

NOTE: a unique WIC file is needed due to the inability to pass kernel
bootargs (due to needing DHCP for testimage).

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-11 17:22:03 -05:00
Jon Mason
edbc4d1f8f CI: remove unnecessary "+="
Seeing error of
WARNING: ZEPHYRTESTS:remove += is not a recommended operator combination, please replace it.

Correcting the issue by changing it accordingly.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-11 09:34:23 -05:00
Ross Burton
46ca470dfe arm: add fvp-corestone1000
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-08 12:27:26 -05:00
Jon Mason
50389eb377 CI: remove target from testimage yml file
Since we are using TESTIMAGE_AUTO, providing the target field in the
testimage yml file is no longer necessary.  This allows for multiple
payloads to be built, while still allowing for testing.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-04 10:19:12 -04:00
Jon Mason
8aa1242d94 CI: use master branch again
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-01 21:01:07 -04:00
Diego Sueiro
c2ff49c4a9 arm-autonomy: Remove code from master as part of the deprecation plan
The meta-arm-autonomy layer is being deprecated from master, with bug fixes
only being applied to the following branches. Additionally, all support and
maintenance of meta-arm-autonomy will stop as per the schedule below.

    honister: End-of-life scheduled to June 2022
    hardknot: End-of-life scheduled to December 2021
    gatesgarth: End-of-life scheduled to October 2021
    dunfell: End-of-life scheduled to October 2021
    master: End-of-life scheduled to October 2021 and code removed

Issue-Id: SCM-3552
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Change-Id: I3ca58f8c13b1ecb3dbaf0d60f0f52b016292633d
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-29 10:03:47 -04:00
Arpita S.K
a5d8dfa52e corstone1000: Introducing ci and kas files
Adding ci and yaml files to support
corstone1000-fvp.

Change-Id: I74ebc3570d4b0c8abae58be5ef69064fc33e5bea
Signed-off-by: Arpita S.K <Arpita.S.K@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-29 09:22:35 -04:00
Ross Burton
2e0c479b00 CI: use honister branch for meta-clang
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-26 09:26:52 -04:00
Ross Burton
0b2b50b54a CI: use http: to access sstate mirror
The sstate mirrors are not available over HTTPS currently due to a
certificate problem, so use plain HTTP instead.

Change-Id: I5b974d67bc13f7c7234927c6bc62a8c733e454c3
Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-10-19 16:39:20 +01:00
Ross Burton
ba00c6d905 CI: enable testimage for fvp-base
Inherit fvpboot so that the FVP binary is fetched and configuration
generated.

Configure the FVP to forward host port 8022 to port 22 locally, and
tell testimage to SSH to localhost:8022. This has the limitation that
only one testimage can run per machine, but this will be removed shortly.

Disable the parselogs test case, as there are some harmless warnings in
the dmesg which cause it to fail.  Currently meta-arm can't extend the
whitelist of ignorable warnings.

The FVP binaries are x86-64 only, so tag the job appropriately.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-18 13:45:29 -04:00
Ross Burton
3e39f58630 CI: build against Honister until release
oe-core has branched Honister off and master is taking breaking changes.
As we're still stabilising for release, we should pin to the honister
branches where possible.

Change-Id: Icb05bee45dcc88ca9cbac72b7c18cbaeb89a7491
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-12 12:54:14 -04:00
Jon Mason
98193f3b61 CI: Add zephyr testimage
Add the ability to run testimage against zephyr machines.
Unfortunately, this exposes a bug in meta-zephyr with TESTIMAGE_AUTO not
working correctly.  So, work around this until it can be fixed upstream.
Also, qemu-cortex-a53 does not successfully pass any of the tests it
successfully builds.  So, don't run testimage until that can be
addressed.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-08 12:34:13 -04:00
Jon Mason
335104d6cb ci: use YP sstate mirror
To speed up build times, use the global Yocto Project sstate mirror.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-08 12:34:13 -04:00
Ross Burton
b3e29e60e7 CI: build a proper TC0 image on x86-64
Change-Id: Id3da3b6efd620c2052ef59dc731e4b159830e805
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-04 18:26:23 -04:00
Ross Burton
898aa08df6 CI: add a job to build the FVP packages
This doesn't execute anything but simply checks that the publically
available FVPs can be downloaded and packaged.

Change-Id: I13895faa6fe6b19363854c33275a3febf61b7132
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-09-20 15:56:32 -04:00
Ross Burton
35acf44b39 CI: add FVP-EULA to the license whitelist
So that we can build and use FVP packages in the CI, agree to the FVP
EULA.

Change-Id: Iaff2398000c30782f48f70714846d3f1028b34bb
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-09-20 15:56:32 -04:00
Jon Mason
eba91cc15b ci: update binary gcc version to 10.3
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-09-14 11:47:44 -04:00
Jon Mason
bf5ec4f203 ci: make get-binary-toolchain run per build
In a distributed, non-homogeneous CI setup, the binary-toolchain setup
script might not run on the machine that needs the toolchains.  Make
this per-build and it will always be there, at the expense of running on
builds that might not need it (though it still should be fast).

Also, there is an issue with the directory where the binary toolchain is
located being global, and racing against other systems using, setting up,
and tearing down.  Link this to a local directory to avoid any races.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-09-14 11:47:44 -04:00
Sumit Garg
13972eed3c arm-toolchain: Uprev 10.2 -> 10.3
Update Arm GCC toolchain recipe and patches accordingly.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>

Changes in v2:
- Drop support for 10.2 release.
- Update CI to use 10.3 release instead.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-25 19:16:04 -04:00
Jon Mason
912901ba53 arm/qemuarm64-secureboot: use 5.10 kernel
qemuarm64-secureboot is failing to boot with the 5.13 kernel.  Use the
5.10 kernel until this can be addressed.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-19 12:17:02 -04:00
Jon Mason
a23f2da8ab qemu-cortex-r5: add support
Mostly for testing out cortex-r tunes...mostly

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-16 17:35:49 -04:00
Usama Arif
e8c1001068 arm-bsp/tc1: Add support for new TC1 platform
The same patches are used by tc0 and tc1. Hence rename the folders
that contain the Total Compute patches to be called "tc". The
artifacts image is used by both tc0 and tc1, hence renamed to
tc-artifacts-image.

Signed-off-by: Usama Arif <usama.arif@arm.com>
Change-Id: Ib0b4fbca9a009c432c1e6696c5437a7d24a25d1f
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-16 11:16:05 -04:00
Jon Mason
c561f356ed ci: move meta-virtualization back to master branch
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-13 11:11:43 -04:00
Ross Burton
8f204c28da ci/check-machine-coverage: use listmachines.py
Change-Id: I5a7e706ae29b76a39aed8acfc0cd825e942b1cfe
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-12 09:49:19 -04:00
Ross Burton
abe47cb981 ci/listmachines: add helper to list machines in a layer
Instead of duplicating this logic, put it in a little helper module.

Change-Id: I2ca881c8de7e6ec6d4a940255d9ba97226e78d87
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-12 09:49:19 -04:00
Jon Mason
181abb1737 CI: Remove qemuarmv5 parselog workaround
qemuarmv5 parselog fix is now upstream.  Remove the workaround.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-10 09:18:28 -04:00
Jon Mason
c0bc7e9e8f CI: move xen specific changes out of gem5-arm64-xen.yml
Move the xen specific changes out of gem5-arm64-xen.yml.  This allows
for other xen machines in the CI.  Adding Xen machines for qemuarm and
qemuarm64 allows for more testing, which should be expanded when the Xen
Test Framework in meta-virtualization is expanded to work on arm
machines.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-06 12:47:35 -04:00
Jon Mason
e62567a386 CI: rename meta-python to meta-openembedded
Rename the meta-python.yml file to be meta-openembedded.  This allows
for more usage of the layers present there (as meta-python is housed
under meta-openembedded).

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-06 12:47:19 -04:00