- 04 Jan, 2023 7 commits
-
-
Ross Burton authored
The meta-atp layer is unmaintained and gem5 is incompatible with Python 3.11, so won't work with master without work that is still ongoing. Signed-off-by:
Ross Burton <ross.burton@arm.com>
-
Ross Burton authored
Instead of using the side-effect of gem5-arm64 pulling in many layers, do it explicitly. Signed-off-by:
Ross Burton <ross.burton@arm.com>
-
Ross Burton authored
Signed-off-by:
Ross Burton <ross.burton@arm.com>
-
Ross Burton authored
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>
-
Ross Burton authored
This now works, so there's no need to restrict it to gcc. Signed-off-by:
Ross Burton <ross.burton@arm.com>
-
Ross Burton authored
Signed-off-by:
Ross Burton <ross.burton@arm.com>
-
Ross Burton authored
Signed-off-by:
Ross Burton <ross.burton@arm.com>
-
- 03 Jan, 2023 1 commit
-
-
Ross Burton authored
meta-clang has a langdale branch now, so unset the explicit refspec. linux-yocto needs to use non-clang objcopy, apply the change locally until the commit has been merged into meta-clang's langdale branch. perf needs some patches backported, until that has been done use gcc to build perf. Signed-off-by:
Ross Burton <ross.burton@arm.com>
-
- 16 Dec, 2022 1 commit
-
-
Peter Hoyes authored
Timing Annotation is a feature of the model that enables high-level performance estimations to be made [1]. It is not needed to demonstrate a functioning software stack so set FASTSIM_DISABLE_TA to 1 in the model environment to disable this feature. This also improves model performance. [1] https://developer.arm.com/documentation/100965/1119/Timing-Annotation Signed-off-by:
Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
- 15 Dec, 2022 1 commit
-
-
Jon Mason authored
DEFAULT_TAG and CPU_REQUEST are being used to help with internal Gitlab pipeline setups know which type of machines to run on, but has no value outside of Arm Corp. Gitlab CI allows for variables to be overridden by default. So, we can give it a default value of NULL/empty and have everything work internally and externally by default. Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
- 14 Dec, 2022 5 commits
-
-
Jon Mason authored
Update tf-m to the latest stable version and update the mbedtls git tree to the new location. Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Ross Burton authored
The kas 3.1 container has telnet in. We can also remove python3-subunit once kas 3.2 is released. Signed-off-by:
Ross Burton <ross.burton@arm.com>
-
Ross Burton authored
Tag all jobs with the DEFAULT_TAG variable so each instance can control what tags the jobs have, whilst still explicitly tagging the jobs which need specific tags (such as x86_64 for jobs which need to run x86-only binaries) Signed-off-by:
Ross Burton <ross.burton@arm.com>
-
Ross Burton authored
The Kas container needs to use the entrypoint as that is where the user changes from root to a normal user. Also set the KUBERNETES_CPU_REQUEST to the variable CPU_REQUEST as this needs to be tuned per-deployment. Signed-off-by:
Ross Burton <ross.burton@arm.com>
-
Robbie Cao authored
Update version in documentation. Issue-Id: SCM-4874 Signed-off-by:
Robbie Cao <robbie.cao@arm.com> Change-Id: Ic66bdcdc5c6309331f80faab6eaf2e3e936a5da4 Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
- 01 Dec, 2022 1 commit
-
-
Peter Hoyes authored
721bec25 "arm/fvp: Join cli arguments in verbose logging" changed the verbose output of FVPRunner to print the generated arguments using shlex.join instead of as a list. However, this function is only available in Python >= 3.8, whereas OE-core currently supports Python 3.6. To fix this, backport its one-line implementation to a local function shlex_join and update the call site. Issue-Id: SCM-5314 Signed-off-by:
Peter Hoyes <Peter.Hoyes@arm.com> Change-Id: I56cab9dddcd0a91272464be15742a6ee726dad41 Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
- 28 Nov, 2022 1 commit
-
-
Ross Burton authored
Signed-off-by:
Ross Burton <ross.burton@arm.com> Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
- 23 Nov, 2022 2 commits
-
-
Emekcan Aras authored
Aligning the user guide with the latest Corstone1000 SW updates. Signed-off-by:
Emekcan Aras <Emekcan.Aras@arm.com> Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Emekcan authored
Upgrades the Corstone1000 FVP to the latest release version. Signed-off-by:
Emekcan Aras <emekcan.aras@arm.com> Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
- 21 Nov, 2022 10 commits
-
-
Adrián Herrera Arcila authored
Signed-off-by:
Adrián Herrera Arcila <adrian.herrera@arm.com> Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Adrián Herrera Arcila authored
Ensure meta-atp recipes are only performed if a compatible machine is selected. Signed-off-by:
Adrián Herrera Arcila <adrian.herrera@arm.com> Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Adrián Herrera Arcila authored
Previously, meta-atp extended the original gem5 recipe to add the ATP Engine models; the .bbappend was complex, because it pulled from two sources, and it was not possible to make machine-based overrides, as it is a native recipe. To solve this, we use the recent EXTRAS feature to add the gem5 models from a different recipe. Signed-off-by:
Adrián Herrera Arcila <adrian.herrera@arm.com> Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Adrián Herrera Arcila authored
External models can be added to gem5 through EXTRAS: https://www.gem5.org/documentation/general_docs/building/EXTRAS Added GEM5_EXTRAS to the gem5-native recipe to support it. Signed-off-by:
Adrián Herrera Arcila <adrian.herrera@arm.com> Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Adrian Herrera authored
The m5 readfile recipe provides general utility for gem5 users to run any script on OS boot. We hence move it to the meta-gem5 layer. Signed-off-by:
Adrian Herrera <adrian.herrera@arm.com> Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Adrian Herrera authored
By making m5readfile into its own recipe, we avoid modifications to the m5ops recipe when using the meta-atp layer, which break the Yocto compatibility of the layer. Signed-off-by:
Adrian Herrera <adrian.herrera@arm.com> Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Adrián Herrera Arcila authored
Test failed because there was no reference to maintainers in the meta-atp README. Following the common structure of other layers in the meta-arm repository, the README in meta-atp now refers to the top-level README, and a documentation directory contains the guidance that was present in the original meta-atp README. Signed-off-by:
Adrián Herrera Arcila <adrian.herrera@arm.com> Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Jon Mason authored
Add support for n1sdp to trusted-services bbappends and rework some things to make it easier to add more in the future. Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Diego Sueiro authored
As TF-M ships patches that it needs applied to mbedcrypto, we apply them as part of do_patch by using a postfunc. There is an issue when do_patch is executed after do_deploy_source_date_epoch_setscene and apply_local_patches tries to apply the patches already applied. To fix this, make usage of the apply_local_src_patches bbclass. Change-Id: Ia115b540b37ad3a2cce30e1e0461abd1f5a6ccc1 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Diego Sueiro authored
This class is to be inherited by recipes where there are patches located inside the fetched source code which need to be applied. The following variables need to be set: LOCAL_SRC_PATCHES_INPUT_DIR is the directory from where the patches are located LOCAL_SRC_PATCHES_DEST_DIR is the directory where the patches will be applied Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Signed-off-by:
Peter Hoyes <Peter.Hoyes@arm.com> Change-Id: I8f9c16a5fbc9d5569cba60136560f1951408bd60 Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
- 18 Nov, 2022 1 commit
-
-
David Bagonyi authored
In d8e9ee8fd53b7620e72b2dfebb2e8d464b737dbb the finalize method was removed. Signed-off-by:
David Bagonyi <david.bagonyi@gmail.com> Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
- 17 Nov, 2022 2 commits
-
-
Jon Mason authored
World builds are trying to build trusted services, which has a dependency on meta-python. To avoid having to add a layer dependency for meta-arm on meta-python, limit the compatible machines to the ones using it (which already have a meta-python dependency). Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Jon Mason authored
"git" is the version and need not be part of the bbappend name. Since this isn't being done in any other part of meta-arm-bsp (and not uniformly in the same directory), rename the bbappends to have the % wild card. Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
- 15 Nov, 2022 5 commits
-
-
Peter Hoyes authored
Start a new thread to simultaneously log the output of FVP and the telnet output if the --verbose flag is passed to runfvp. So that ConsolePortParser can read the same stream, use itertools.tee to temporarily duplicate the stream. Use a custom log format string with an escape character to ensure that log output always starts at the beginning of a line when interleaved with console output. Issue-Id: SCM-5314 Signed-off-by:
Peter Hoyes <Peter.Hoyes@arm.com> Change-Id: I3e815d9d899425e0d2af619524f09f2eda87562c Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Peter Hoyes authored
It is often useful to inspect the FVP output after running the tests. Refactor OEFVPSerialTarget._create_logfile into OEFVPSSHTarget._create_log_filename, so that all FVP test controllers are able to create secondary log files. Pass a filehandle to the stdout argument of run_fvp so that the FVP output is asynchronously logged to a file. Change the port parsing logic to read back from the same log file instead of reading the stdout directly. Issue-Id: SCM-5314 Signed-off-by:
Peter Hoyes <Peter.Hoyes@arm.com> Change-Id: I2ddb423fa0d896c13d3e96884858c680c4d34555 Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Peter Hoyes authored
To simplify the FVPRunner class, create a separate ConsolePortParser class to handle reading an iterator of lines and parsing port numbers for FVP consoles. Use this in runfvp and the test targets. This refactor also allows the stream being monitored to be changed more easily, e.g. to a log file. Issue-Id: SCM-5314 Signed-off-by:
Peter Hoyes <Peter.Hoyes@arm.com> Change-Id: Iade3a4c803fb355b04af7afa298d0a41fe707d94 Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Peter Hoyes authored
FVPRunner relies heavily on asyncio, despite there being very little concurrent work happening. Additionally, while the runfvp entry point starts an asyncio runner, it is not practical to have a single asyncio runtime during testimage, which is fully synchronous. Refactor to use subprocess.Popen and related functionality. The process object has a similar interface to its async equivalent. Cascade the API changes to runfvp and the test target classes. Issue-Id: SCM-5314 Signed-off-by:
Peter Hoyes <Peter.Hoyes@arm.com> Change-Id: I3e7517e8bcbb3b93c41405d43dbd8bd24a9e7eb8 Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Peter Hoyes authored
It is sometimes helpful to copy and paste the cli arguments from the verbose runfvp output (e.g. to test with a development FVP build), but currently the arguments are printed as a Python list. Use shlex.join(cli) to safely join the arguments together in form that can be reused directly in a shell. Issue-Id: SCM-5314 Signed-off-by:
Peter Hoyes <Peter.Hoyes@arm.com> Change-Id: Ibb5c5ed45d02e241cb3858f68740fb9d4e89357a Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
- 14 Nov, 2022 3 commits
-
-
Jon Mason authored
Recent changes appear to have fixed clang issues. Unfortunately, hafnium gn visibility is not done properly. So, a patch to that is needed to get it working. Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Jon Mason authored
Update the patches and renumber them to make it more obvious which subtree they apply to. Signed-off-by:
Jon Mason <jon.mason@arm.com>
-
Jon Mason authored
The new version has an issue with dangling pointers. So revert the patch causing this to work around it. Signed-off-by:
Jon Mason <jon.mason@arm.com>
-