1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-04-20 11:29:54 +00:00
Commit Graph

101 Commits

Author SHA1 Message Date
Ross Burton
858c7553a8 Revert "CI: add patches to fix perf with clang"
These fixes have been merged into oe-core so are no longer needed.

This reverts commit e3cb27c06a.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-01-30 13:35:51 +00:00
Ross Burton
e3cb27c06a CI: add patches to fix perf with clang
Apply two in-flight patches to fix the build of perf with clang.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-12-19 17:15:32 +00:00
Ross Burton
196ae5166d ci/get-binary-toolchains: rewrite, slightly
Add set -e so errors are fatal.

Allow HOST_ARCH and VER to be overridden by the environment, for testing.

Pull the tarball basename into a variable to reduce duplication.

Turn the wget call into a function to reduce duplication.

Drop the big-endian binaries as we never use those.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-12-16 17:32:06 +00:00
Ross Burton
3366ba9427 CI: remove armcompiler references
Arm Compiler has been removed, so remove it from the CI.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-12-15 17:17:07 +00:00
Jon Mason
af928569b4 ci: work around zephyr test issues
zephyr uses icount to improve test accuracy on virtual hardware.  Do
the same here for the same reason for the platforms that actually test.
Also, the common test now appears to work for microbit-v1 and poll doe
snot work for qemu-cortex-m3

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-06-22 12:10:34 -04:00
Ross Burton
fc09cc0e8d CI: use external-arm-toolchain 10.3
The 11.2 release of the Arm GCC uses Broadwell-onwards instructions, but
our CI (and many other users) have pre-Broadwell hardware.

Until 11.3 is released which fixes this, go back to using 10.3 for our CI.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-05-18 08:00:16 -04:00
Vishnu Banavath
43224b60b7 arm-bsp/tf-a-tests: Add recipe to build and install TFTF
TFTF is TF-A tests that runs at NS-EL2. This is primarily developed to
test the TF-A interfaces exposed to NS code.

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-05-12 13:00:07 -04:00
Ross Burton
b838d40efe CI: use kirkstone branches for meta-clang and meta-virtualization
These branches have kirkstone branches now, so use them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-05-10 09:43:33 -04:00
Sumit Garg
50b34c5cc9 external-arm-toolchain: Add support for Arm GCC 11.2 binary release
Arm GCC 11.2 binary release has completely changed the way how libc was
packaged in earlier binary releases. So adjust do_install() accordingly
to support Arm GCC 11.2 as well as earlier binary releases.

Along with this update CI as well to point at Arm GCC 11.2 binary
releases.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-04-29 13:14:01 -04:00
Ross Burton
84abf1d593 CI: use kirkstone branch, not master
Until we have released and branched meta-arm we're tracking kirkstone, not
master.  oe-core has branched and master is changing fast, so switch
the default branch now.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-04-27 17:54:33 -04:00
Jon Mason
9f0c905066 CI: add testing for edk2
For platforms that can do both u-boot and edk2, add a yml to switch from
u-boot to edk2.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-04-22 11:31:25 -04:00
Ross Burton
9c0e0c01cb CI: run more tests for qemuarm64-secureboot
Not that we're not forcing TAP networking the SSH connections work, so
we can run the full test suite.

We have to skip parselogs currently as there is an error:

  software IO TLB: Cannot allocate buffer

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-04-07 12:26:40 -04:00
Ross Burton
acc72a8627 CI: rename sshd section in testimage.yml
Rename the fragment that installs a SSH daemon to 'sshd' instead of the
generic 'packages'.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-04-07 12:26:40 -04:00
Ross Burton
57baaaa218 CI: install pregenerated SSH keys to speed up boot
As we're in a CI environment there's no need to generate unique SSH keys
on boot.  Installing the pregenerated SSH keys means they don't need to
be generated, which saves a reasonable amount of boot time due to the
lack of entropy if virtio-rng isn't available.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-04-07 12:26:40 -04:00
Harry Moulton
5c83fa8364 arm-bsp/machine: Add runfvp config for corstone1000
Add the runfvp config for corstone1000-fvp.

Signed-off-by: Harry Moulton <harry.moulton@arm.com>
2022-04-04 19:29:21 +01:00
Rui Miguel Silva
575d502cc8 kas/ci: add corstone500 platform
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>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-04-01 11:00:09 -04:00
Ross Burton
5289c05289 CI: add basic selftest job
Currently this just executes the runfvp tests, but we can extend it over
time.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-31 15:00:09 -04:00
Ross Burton
ba7803e513 CI: clean up assignments in base.yml
Split the base local.conf configuration into base (absolutely needed)
and setup (typical configuration). This is needed as oe-selftest needs a
minimal configuration to execute in, for example doesn't inherit
rm_work.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-31 15:00:09 -04:00
Ross Burton
c49d401828 CI: fix INHERIT assignment
We were accidentally assigning instead of adding to INHERIT.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-28 14:54:08 -04:00
Ross Burton
4c66c6dfd6 CI: run testimage on fvp-base-arm32
Now that virtio networking is up, testimage works.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-28 14:53:50 -04:00
Jon Mason
ccec56deff arm-toolchain: update Arm GCC to 11.2
Update the Arm GCC source to the latest version.  Also, update the GCC
patches to apply cleanly, removing those that are no longer relevant.
Add the CVEs from Sumit Garg's series.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-23 09:34:09 -04:00
Emekcan Aras
bc278abe27 arm-bsp/corstone1000: remove the need for meta-arm-image
This commit remove meta-arm-image from the yml file and adds
necessary image configuration to meta-arm-bsp/recipes-bsp/images.

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-18 09:49:22 -04:00
Ross Burton
b5a2d1204d Revert "CI: apply in-flight patches to fix lopper and python-dtc"
This reverts commit 628719c5a5.
2022-03-07 13:29:14 +00:00
Ross Burton
50d820d037 Revert "CI: apply in-flight patches to fix python3-cryptography"
The patches were merged in meta-oe d605093bc.

This reverts commit d97f9d322e.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-01 09:30:27 -05:00
Ross Burton
628719c5a5 CI: apply in-flight patches to fix lopper and python-dtc
Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-28 14:33:01 +00:00
Ross Burton
d97f9d322e CI: apply in-flight patches to fix python3-cryptography
Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-28 14:26:38 +00:00
Jon Mason
50fd2d469a Revert "CI: apply a patch so that meta-zephyr is compatible with kirkstone"
This reverts commit 7dd00e4d71.
2022-02-28 09:25:32 -05:00
Ross Burton
41dfded19b Revert "CI: temporarily pin meta-oe to pre-python-wheel removal until oe-core catches up"
python3-wheel is now in oe-core, so we need to use the meta-oe without
python3-wheel.

This reverts commit 5e59ebf2d3.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-25 16:41:44 +00:00
Ross Burton
5e59ebf2d3 CI: temporarily pin meta-oe to pre-python-wheel removal until oe-core catches up
Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-24 19:35:39 +00:00
Ross Burton
7dd00e4d71 CI: apply a patch so that meta-zephyr is compatible with kirkstone
Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-23 13:44:55 +00:00
Ross Burton
479aaa7bfb Update for LICENSE_FLAGS_WHITELIST rename to _ACCEPTED.
LICENSE_FLAGS_WHITELIST has been renamed to LICENSE_FLAGS_ACCEPTED in
oe-core master.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-22 12:34:31 +00:00
Khem Raj
5119b4ad63 meta-arm-toolchain: Use renamed SKIP_RECIPE var flags
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-22 12:33:04 +00:00
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