1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-07 04:58:57 +00:00
Commit Graph

2161 Commits

Author SHA1 Message Date
Vincent Stehlé 12e3e2b9c6 arm-bsp/documentation: corstone1000: fix typo
Add a couple of missing `bitbake' commands.

Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
2024-02-08 14:10:47 +00:00
Ali Can Ozaslan 145bb34865 arm-bsp/u-boot:corstone1000: Fix deployment of capsule files
The capsule_cert and capsule_key file generated by u-boot for
corstone1000 do not get deployed correctly since writingh the output directly
to ${DEPLOY_DIR_IMAGE} causes the sstate mechanism to malfunction
especially in the CI builds. This patch fixes the issue and deploy the
generated files correctly.

Signed-off-by: Ali Can Ozaslan <ali.oezaslan@arm.com>
Signed-off-by: Emekcan Aras <Emekcan.Aras@arm.com>
2024-02-08 14:10:15 +00:00
Ross Burton 60202ad84d CI: allow the runner to set a NVD API key
Setting an API key means we get higher rate limits. Because keys are
private, the key must be set in the environment of the runner.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-29 14:00:23 -05:00
Ross Burton 8b94fee205 CI: add explanatory comments to variables
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-29 14:00:23 -05:00
Harsimran Singh Tungal c5e288d1bb n1sdp:arm arm-bsp: fix tftf tests for n1sdp
This changeset fix the tftf tests issue on n1sdp. Before this change, the tftf tests were getting stuck on n1sdp.
The following changes have been done:

1. There were some tftf tests based on multicore which involve powering up the other cores. These tests were creating
issues and the same thing has already been mentioned in the tests-to-skip.txt file for n1sdp platform in tftf source.
Those tests are skipped while executing tftf and patch has been created.

2. The TFTF_MODE variable added for tftf v2.10 recipe file, as did earlier for tftf v2.9. With the help of this, we can
enable debug or relase mode. The configuration based on this has been added for n1sdp in the corresponding bbappend file.

3. Add PREFERRED_VERSION_tf-a-tests for v2.10.

Signed-off-by: Harsimran Singh Tungal <harsimransingh.tungal@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-26 22:10:57 -05:00
Ross Burton a91ddf4869 CI/cve.yml: add a CVE-checking Kas fragment
Add a Kas fragment to enable the CVE checker.  Disable warnings by
default but show them for the layers in meta-arm, because we only care
about meta-arm issues in this CI.

Explicitly hide kernel warnings as the kernel typically has tens of open
CVEs, and if we're carrying a kernel explicitly then it's typically an
interim kernel between releases.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-26 12:00:23 -05:00
Ross Burton 827129b05b CI: support extra kas files from environment
Extend jobs-to-kas so the first argument is still the GitLab job name,
but allow further arguments to specify extra Kas files to use in
addition.

Then add a variable EXTRA_KAS_FILES to the CI configuration that
defaults to the empty string and pass this to jobs-to-kas.

This lets specific pipeline runs add extra Kas files, for example to use
experimental branches or enable extra features without touching the CI
directly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-26 12:00:23 -05:00
Jon Mason d1f0597822 arm-bsp/optee: remove unused v3.22.0 recipes
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-26 11:00:27 -05:00
Jon Mason 5a78c75f35 arm/optee: update to 4.1
Add 4.1.0 recipes and move 4.0.0 to meta-arm-bsp for n1sdp

Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-26 11:00:27 -05:00
Jon Mason b422688735 arm/opencsd: update to v1.5.1
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-26 11:00:27 -05:00
Harsimran Singh Tungal 6bb1fc8d8c n1sdp:arm-bsp/optee: Update optee to v4.0
This change updates the optee version to v4.0

Signed-off-by: Harsimran Singh Tungal <harsimransingh.tungal@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-24 10:00:22 -05:00
Ross Burton 1ef1b0ab25 arm-bsp/linux-yocto: add 6.1 recipe
Linux 6.1 will be removed from oe-core master shortly, so whilst we
still have BSPs that use it (specifically, n1sdp) carry a 6.1 recipe in
meta-arm-bsp.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-23 20:17:32 -05:00
Vikas Katariya 1cad3c3813 arm-bsp/linux-yocto: Remove EOL Linux yocto kernel 6.5
Since there are no platforms using this version, this reciepe can
be removed.

Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-18 13:00:28 -05:00
Vikas Katariya 1c21b457db arm-bsp/n1sdp: Downgrade to 6.1 linux yocto kernel
Since linux yocto kernel 6.5 is EOL and other layers like
meta-virtualization dropping support for it, it would be
sensible to downgrade the kernel to 6.1 which is a LTS.

This is a temporary change and later we would move to 6.6 when its
officially supported on N1SDP.

This revert the following commits:
* 1fe76c893c
* 21df60b921

Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-18 13:00:28 -05:00
Jon Mason 4ada485283 arm/opencsd: update to 1.4.2
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-18 10:00:22 -05:00
Ross Burton 3d3cf56dc9 arm/fvp-base-a-aem: upgrade to 11.24.11
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-18 10:00:21 -05:00
Jon Mason c538ae49ee arm/trusted-firmware-m: update to 2.0.0
Updated to the latest version.  Corstone1000 doesn't seem to boot.  So,
pull back the old version to meta-arm-bsp for it to use temporarily.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-15 19:00:22 -05:00
Jon Mason 8127e49f6b arm/pyhsslms: update to 2.0.0
Changes were needed due to the 2.0.0 version not being available for
download at pypi (though listed as the latest version there).

Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-15 19:00:22 -05:00
Ross Burton 83df70e181 arm-bsp/documentation: upgrade Sphinx slightly
Many Sphinx plugins now require Sphinx 5+ ([1], [2], and more), so
sphinx 4.5 isn't usable as the requirements in sphinx itself are not
pinned so you end up with a broken setup with errors such as:

sphinx.errors.VersionRequirementError: The sphinxcontrib.serializinghtml
extension used by this project needs at least Sphinx v5.0; it therefore
cannot be built with this version.

There's a sufficient number of plugins that manually pinning them all is
tedious, so upgrade the documentation to Sphinx 5 (and the corresponding
RTD theme).

Also remove sphinx-copybutton, as this extension is unused.

[1] https://github.com/sphinx-doc/sphinxcontrib-applehelp/commit/ccc77c814a92ef21c300e5ef725b76c40b7ce653
[2] https://github.com/sphinx-doc/sphinxcontrib-devhelp/commit/b2dc14bd8bdd7994c565d254772a0ba3ddecfe51

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-15 16:00:19 -05:00
Jon Mason 5712422011 arm-bsp/u-boot: rebase patches for v2024.01
Rebase the fvp-base and juno patches for v2024.01.  One patch was
upstreamed and thus dropped.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-11 11:00:26 -05:00
Jon Mason 98cf1495db arm/scp-firmware: update git repository to new location
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-09 12:00:34 -05:00
Jon Mason 2f9112a8fd arm/optee-os: remove unneeded clang patches
These patches don't appear to be needed anymore.  Removing them.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-09 12:00:33 -05:00
Jon Mason bcabc921f6 arm/optee-os: use sysroot in CFLAGS
Per the comment in https://github.com/OP-TEE/optee_os/issues/4188
use sysroot in CFLAGS instead of the patch

Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-09 12:00:33 -05:00
Jon Mason 0d71ca11c6 arm-bsp/optee-os: remove unused 3.18 files
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-09 12:00:33 -05:00
Emekcan Aras 450e42e7c2 arm-bsp/linux-yocto: corstone1000: bump to v6.6%
Upgrade the kernel to v6.6%

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-05 12:00:21 -05:00
Jon Mason 6de882ae93 arm: modify patches to have email headers and correct date fields
Scripts processing data for the patch ages need correct information in
the relevant fields to determine the age.  Create/correct this
information where missing/incorrect.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-05 11:08:41 -05:00
Jon Mason 2cc6f05f3e arm-bsp/trusted-firmware-m: update libmetal and open-amp to 2023.04.0
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-05 11:00:35 -05:00
Jon Mason 01e60aa0e3 arm-bsp/trusted-firmware-m: update libmetal and open-amp to a release
The SHAs for both libmetal and open-amp are intermediate SHAs, which are
only a few patches behind the v2021.04.0 tags.  Update to those tags and make
the necessary changes to get them working.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-05 11:00:35 -05:00
Ross Burton ad9eadb70e arm-bsp/linux-yocto: add linux-yocto 6.5 temporarily
oe-core master has upgraded from 6.5 to 6.6, but as we have BSPs that
still use 6.5 (corstone1000, n1sdp) we need to carry the recipe. This
should be a short-term measure as 6.5 was EOL in December 2023.

Also, drop the unused 6.4 linux-yocto which was no longer needed since
N1SDP moved to 6.5 with 21df60b.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-01-05 10:00:16 -05:00
Harsimran Singh Tungal 4d22f982bc corstone1000:arm-bsp/tftf: Fix tftf tests on mps3
The tftf tests were getting crashed on the MPS3 and two issues were found
during investigation. This change set provide fix for those issues:
1. The tftf tests were getting crashed on the MPS3 when compiled with
LOG_LEVEL=50. So, reducing the log level and aligning it with the TF-A
allows us to get rid of the crash.

2. Once the above crash got resolved, it has been found that tftf tests
were getting asserted while reading the value of the register
GICD_ITARGETSR. The reason for the crash is that the value of this register
is zero. As per the GIC documentation, this register is RAZ/WI for uniprocessor
implementation and corstone1000 is uniprocessor implementation for FPGA.
So, this change compiles the tftf tests in release mode which allows us
to compile out the assert definitions.

Signed-off-by: Harsimran Singh Tungal <harsimransingh.tungal@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-12-13 07:00:22 -05:00
Debbie Martin aec92016d2 ci: Add Arm SystemReady firmware and IR ACS builds
Add CI builds for Arm SystemReady Firmware within the fvp-base CI job and a new
Arm SystemReady IR ACS build job. Add the CI kas config for each of these
builds.

The ACS build can be controlled by the ACS_TEST GitLab variable to specify
whether or not to run the testimage. If this variable is not set, the
testimage step will not run. The job tag can be controlled by the ACS_TAG GitLab
variable.

Signed-off-by: Debbie Martin <Debbie.Martin@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-12-12 05:00:21 -05:00
Debbie Martin b59c60c03a arm-systemready: Add parted dependency and inherit testimage
Add the parted-native dependency explicitly which is needed to
use wic commands.

Also explicitly inherit testimage. This means that the kas config
is no longer required to include it in IMAGE_CLASSES.

Signed-off-by: Debbie Martin <Debbie.Martin@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-12-12 05:00:21 -05:00
Jon Mason 65460e5310 arm/edk2: update to 202311
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-12-09 10:39:50 -05:00
Jon Mason e6e7ac4d99 CI: rename meta-secure-core directory
meta-secure-core meta was renamed to meta-secure-core-common.  Update
the name to unbreak CI.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-12-09 00:05:27 -05:00
Harsimran Singh Tungal 553cadc720 corstone1000:arm-bsp/optee: Update optee to v4.0
This change updates the optee version to v4.0

Signed-off-by: Harsimran Singh Tungal <harsimransingh.tungal@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-12-06 09:21:21 -05:00
Harsimran Singh Tungal 32dfb759cd arm-bsp/documentation: corstone1000: fix the steps in the user guide and instructions
Provide updates and fixes in the user guide identified during testing.

Signed-off-by: Harsimran Singh Tungal <harsimransingh.tungal@arm.com>
Signed-off-by: Emekcan Aras <Emekcan.Aras@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-12-05 12:02:11 -05:00
Jon Mason 560075f050 arm/hafnium: update to v2.10
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-12-05 10:00:28 -05:00
Jon Mason 3835b78f03 arm/trusted-firmware-a: update to 2.10
Update tf-a and mbedtls to the latest versions.  Also, migrate the
previous version to meta-arm-bsp for corstone1000.

NOTE: in v2.10, the fiptool makefile was changed to reference LDOPTS
instead of LDLIBS.

NOTE: commit 408cde8a59080ac2caa11c4d99474b2ef09f90df in tf-a modifies
the qemu_sbsa starting offset, and per the commit comment, it requires
the edk2 same change.  This is why the edk-platforms SHA has been
changed.  There are only 19 patches between the previous SHA and this
one (most of which are adding a single platform).  So, it shouldn't be
too impactful to bump the SHA (instead of making it a patch to apply
on top of the existing SHA).

NOTE: tf-a-tests added LDFLAGS to the makefile, causing the need for it
to be removed in the recipe.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-12-05 10:00:28 -05:00
Jon Mason f0d7b9db31 arm/trusted-firmware-a: move patch file to bbappend
TF-A is being patched in the recipe for qemuarm64-secureboot.  This
should be done in the bbappend.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-12-05 10:00:28 -05:00
Ross Burton 310cd898ba CI: switch back to master
Now that we've released 4.3 and branched, we can switch master CI back
to master.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-11-30 08:48:31 -05:00
Ross Burton 0b61cc659a meta-arm/selftest: add test that PAC/BTI instructions are used
We enable PAC/BTI out of the box, but all of the pieces (such as gcc and
glibc) need to support it for the final binary to be protected.

Add a minimal test recipe to verify that the "Hello, World" binary is
using PAC/BTI, and add it to oe-selftest.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-11-28 11:00:16 -05:00
Emekcan Aras 1dff3300fb arm-bsp/documentation: corstone1000: fix the requirements.txt and conf.py path
Readthedocs server requires an absolute path from project's root
directory to find correct requirements.txt and conf.py.

Signed-off-by: Emekcan Aras <Emekcan.Aras@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-11-24 19:49:42 +00:00
Emekcan Aras db658a77af arm-bsp/documentation: corstone1000: add readthedocs.yaml file
Migrate Corstone-1000 documentation to .readthedocs.yaml configuration file v2.

Signed-off-by: Emekcan Aras <Emekcan.Aras@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-11-24 16:31:49 +00:00
Abdellatif El Khlifi 5f8b6a2d26 kas: corstone1000: pin the SHAs
Upgrade the Corstone-1000 YMLs as follows:

- Set the layers SHAs
- Align with Kas v4
- Update the layers list

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-11-24 15:12:06 +00:00
Emekcan Aras 222544ae97 arm-bsp/documentation: corstone1000: add a note and fix instructions
Add a note for Capsule update negative test scenario and fixes instructions
regarding distro-boot in Corstone-1000 user guide.

Signed-off-by: Emekcan Aras <Emekcan.Aras@arm.com>
Signed-off-by: Delane Brandy <delane.brandy@arm.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-11-24 15:12:06 +00:00
Emekcan Aras 9033f88bb0 arm-bsp/documentation: corstone1000: Add EFI system partition section
Adds creating an EFI System Partition for Corstone-1000.

Signed-off-by: Emekcan Aras <Emekcan.Aras@arm.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-11-24 15:12:06 +00:00
Abdellatif El Khlifi 938572f5fc arm-bsp/documentation: corstone1000: update the user guide
align the user guide with the upcoming CORSTONE1000-2023.11 release

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-11-24 12:57:26 +00:00
Emekcan Aras e1424f8ac6 arm-bsp/documentation: corstone1000: update the architecture document
align the architecture document with the upcoming CORSTONE1000-2023.11 release

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-11-24 12:57:26 +00:00
Abdellatif El Khlifi 86e2984459 arm-bsp/documentation: corstone1000: update the change log
align the change log with the upcoming CORSTONE1000-2023.11 release

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-11-24 12:57:26 +00:00
Abdellatif El Khlifi 166551f05f arm-bsp/documentation: corstone1000: update the release note
align the release note with the upcoming CORSTONE1000-2023.11 release

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-11-24 12:57:26 +00:00