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

1997 Commits

Author SHA1 Message Date
Peter Hoyes d87c445b24 arm/lib: Do not log FVP return codes < 0
If a process is terminated using a signal, in Python its return code is
-N, where N is the signal number (e.g. -15 for SIGTERM). Currently, all
non-zero return codes are printed using logger.info, which gives the
impression of an abnormal termination even when the process was
explicitly terminated by FVPRunner.

Instead, only log return codes greater than zero.

Issue-Id: SCM-5314
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I1a1e9d8aa3f26c14b48be718498bcb14707950b7
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-14 06:00:08 -04:00
Anton Antonov 90f9e1241b arm/trusted-services: include documentation
Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-13 12:00:08 -04:00
Anton Antonov f8aba2d5f3 arm/trusted-services: Remove remaining patches merged upstream
Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-12 16:00:09 -04:00
Ross Burton cbcb1bf39d CI: restrict compression threading
On large systems, using all of the CPUs and 50% of the RAM when xz
compressing packages is actively harmful because it will happily use up
to that limit.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-11 09:20:18 -04:00
Anton Antonov dc4c85ccbb arm/trusted-services: Remove patches merged upstream
Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-11 08:00:07 -04:00
Jon Mason 545ba524b8 arm-bsp: zephyr removal
Since meta-zephyr is doing CI, there is no need to replicate that here.
Remove all of the zephyr references.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-10 10:00:10 -04:00
Davidson K b9073fdc99 arm-bsp/linux-arm64-ack: make it compatible with gcc-12 for TC
Signed-off-by: Davidson K <davidson.kumaresan@arm.com>
Change-Id: I924064547f4e1d2d506b58bf5aa84d5a4d2f9f8e
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-06 07:00:11 -04:00
Rupinderjit Singh 3921257e9b arm: update Android common kernel
Update ACK to 5.15 and remove the 5.10 recipe

Signed-off-by: Rupinderjit Singh <rupinderjit.singh@arm.com>
Change-Id: I7d86367533248312bb7a54ba39166ddee5a025ef
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-06 07:00:11 -04:00
Jon Mason 1bc064e020 CI: cleanups for targets and removed tests
Some of the removed tests are now working and some of the systems are
not testing against sato (as being done in base.yml).  Update these and
add some comments.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-05 10:00:09 -04:00
Jon Mason 09a3e899dc CI: trusted services as a feature instead of a machine
Trusted services is a feature, not a unique machine.  Modify the setup
to reflect this.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-05 10:00:09 -04:00
Emekcan 987966a587 arm-bsp/linux-yocto: update RPMSG_CTRL config for corstone1000
The rpmsg_chrdev driver has been replaced
by the rpmsg_ctrl driver. This commit
updates the defconfig to align with the
change.

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-05 09:07:19 -04:00
Vishnu Banavath 797e43e09b arm-bsp/corstone500: upgrade kernel to v5.19
This change is to upgrade kernel to 5.19 for corstone500 target

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-05 09:05:57 -04:00
Adam Johnston bb1a229176 arm-bsp/linux-yocto: Upgrade kernel to v5.19 for N1SDP
This change is to upgrade the Linux kernel version to 5.19 for N1SDP
target to align with post N1SDP-2022.06.22 refresh

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Adam Johnston <adam.johnston@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-05 08:00:08 -04:00
Ross Burton 932db44b20 arm/optee-spdevkit: remove
The "secure parition development kit" is obsolete, newlib is used instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-04 13:18:48 -04:00
Anton Antonov 00bd768ab7 meta-arm/trusted-services: Use GCC toolchain for specific TS recipes only.
This commit also enables clang CI pipelines for TS.

Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-04 13:18:37 -04:00
Rui Miguel Silva 38a3facd90 arm-bsp/corstone1000: bump kernel version to 5.19
Bump the kernel version to 5.19.9, remove backported ffa
related patch to previous version and fix issues in the arm
rpmsg driver.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-04 08:00:07 -04:00
Sumit Garg 6001998caa external-arm-toolchain: Enable 11.3.rel1 support
Enable support for 11.3.rel1 binary toolchain release. Also, update CI
to use it.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-03 23:33:48 -04:00
Sumit Garg df99894eaa arm-toolchain: update Arm GCC to 11.3
Along with that add a new variable ARM_GCC_SUB_VERSION as newer clubbed
Arm GNU toolchain releases includes a sub-version like the current
release being 11.3.rel1 where ARM_GCC_SUB_VERSION=rel1.

Also, update CI to this release.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-03 23:33:48 -04:00
Jon Mason 0164b4ca7a Revert "CI: apply a patch so that meta-zephyr is compatible with langdale"
This reverts commit b64ea83aef.
2022-10-03 23:33:19 -04:00
Jon Mason b64ea83aef CI: apply a patch so that meta-zephyr is compatible with langdale
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-03 15:16:18 -04:00
Jon Mason 6983e2a2a9 ci: move features only needed by testimage from base
Move the features uniquely needed for system images to the testimage
file.  This should reduce the image size and amount of things needing to
be built for machines that do not run testimage.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-03 14:41:17 -04:00
Jon Mason 6655928c81 arm-bsp/fvp: move the fvp include file to the include directory
Move the FVP include file to the include directory, matching what is
done for corstone1000 and other machines in meta-arm-bsp.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-03 14:41:17 -04:00
Abdellatif El Khlifi 04a7ba3c77 arm/ffa-debugfs: drop use of the kernel module
ffa-debugfs kernel module is replaced with arm-ffa-user module

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2022-10-01 10:37:46 -04:00
Abdellatif El Khlifi 7a42f5c642 arm/secure-partitions: drop use of the recipe
secure-partitions recipe is replaced with the new design of
 trusted services recipes.

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2022-10-01 10:37:46 -04:00
Abdellatif El Khlifi 126eebcabd arm-bsp/linux: corstone1000: use arm-ffa machine feature
add arm-ffa machine feature which applies FF-A config fragment and kernel patch

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2022-10-01 10:37:46 -04:00
Abdellatif El Khlifi ddbf0addf1 arm-bsp/corstone1000-initramfs-image: add TS PSA API tests packages
Trusted Services PSA API tests commands allow testing the following
SE Proxy services: crypto, its, ps and iat

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2022-10-01 10:37:46 -04:00
Abdellatif El Khlifi 37a9dbc5b7 arm-bsp/trusted-services: corstone1000: add MHU-driver
Add an out of tree patch enabling MHU-driver

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2022-10-01 10:37:46 -04:00
Abdellatif El Khlifi 068c2f37c0 arm-bsp/machine: corstone1000: disable pulling the kernel into the initramfs
exclude kernel-image-* packages from the rootfs

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2022-10-01 10:37:46 -04:00
Abdellatif El Khlifi 36536b6055 arm-bsp/trusted-services: corstone1000: add secure partitions support
support for ts-smm-gateway and ts-se-proxy secure partitions

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2022-10-01 10:37:46 -04:00
Abdellatif El Khlifi 56d53d4393 arm-bsp/corstone1000-initramfs-image: remove obsolete packages
removing the following packages:

ffa-debugfs-mod
secure-partitions-psa-api-tests

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2022-10-01 10:37:46 -04:00
Abdellatif El Khlifi f483fcfc68 arm-bsp/optee-spdevkit: corstone1000: drop the support
optee-spdevkit no longer used. It has been replaced with newlib

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2022-10-01 10:37:46 -04:00
Abdellatif El Khlifi 8817e91e5d arm-bsp/optee-os: corstone1000: upgrade to v3.18
Upgrading optee-os uses the new Trusted Services support

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2022-10-01 10:37:46 -04:00
Abdellatif El Khlifi 607166e3bd arm-bsp/u-boot: corstone1000: upgrade FF-A support
update the FF-A patchset with the one sent to the u-boot mailing list

cover letter: https://lore.kernel.org/all/20220926101723.9965-1-abdellatif.elkhlifi@arm.com/

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2022-10-01 10:37:46 -04:00
Abdellatif El Khlifi 63c7e60c1e arm-bsp/u-boot: corstone1000: update initramfs bundle size
increase the size of the initramfs bundle used in the boot command

The new trusted services support increases the rootfs size.
When decompressed the initramfs bundle size is around 15M.

u-boot boot command needs to be updated with this size to be able to load
all the initramfs bundle.

When compressed the initramfs bundle size is around 5.4M
(Image.gz-initramfs--5.15.59)

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2022-10-01 10:37:46 -04:00
Peter Hoyes fc26f65b1c arm-bsp/corstone1000: Refactor image signing to use new bbclass
The prevoius commit refactored trusted-firmware-m-sign-host-images.inc
into tfm_sign_image.bbclass.

Move the image signing logic from the TF-M bbappend to
corstone1000-image.bb, using the new bbclass.

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: Ib76dce2ba9102e343d0611d929250d1d8aee518b
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-03 10:33:43 -04:00
Peter Hoyes 97c7e9f08e arm/classes: Migrate TF-M image signing to bbclass
Introduce a new recipe for the TF-M signing scripts.

To make the functionality easier to reuse, move the logic that is
currently in trusted-firmware-m-sign-host-images.inc to
tfm_sign_image.bbclass. This bbclass DEPENDS on
trusted-firmware-m-scrpits-native.

tfm_sign_image.bbclass can be inherited in image recipes to sign
artifacts.

Issue-Id: SCM-4964
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I74aaab5db1a43fedf13ea2564c2f31af207ae924
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-03 10:33:43 -04:00
Peter Hoyes ff4a322c83 arm-bsp/trusted-firmware-m: Make branch names configurable
In order to support overriding the branch names in other layers, extract
the branch name for each repository and set using default assignment.

Issue-Id: SCM-4964
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I09d0c1f1d012c1abb84648ad974883bbdaa1db7a
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-03 10:33:43 -04:00
Emekcan 6ef4d3ef18 arm-bsp/external-system: Changing the RTX repo
Migrating RTX repo to a new namespace under
arm reference solution. The new repo also adds
corstone1000 as a product so this commits
also changes the PRODUCT variable.

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-03 10:33:43 -04:00
Emekcan f25935371d arm-bsp/test: Changing the test app repository
Migrating the test repo to a new namespace under
arm reference solution.

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-03 10:33:43 -04:00
Jon Mason 8d0410782e CI: Remove uniquely zephyr machines
Remove microbit-v1, qemu-cortex-a53, qemu-cortex-m3, and qemu-cortex-r5
from CI (and the tree in general).  These machines are part of the
meta-zephyr CI now and keeping them here is redundant.  However, keeping
zephyr builds for machines that also have TF-M.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-09-30 15:20:03 -04:00
Adam Johnston 7f05bd6431 arm-bsp/trusted-firmware-a: Update TF-A version for N1SDP
Update TF-A version to align with post-N1SDP-2022.06.22 refresh

Signed-off-by: Adam Johnston <adam.johnston@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-09-30 15:20:03 -04:00
Adam Johnston 4f6a200997 arm-bsp/edk2-firmware: Add edk2-platforms patches for N1SDP
This is to align edk2/edk2-platforms with N1SDP-2022.06.22 release

Signed-off-by: Adam Johnston <adam.johnston@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-09-30 15:20:03 -04:00
Adam Johnston d7ef05a2fe arm-bsp/edk2-firmware: Update edk2/edk2-platforms versions for N1SDP
Update edk2/edk2-platforms versions to align with N1SDP-2022.06.22 release.

Signed-off-by: Adam Johnston <adam.johnston@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-09-30 15:20:03 -04:00
Jon Mason 2c9cf62622 layers: convert to langdale compatibility
Now that langdale is available, convert all kirkstone references to it.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-09-29 18:05:36 -04:00
Ross Burton aa89fe3f08 runfvp: pass-through environment variables need for GUI applications
Since 820a55d3 the environment that the FVPs run in is limited, however
this broke the use of GUI applications for the terminals.

Passthrough DISPLAY and WAYLAND_DISPLAY automatically so these continue
to work.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-09-29 11:22:54 -04:00
Davidson K 3f59a344e6 arm-bsp/hafnium: enable Virtual Host Extension for TC
Signed-off-by: Davidson K <davidson.kumaresan@arm.com>
Change-Id: I348b80ee8d31f6ac7c528bcd80490fe83ac5f97d
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-09-29 11:22:54 -04:00
Davidson K a816bcc8ab arm-bsp/trusted-firmware-a: add firmware update support for TC
Signed-off-by: Davidson K <davidson.kumaresan@arm.com>
Change-Id: Ice2396de4705ed7859c2334678170ef7f17e4709
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-09-29 11:22:54 -04:00
Davidson K 0c002d467e arm-bsp/u-boot: add gnutls-native as dependency
Since U-Boot 2022.04 the host tool mkeficapsule requires gnutls.
Thus adding it to the dependency.

Signed-off-by: Davidson K <davidson.kumaresan@arm.com>
Change-Id: I8eff2e9bb9752bea5b885fcf3a69bf79c4f0c215
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-09-29 11:22:54 -04:00
Ross Burton 40c0c47134 Revert "Temporary use qemu 7.0.0 for TS CI pipelines"
This reverts commit f513237500.
2022-09-29 10:48:29 +01:00
Jiacheng Tang 1dc0baf421 arm/fvp-base-r-aem: upgrade to version 11.19.14
Update version in documentation.

Issue-Id: SCM-5168
Signed-off-by: Jiacheng Tang <jiacheng.tang@arm.com>
Change-Id: Iea0815fb7e99997f45f7882c47138f0f9dfac0ac
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-09-28 09:40:32 -04:00