1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-07 16:59:30 +00:00
Commit Graph

1198 Commits

Author SHA1 Message Date
Ross Burton 52bb585fa5 arm-bsp/u-boot: remove unused 2020.10 recipe
This was last used by TC0, but that upgraded in 6bf368c.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-08 23:10:42 -05:00
Ben Horgan 4de50f4c87 arm-bsp/optee-test: tc: Limit xtest to a single thread
When multiple threads are allowed xtest will fail and
leave the system in a bad state after repeated runs.

Signed-off-by: Ben Horgan <ben.horgan@arm.com>
Change-Id: I16f07df1a362540560975deaa5a291a68c332bfb
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-03 12:00:10 -05:00
Davidson K 37ee3eecc5 arm-bsp/tc: enable tracing in Total Compute
Enable coresight components in the config and also port the patches
which were upstreamed in later version of the linux kernel.

Change-Id: I27983abd5f2945328f7465cc1b2af4f8e848b69b
Signed-off-by: Davidson K <davidson.kumaresan@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-03 11:00:08 -05:00
Ross Burton dc24699136 CI: use the latest release of the Kas container
If we don't specify a tag name GitLab uses the 'latest' tag, which for
Kas is moved whenever an image build is made.

Instead explicitly use the latest-release tag, which is only updated
when a release is made.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-28 19:04:59 -05:00
Ross Burton 8a42328437 Revert "meta-arm: add old version of python3-cryptography"
This reverts commit a15c16068a.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-27 12:00:08 -05:00
Ross Burton 778236335a Revert "meta-arm-bsp: use old python3-crytography on platforms using TF-M"
This reverts commit 2a27bd4f47.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-27 12:00:08 -05:00
Ross Burton 1ee7937472 arm/trusted-firmware-m: set OpenSSL provider path
imgtool from mcuboot uses python3-cryptography-native, and the latest
python3-cryptography explicitly loads the legacy provider, which is a
separate shared object in OpenSSL 3.  The search path for providers is
hard-coded into the library so the wrong path is searched and the module
is not found.

Set OPENSSL_MODULES so the right path, so that the legacy module is
found.  In the future we may be able to be removed this if the explict
use of legacy algorithms is removed
(https://github.com/pyca/cryptography/issues/6809).

This also means we can remove the downgrades of python3-crytography that
were being carried in meta-arm.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-27 12:00:08 -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 57f03491be scripts/machine-summary: link patches to cgit
Add links from the patch names to the patches in cgit for ease of
inspection.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-26 11:00:08 -05:00
Ross Burton b1e4cff75d scripts/machine-summary: improve layer_path
As this can get called lots but the data doesn't change, cache
the responses.  Also return a pathlib.Path, as this is 2022.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-26 11:00:08 -05:00
Ross Burton 72bb1adf3f scripts/machine-summary: show patch count in the overview
Instead of simply adding a tag saying "Patched", include the patch count
and make a judgement call on whether the patches are "safe" or not. For
example, patches which are entirely backports or inappropriate are
"safe", pending and denied patches are not.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-01-25 16:31:57 +00:00
Ross Burton 38cd9b6f59 scripts/machine-summary: remove default Format.render()
There's no shared code anymore, so move the code to TextOverview.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-01-25 16:31:57 +00:00
Ross Burton de23f25be5 scripts/machine-summary: don't mark denied patches as good
A patch in denied state isn't good, it's bad.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-01-25 16:31:57 +00:00
Ross Burton bc3d654504 scripts/machine-summary: remove obsolete is_old test
This test isn't used any more, so remove it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-01-25 16:21:01 +00:00
Ross Burton d2c5a5d289 CI: fix check-layer indeterminism
yocto-check-layers is very greedy when searching for layers, and will
find the test layers in Bitbake if given the chance, for example:

bitbake/lib/layerindexlib/tests/testdata/layer4

This layer has the collection name openembedded-layer and is only
compatible with Sumo.  The selection of layer from collection name is
not deterministic, so it's possible that this layer is selected which
then fails the check as it isn't compatible.

Solve this by restricting the dependency layers in meta-arm to just
meta-arm/meta-*, so it doesn't recurse into meta-arm/work/poky/bitbake.

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 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 ed737688f2 arm/psa-arch-tests: set PV correctly
Don't use SRCREV in the PV, but use SRCPV as this truncates the SHA.

Also bump to 1.2+git, as the psa-arch-tests project does tag releases.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-24 12:00:31 -05:00
Ross Burton 1fbdea98ce arm-bsp/optee-os: use SRCPV in the corstone1000 overrides
corstone1000 currently has a git snapshot of optee-os, so that the
version number is managable use SRCPV instead of SRCREV.

Also fix whitespace in SRC_URI.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-24 12:00:31 -05:00
Ross Burton 82d91ee3ac arm-bsp/trusted-firmware-m: use SRCPV in the corstone1000 overrides
corstone1000 currently has a git snapshot of TF-M, so that the version
number is managable use SRCPV instead of SRCREV.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-24 12:00:31 -05:00
Ross Burton 8411792668 arm/trusted-firmware-m: use relative paths for SRC_URI destsuffix
It's not recommended to use ${S} in SRC_URI as S contains references
to the version which results in a circular list of variable lookups.

destsuffix is relative to WORKDIR and defaults to git/, so use relative
paths with the same result.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-24 12:00:31 -05:00
Ross Burton 558af689d5 arm-toolchain/gcc-arm-none-eabi: remove old 2020-q2 recipe
This was only used by Corstone 700, so is redundant now.

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
Ross Burton 3a8c1fd59a arm-bsp/linux-yocto: remove old 5.6 recipe
This was only used by Corstone 700, so is redundant now.

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
Ross Burton 1d34798b5c arm-bsp/u-boot: remove old 2020.04 recipe
This was only used by Corstone 700, so is redundant now.

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
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
Ross Burton 254482284d runfvp: fix undefined variable in terminal selection login
Since 10e60cc the terminal_map doesn't exist, this piece of code wasn't
updated.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-21 12:00:06 -05:00
Ross Burton edf050394e arm/oeqa/fvp: fix scoping issues with the bootlog
If wait_for_login() times out then it raises an exception instead of
passing back return values, so the bootlog is never assigned.

We always want a boot log, so initialise it outside of wait_for_login and
pass it in.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-21 12:00:06 -05:00
Arunachalam Ganapathy 5377fb7e09 arm/u-boot: add patch to support higher DRAM on TC
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: Ifbf9e73a0e1134d1a0ecce036c9ba53fe7d5b1bf
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-21 07:00:07 -05:00
Arunachalam Ganapathy 88334e1664 arm-bsp: Set preferred u-boot version to 2021.10 for TC
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: I1c814cdbcff158f70910cafb4cbd0656271acaef
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-21 07:00:07 -05:00
Arunachalam Ganapathy 2201fa268d arm-bsp/optee: add patch to support higher DRAM on TC
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: I54831317126b27e8635d941dce321df8471301f1
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-21 07:00:07 -05:00
Ross Burton 0c0b88bc56 arm-bsp/secure-partitions: add missing Signed-off-by tags to patches
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-20 15:00:06 -05:00
Ross Burton 92ad824b70 arm-bsp/optee-os: clean up TC patches
Instead of patching a file we patched, integrate the changes directly
into the first patch.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-20 15:00:06 -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
Ross Burton 2a27bd4f47 meta-arm-bsp: use old python3-crytography on platforms using TF-M
As the latest python3-crytography breaks TF-M builds, downgrade those
machines using TF-M (musca and corstone) to python3-crytography-native
3.3.2 temporarily.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-20 11:35:57 -05:00
Ross Burton a15c16068a meta-arm: add old version of python3-cryptography
meta-python has upgraded to python3-cryptography 36, which has a problem
when used in native recipes:

  cryptography.exceptions.InternalError: Unknown OpenSSL error

This causes all builds of TF-M to fail.

Until this error is fixed, add the old version of python3-cryptography.
A BBMASK is set so that it has to be explicitly opted-in, as it DEPENDS
on recipes from meta-python which isn't a hard dependency for meta-arm.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-20 11:35:57 -05:00
Ross Burton aaac054165 CI: update for changes to machine-summary
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-19 17:09:58 -05:00
Ross Burton c4b34740cf scripts/machine-summary: write per-machine reports with more details
Rename the updates.html format to just 'report'.

This report has the existing overview as the index.html, and then
per-machine files are written with the patch breakdown.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-19 17:09:58 -05:00
Ross Burton b1b0f37da7 scripts/machine-summary: put more version information into the context
As well as storing the truncated PV, also store the original PV and
whether the recipe needs updating, to avoid the templates needing to
do that logic.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-19 17:09:58 -05:00
Ross Burton 0d2d0fd691 scripts/machine-summary: refactor output to classes
To prepare for future expansion, refactor the output code to be delegated
to Format subclasses.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-19 17:09:58 -05:00
Ross Burton cb29175ab4 scripts/machine-summary: harvest more patch data
Instead of just putting whether there are patches or not into the
context, store the list of patches, the layer they came from, and the
upstream status.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-19 17:09:58 -05:00
Ross Burton 0235036957 scripts/layer-overview: improve layer detection
Refactor the script somewhat, and detect whether the starting directory
is a single layer, or a collection of layers.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-19 17:09:58 -05:00
Arunachalam Ganapathy 763764dd2a arm-bsp/hafnium: extend stage-1 mapping limit on TC
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: Ia6fb2cfd7812a63a003dc3ffbc84fb8d410d02c3
2022-01-19 14:00:10 -05:00
Davidson K 8734d14674 arm-bsp: tc: use proper UUID in optee and linux kernel
Recently the way of handling Secure Partitions UUID changed in TF-A
and that needs corresponding changes in required components.  Hence
changing them for optee and linux kernel.

Signed-off-by: Davidson K <davidson.kumaresan@arm.com>
2022-01-19 10:00:11 -05:00
Vishnu Banavath 522350ba73 arm-bsp/psa-arch-tests: change master to main for psa-arch-tests repo
master branch is renamed to main on psa-arch-tests github

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Change-Id: I6bd49c68aa1a2358c976a3eb0adc5b2a9c5edb94
2022-01-18 13:29:32 -05:00
Jon Mason 74caf3d057 arm-bsp: create u-boot 2020.10 to resolve warning
Poky, etc master branches updated the u-boot recipes to use 2022.01,
causing bbappends for 2021.10 to no longer function.  Create a temporary
recipe for 2021.10 until all the BSPs can update to support the latest
version.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-18 13:00:12 -05:00
Anders Dellien daa8388dad arm: update Android common kernel and config
Move to newer tag of ACK as well as update to the latest gki_defconfig
using fragments to support TC.

Signed-off-by: Anders Dellien <anders.dellien@arm.com>
Change-Id: I71fe31730ce063e9604b8adc879e0a626b3320e7
2022-01-18 13:00:12 -05:00
Anders Dellien db56f59865 arm-toolchain: Support linux-arm64-ack build with Android Clang
This commit introduces a configuration variable, LINUX_ACK_TOOLCHAIN_CLANG,
that (if set) switches the kernel build to use the Android Clang compiler

Change-Id: Iab362916159bf6e8096061f1b7281a7513001d61
2022-01-18 13:00:12 -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
Vishnu Banavath c1f1a040e7 arm-bsp/uboot: fix null pointer exception for get_image_info
This change is to fix NULL pointer exception for get_image_info
API for corstone1000 platform

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
2022-01-17 15:59:43 -05:00
Vishnu Banavath edde4cbf68 arm-bsp/tf-m: fix capsule instability issue for corstone1000
This change is to upgrade TF-M to latest git hash which contains
fix for capsule instability issue for corstone1000 platform.

Latest TF-M would also require v3.1 mbedtls. Also updated git hash
for mbedtls repo.
2022-01-17 15:59:43 -05:00