aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
14 hoursCI: disable ptest in external-gccarm buildsHEADmasterRoss Burton
We recently switched the CI to not disable ptest, but this breaks builds that use the GCC binaries built by Arm (external-arm-toolchain). This is because the external-arm-toolchain recipe can't build packages for the target, and the standard oe-core gcc recipes assume that they're being built with themselves and make assumptions, specifically that libunwind was enabled and headers can be copied directly from the sysroot. This is a bigger problem that should be solved somehow, but for now we can just remove ptest in the external-gccarm CI jobs which removes gcc from the builds (it comes in via elfutils-ptest RDEPENDS). Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
14 hoursCI: remove 32-bit time_t workaroundRoss Burton
This is now in the recipe itself, so remove it from CI. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
14 hoursexternal-arm-toolchain: ignore warnings about 32-bit time typesRoss Burton
Functions that take 32-bit time_t types are unavoidable in the libc, so ignore the warnings. Signed-off-by: Ross Burton <ross.burton@arm.com> Reviewed-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Jon Mason <jon.mason@arm.com>
14 hoursCI: temporarily backport the procps fixRoss Burton
This patch will be merged upstream soon, apply it locally to unblock CI. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
14 hoursCI: add Kas schema commentsRoss Burton
Add YAML language server comments so that IDEs know what schema to use for the Kas files. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
14 hoursarm-bsp/trusted-firmware-m: replace OpenAMP with RSE CommsBence Balogh
Signed-off-by: Bence Balogh <bence.balogh@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
14 hoursarm-bsp/trusted-services: rebase corstone1000 patchesBence Balogh
Signed-off-by: Bence Balogh <bence.balogh@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
14 hoursarm/trusted-services: fix oeqa scriptGyorgy Szing
trusted_services.py:test_15_crypto_service runs ts-service test with an incorrect argument list. The -g argument does not accept two group names. This resulted in a silent failure. Fix this by relying the pattern matching capability of the argument. Additionaly remove references to OP-TEE from test messages as TS tests are SPMC agonistic. Signed-off-by: Gyorgy Szing <gyorgy.szing@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
14 hoursarm/trusted-services: update to 2024 April 19Gyorgy Szing
Update TS and dependencies to latest version of the integration branch. Remove patches merged upstream. Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
14 hoursAdd support for the TS Firmware Update serviceGyorgy Szing
Add a recipe to enable building and deploying the FWU service implemented in the Trusted Services Project. The FWU service can help vendors to meet PSA certification requirements. Signed-off-by: Gyorgy Szing <gyorgy.szing@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
14 hoursCI: use scarthgap branch for meta-clangJon Mason
Signed-off-by: Jon Mason <jon.mason@arm.com>
14 hoursarm-bsp/u-boot: add optimised timer implementation for fvp-baseRoss Burton
Due to how the timer in u-boot is implemented, it's quite possible for a two second timeout in the u-boot login to actually take over 15s to expire. Take a patch from the mailing list to implement this differently so the timer runs in an accurate amount of time. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
14 hoursarm-bsp/linux-yocto: corstone1000: add external system control supportAbdellatif El Khlifi
add support for the remoteproc control feature for the external system With this feature we can switch on/off the external system on demand: echo stop > /sys/class/remoteproc/remoteproc0/state echo start > /sys/class/remoteproc/remoteproc0/state During Linux boot the remoteproc subsystem automatically start the external system. The user can use the commands above to stop then start the remote core. Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
14 hoursarm-bsp/u-boot: corstone1000: add external system DTS nodeAbdellatif El Khlifi
describe the external system as a remoteproc node in the device tree Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
14 hoursarm-bsp/external-system: costone1000: install the firmware in the filesystemAbdellatif El Khlifi
install the external system binaries under /lib/firmware The kernel's remoteproc subsystem expects the firmware file to be under /lib/firmware Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
14 hoursCI: show the evaluated KASFILESRoss Burton
When trying to replicate a build locally, having the exact list of Kas files that was used is very useful. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysCI: add Yocto Project SSTATE MirrorJon Mason
Add the Yocto Project public SSTATE mirror to its own unique yml file. This allows for developers to use this to speed up builds, while not adding in the default case. This "off by default" is because it can add 10s of minutes to each build, which might not be beneficial to those who are using SSTATE dir locally. Also, removing the removal ptest distro feature, as this change prevents an optimal usage of the YP SSTATE mirror (~30% match to ~90% match for qemuarm64). Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysCI: sort jobs alphabeticallyRoss Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysarm: remove generic-arm64 and qemu-generic-arm64Ross Burton
These BSPs are now obsolete. Users of generic-arm64 should use genericarm64 from meta-yocto-bsp. Users of qemu-generic-arm64 should use sbsa-ref from meta-arm-bsp. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysarm-bsp: add new sbsa-ref machineRoss Burton
This is mostly based on the existing qemu-generic-arm64 machine, but by not being based on the genericarm64 and instead being specifically a machine to run on the qemu sbsa-ref machine we get to tune differently. Specifically, this configures sbsa-ref to be a Neoverse N2 (v9), and the tune is set to match. Another notable difference to qemu-generic-arm64 is that the kernel configuration is at present defconfig. We may wish to change this in the future to be the same fragmented configuration as genericarm64. We have to ignore two testimage parselogs failures: one from NUMA which will be fixed in a future EDK2 release, and one from efifb where we should be using the bochsdrm driver instead (further investigation is needed) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysCI: add genericarm64Ross Burton
Add the new genericarm64 in meta-yocto-bsp to the CI. This new BSP is heavily based on the meta-arm generic-arm64 machine, but with an all-new fragmented kernel configuration. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysci/testimage: don't :append to IMAGE_FEATURESRoss Burton
Some BSPs use a proper initramfs and putting a SSH server into them via this :append isn't ideal. Adding using += should be sufficient. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysarm-bsp/linux-yocto-rt: include linux-arm-platforms unconditionallyRoss Burton
Every platform should have the chance to try the -rt patches. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysarm/classes/wic_nopt: remove unused classRoss Burton
This class is no longer used by any machines, so remove it. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysarm-bsp/trusted-services:cs1000: fix deploymentsBence Balogh
- The Secure Enclave Proxy Secure Partition fails at psa_call() because wrong parameter was passed. - The SMM Gateway initialization failed because a malloc() returned a NULL pointer. The SMM_GATEWAY_MAX_UEFI_VARIABLES had to be decreased to avoid this. - Increase shared memory buffer size and add buildtime check - Use __packed for the variable_metadata struct Signed-off-by: Bence Balogh <bence.balogh@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysarm-bsp/trusted-services: rebase corstone1000 patchesGyorgy Szing
Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com> Signed-off-by: Bence Balogh <bence.balogh@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysarm-bsp/u-boot: corstone1000: update TS RPC protocolBence Balogh
The Trusted Services v1.0 uses new RPC protocol and the message fields in u-boot had to be synchronized. Signed-off-by: Bence Balogh <bence.balogh@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysarm-bsp: enable Trusted Services on the fvp-base platformGyorgy Szing
Add configuration settings to TF-A, OP-TEE and TS SPs needed to get TS built and run on the fvp-base machine. Signed-off-by: Gyorgy Szing <gyorgy.szing@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysarm/devtools/fvp-base-a-aem: update the AEM FVP to 11.25.15Gyorgy Szing
Version v11.25 was released and it fixes measured boot. Update the recipe and integrate the new version. The pattern of the download URL has changed. Add functionality to calculate a new URL fragment from the package version. Signed-off-by: Gyorgy Szing <gyorgy.szing@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysarm/trusted-services: fix environment handlingGyorgy Szing
The current version of the TS recipes fails to build if the TS environment is not set to opteesp. Change the recipes to allow building the sp environment. This environment targets "generic" secure partitions and produces SPMC agnostic SP binaries which should be able to boot under any FF-A v1.0 compliant SPMC implementation. Signed-off-by: Gyorgy Szing <gyorgy.szing@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysarm/trusted-services: fix MbedTLS build issueGyorgy Szing
MbedTLS fails to build when FORTIFY_SOURCE is enabled and the NWd configuration is used. Disable the compilation option temporary till the root cause can be fund and a proper fix be made. The build only fails when building from yocto. The OP-TEE integration works fine with gcc v13.2_rel1. Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysarm/trusted-services: Update TS to v1.0.0Gyorgy Szing
- Update Trusted Services to v1.0.0. - Update TS "external components" references to fetch the version dictated by the TS repo. - Remove patches merged up-stream. - Update the TS nanopb integration fix (see 210a6ace8325) - Update TS test integration. Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysarm/trusted-services: Update FFA TEE driver to v2.0.0Gyorgy Szing
- Update driver version to v2.0.0 - Follow up the name change. The driver has been renamed from arm_ffa_tee to arm_tstee. Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
7 daysRevert "arm-bsp/corstone1000-flash-firmware-image: add nopt generation"Jon Mason
This reverts commit e6ff022d6d3d6cbcbd9b30006a75be69f7d35c29.
7 daysRevert "arm/uefi_capsule: use U-Boot for capsule generation"Jon Mason
This reverts commit d0d1b96b0a39b973b6b882e561752c1fd7065fc7.
7 daysRevert "arm-bsp/documentation: corstone1000: update capsule generation steps"Jon Mason
This reverts commit 527475c354d8897d96eb7cb7248f4207cd8f44f8.
10 daysarm-bsp/documentation: corstone1000: update capsule generation stepsBence Balogh
The .nopt and capsule are generated during the yocto build. Sync the documentation with the changes. Signed-off-by: Bence Balogh <bence.balogh@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
10 daysarm/uefi_capsule: use U-Boot for capsule generationBence Balogh
Currently, only the Corstone-1000 platform uses the capsule generation class. Corstone-1000 uses U-Boot instead of EDK2. With this change, the dependency on EDK2 was removed. Signed-off-by: Bence Balogh <bence.balogh@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
10 daysarm-bsp/corstone1000-flash-firmware-image: add nopt generationBence Balogh
The .nopt image is used during the UEFI Update Capsule generation. This .nopt image was generated manually when it was needed. Signed-off-by: Bence Balogh <bence.balogh@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
10 daysarm-bsp/linux: remove kmeta SRCREV SHAJon Mason
A SRCREV for arm-platforms-kmeta was added years ago to get yocto-check-layer working at the time, but was never removed (and never updated). Removing now, since it is not necessary. Signed-off-by: Jon Mason <jon.mason@arm.com>
10 daysarm-bsp/corstone1000: Fix RSA key generation issueAdam Johnston
A patch was dropped when trusted-firmware-m was updated to 2.0 but it had not yet been merged upstream (2.0 or master). Restore the patch to fix regression on Corstone-1000 Signed-off-by: Jon Mason <jon.mason@arm.com>
10 daysarm-systemready/linux-distros: Upgrade the Debian version to 12.4Amr Mohamed
Upgrade the Debian distribution from version 11.7 to version 12.4 in the distribution installation. Signed-off-by: Amr Mohamed <amr.mohamed@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
13 daysCI: use scarthgap branchesRoss Burton
Upstream master and scarthgap have now diverged, so use scarthgap whilst we prepare for release. At the time of writing there is no scarthgap branch for meta-clang, so leave that on master. Signed-off-by: Ross Burton <ross.burton@arm.com>
2024-04-15arm-bsp/fvp-base: improve FVP performanceRoss Burton
Increase the number of TLB entries from 0x80 to 0x400 and disable the checking of memory attributes. In our CI, this makes testimage run in 576s instead of 803s. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-04-15kas: corstone1000: disable multiconfig for firmware buildsBence Balogh
Multiconfig is only needed when recovery and the mass storage images are built together. It is not needed when firmware-only build is used. Signed-off-by: Bence Balogh <bence.balogh@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-04-12arm-bsp/linux-yocto-dev: add bbappend to enable this kernel for our BSPsRoss Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-04-12arm-bsp/trusted-firmware-m: corstone1000: Enable host firewall in FVPEmekcan Aras
Enables host firewall and mpu setup for FVP. It also fixes secure-ram configuration and disable access rights to secure ram from both normal world for both mps3 and fvp. Signed-off-by: Emekcan Aras <emekcan.aras@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-04-12arm-bsp/trusted-services: corstone1000: Change MM comm buffer locationEmekcan Aras
MM Communicate buffer is accessed by normal world but at the moment so it should be located in DDR instead of secure-ram. This moves mm communicate buffer to the DDR for trusted-service components. Signed-off-by: Emekcan Aras <emekcan.aras@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-04-12arm-bsp/u-boot: corstone1000: Change MMCOMM buffer locationEmekcan Aras
MM Communicate buffer is accessed by normal world but at the moment it's allocated in the secure ram. This moves mm communicate buffer to the DDR and also fixes the capsule buffer size since it cannot be more than the bank size. Signed-off-by: Emekcan Aras <emekcan.aras@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2024-04-11arm-bsp/trusted-firmware-a: remove now-unused 2.9.0 recipeRoss Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>