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

2024 Commits

Author SHA1 Message Date
Ross Burton 893b20fbee arm/trusted-services: pass through CMake generator
Pass through the choice of CMake Generator when starting sub-cmakes for
the external components, so that they use Ninja instead of Make.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-29 11:36:18 -04:00
Ross Burton be76055bdc arm/apply_local_src_patches: allow use in multiple directories
Pull out the patch application logic so the postfunc by default scans
for patches in LOCAL_SRC_PATCHES_INPUT_DIR and applies them to
LOCAL_SRC_PATCHES_DEST_DIR as before.

This allows recipes to inherit the class and directly call
apply_local_src_patches as needed to process patches in multiple
directories.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-29 11:36:18 -04:00
Divin Raj fd13de4f85 ci,doc,kas,arm-bsp,arm: Remove support for fvp-baser-aemv8r64 machine
The fvp-baser-aemv8r64 machine will not be actively maintained.

Signed-off-by: Divin Raj <divin.raj@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-29 10:00:18 -04:00
Jon Mason 32e06a2328 README: remove reference to meta-arm-autonomy
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-28 15:00:18 -04:00
Abdellatif El Khlifi 668ac8338e arm-bsp/u-boot: corstone1000: purge U-Boot specific DT nodes before Linux
Remove U-Boot specific DT nodes before passing the DT to Linux

This is needed to pass SystemReady IR 2.0 dt-schema tests

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-28 11:00:34 -04:00
Abdellatif El Khlifi 59224ced53 arm-bsp/trusted-firmware-a: corstone1000: enable ERRATA_A35_855472
enable errata 855472 for Cortex-A35 in Corstone-1000

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-28 11:00:34 -04:00
Adam Johnston be9bbaa16e arm-bsp/trusted-firmware-a: Fix BL32 path if usrmerge enabled
The optee recipe installs the tee image using `${nonarch_base_libdir}`
If usrmerge is enabled this is `/usr/lib`, otherwise it is `/lib`

Several platforms (corstone1000, n1sdp, tc) look for tee-pager_v2.bin in
the hard-coded `/lib/firmware`, hence if usrmerge is enabled it won't be
found.

Fix these platforms by using `${nonarch_base_libdir}` instead of `/lib`
as per the qemu platform code in the generic recipe.

Signed-off-by: Adam Johnston <adam.johnston@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-25 12:00:23 -04:00
Xueliang Zhong 55858c23dd arm-bsp/corstone1000: bump kernel version to v6.4
Bump kernel version to v6.4 and rebase the patches on
top of this new version.

Signed-off-by: Xueliang Zhong <xueliang.zhong@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-20 14:00:21 -04:00
Jon Mason 6333e1e198 arm/scp-firmware: update to v2.13.0
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-19 09:02:13 -04:00
Jon Mason 7e26d706cf arm/opencsd: update to v1.4.1
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-19 09:02:13 -04:00
Jon Mason e8844f4c08 arm/trusted-firmware-m: update to 1.8.1
TFM updated to 1.8.1.  Note, TF-Mv1.8.1 tags point to the same SHA as
the TF-Mv1.8.0 tag for tf-m-tests and tf-m-extras.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-19 09:02:13 -04:00
Javier Tia 0221098739 libts: tee-udev.rules: Change ownership to tee group
tee and teeclnt are there to avoid running client applications (CAs) and
tee-supplicant as root.

- The teeclnt group stands for "TEE client" and is for CAs (CAs need
  access to /dev/tee[0-9]* but not /dev/teepriv[0-9]*).

- tee is just for tee-supplicant to open its device /dev/teepriv[0-9]*.
  No other process is supposed to open that one.

Signed-off-by: Javier Tia <javier.tia@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-19 08:36:18 -04:00
Emekcan Aras 4fb79a2f7c arm-bsp/optee-os: corstone1000: Handling logging syscall correctly
Enables handling logging messages correctly.

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-18 15:00:21 -04:00
Ross Burton db5a3093f3 arm-bsp: change port mapping for SSH to port 2222
Rationalise the port forwarding to be the same as the runqemu defaults,
so change the SSH port forward to be 2222=22 instead of 8022=22.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-18 08:00:22 -04:00
Ross Burton 9f2e78698e CI: remove redundant variables in testimage.yml
QEMU_USE_SLIRP is no longer needed[1] as adding slirp to
TEST_RUNQEMUPARAMS is sufficient, so remove that.

Setting TEST_SERVER_IP also isn't needed as there's a default value now,
and we disable the package management tests that would use the server
IP.  When they work the correct IP can be set.

[1] As of oe-core f4e8650

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-18 08:00:22 -04:00
Jon Mason 75fc079970 arm/edk2: update to edk2-stable202308
Update to the latest versions of edk2 and edk2-platforms.  This
necessitates updating the patches in sbsa-acs to apply cleanly to the
latest version of edk2.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-14 19:26:31 -05:00
Javier Tia 1bff41eee6 optee-client: start tee-supplicant.service when teeprivX dev is detected
It's expected to exist multiple /dev/teepriv[0-9]* devices, and the
tee-supplicant service depends on them, which should be activated only
when the device is detected by the kernel using a udev rule.

Improve commit f02d065dce, where it's only considering a path creation
and not a device detection by the kernel.

Signed-off-by: Javier Tia <javier.tia@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-14 15:00:37 -04:00
Peter Hoyes df01b29f3f CI: Make update-repos more resilient to network issues
The update-repos script currently exits immediately if one of the
underlying Git commands fails (e.g. because of a network issue). If the
repo already exists, then catch this error inside the loop and
carrying on attempting to update other repos, as the network error may
be upstream.

KAS_REPO_REF_DIR is ultimately an optimization and subsequent build
stages should be able to continue if one of the updates fail. Therefore,
ensure the script returns a special error code if at least of the Git
commands fail, and use this to set the allow_failure property of the
job.

If a repo does not exist, fail immediately as before.

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-13 11:00:21 -04:00
Peter Hoyes b6668069b8 CI: Allow a GitHub container registry mirror to be specified
To make the pipeline slightly more resilient to external networking
issues, allow a local container registry mirror to be specified in the
GitLab settings. If not specified, the upstream container registry is
used automatically.

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-13 11:00:21 -04:00
Mariam Elshakfy 18da91ffd2 arm-bsp/optee-os: N1SDP upgrade tadevkit and optee-test to 3.22
Since optee-os for N1SDP has been updated to 3.22,
this patch updates optee-os-tadevkit and optee-test
to match the same version.

Signed-off-by: Mariam Elshakfy <mariam.elshakfy@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-12 04:00:27 -04:00
Mariam Elshakfy e828f3633f arm-bsp/optee-os: N1SDP upgrade optee-os to 3.22
Upgrade optee-os version for N1SDP platform
to 3.22

Signed-off-by: Mariam Elshakfy <mariam.elshakfy@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-12 04:00:27 -04:00
Khem Raj 2d809a7c35 layer.conf: update LAYERSERIES_COMPAT for nanbield
* oe-core switched to nanbield in:
  https://git.openembedded.org/openembedded-core/commit/?id=f212cb12a0db9c9de5afd3cc89b1331d386e55f6

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-11 15:00:37 -04:00
Xueliang Zhong 1fe76c893c arm-bsp/n1sdp: update to linux yocto kernel 6.4
Bump kernel version to v6.4 and rebased N1SDP kernel PCIe quirk patches
top of this new version.

Signed-off-by: Xueliang Zhong <xueliang.zhong@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-11 10:00:39 -04:00
Ross Burton 3748fc07d2 arm/generic-arm64: set XSERVER to install the modesetting driver
The default XSERVER only pulls in the framebuffer driver, which is
pretty broken with modern kernels and the modesetting driver is a lot
more functional.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-11 10:00:38 -04:00
Ross Burton 333719ea3e arm/qemu-generic-arm64: force off KVM in qemu
The sbsa-ref machine can't use KVM because it's an entire emulated
machine, not a virtual machine.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-11 10:00:38 -04:00
Ross Burton b42bdbb7d6 arm/generic-arm64: move SERIAL_CONSOLES to generic-arm64
The consoles to use isn't specific to the qemu machine, and without a
value results in no serial consoles when running on real hardware under
sysvinit.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-11 10:00:38 -04:00
Jon Mason bd0953cc60 arm-bsp/trusted-firmware-a: remove unneeded patches
Patches (and recipe support) were added for qemuarm64-secureboot
support, but that is not present in meta-arm-bsp.  Remove it.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-10 09:42:27 -05:00
Jon Mason a4db5ee2cd arm/sbsa-acs: update to v7.1.2
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-10 09:42:27 -05:00
Javier Tia f02d065dce optee-client: Add path condition to tee-supplicant.service
Without /dev/teepriv[0-9]*, tee-supplicant.service will fail. Prevent
a failure with a condition to check if /dev/teepriv[0-9]* path exists.

Signed-off-by: Javier Tia <javier.tia@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-08 13:00:40 -04:00
Mariam Elshakfy a262d308e7 arm-bsp/n1sdp: Update edk2-firmware version for N1SDP to 202305
ARM Reference Solutions' N1SDP 2023.06.22 manifest
uses edk2-firmware version 202305. This patch
aligns with the manifest.
The RemoteDdrSize cast patch is now upstreamed,
hence removed from the patches list

Signed-off-by: Mariam Elshakfy <mariam.elshakfy@arm.com>
2023-09-05 22:02:41 -05:00
Delane Brandy 99a23c40ef arm-bsp/corstone1000: mmc2-enablement
Enables the support of a second mmc card, which enables distro installation.

Signed-off-by: Delane Brandy <delane.brandy@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-04 06:00:22 -04:00
Anusmita Dutta Mazumder 302cdd0a02 CI: Build custom image for N1SDP optee-xtest
Build a custom N1SDP image with only optee-xtests as part of the image. A fresh custom image build is necessary to include the relevant test suite for running the xtests.

Signed-off-by: Anusmita Dutta Mazumder <anusmita.duttamazumder@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-01 13:00:26 -04:00
Anusmita Dutta Mazumder 6ecdc3bc8b arm-bsp/n1sdp: Enable tests with pseudo trusted application
Add the config needed to run the embedded tests with pseudo trusted application. Without this config, the optee-xtests with pseudo TA get skipped with “skip test, pseudo TA not found” message.

Signed-off-by: Anusmita Dutta Mazumder <anusmita.duttamazumder@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-09-01 13:00:26 -04:00
Jon Mason 85b11ed55b arm/edk2: update to 202305 version
edk2-202305 contains a commit which modifies the build
environment's variables from BUILD_CC to CC, BUILD_CXX to CXX, etc.
https://github.com/tianocore/edk2/commit/206168e83f0901cbc1815ef5df4ac6598ad9721b
This causes changes to the recipe to support this change.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-31 14:03:38 -04:00
Jon Mason 0b25c07cf2 arm: patch clean-ups
Clean up various patches by
* Create email headers for those not present using the s-o-b as author and date
applied to the tree as the patch date
* regenerating the patch name via git rebase and format-patch
* replacing patch with backported version
* moving patch location to be more accurate

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-30 16:17:21 -04:00
Jon Mason b8367b72bf arm-bsp/corstone500: removal of support
corstone500 is End-of-life'd (EOL'ed).  Remove support for it from the
tree.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-30 15:00:25 -04:00
Jon Mason bddec6c800 arm-bsp/corstone500: upgrade u-boot to the latest
Rebase the corstone500 u-boot patches to 2023.07.02.  Some defined
variables changed names, and had to be updated.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-30 10:00:17 -04:00
Ross Burton 730806956a arm-bsp/external-system: set PACKAGE_ARCH as this is machine-specific
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-29 13:00:22 -04:00
Ross Burton ff334d8f65 Remove explicit SRCPV
As of oe-core a8e7b0f, PV doesn't need to contain SRCPV explicitly as
base.bbclass will append it to PKGV if there is a + in the version. So,
remove the redundant assignments.

Also change the boot-wrapper-aarch64 PV to 0+git as it's possible that
some point they'll tag a release and we want to be able to upgrade to it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-29 13:00:22 -04:00
Jon Mason 5c7b2c1840 arm-bsp/fvp-baser-aemv8r64: update u-boot to 2023.01
u-boot patches rebase cleanly to u-boot v2023.01.  Update to that and
get rid of the legacy version of u-boot that existed only for this
machine.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-29 10:00:17 -04:00
Jon Mason a7ff45bd4f arm-bsp/tc1: update optee
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-28 11:00:18 -04:00
Emekcan Aras 41cec3e053 arm-bsp/optee-os: corstone1000: Update optee-os v3.22
Updates optee-os and aligns with changes in v3.22 for Corstone-1000.

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-25 16:30:08 -04:00
Jon Mason 42170c1be4 arm/trusted-services: add SRCREV_FORMAT
SRCREV_FORMAT is now required.  Add that to address the build breakage.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-25 16:26:58 -04:00
Jon Mason 3297357d48 arm/linux-yocto: update kernel patches
With 6.1.46, the gimple patch has been backported as part of the
release, and is no longer needed as a patch applied here.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-22 16:20:49 -04:00
Jon Mason cacc36565a arm/hafnium: update to v2.8
Update hafnium to v2.8, which allows updating tc1 to that version and
remove the intermediate SHA.  It also allows for the removal of some
backported patches.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-22 14:00:17 -04:00
Emekcan Aras 3ac344237d arm-bsp/trusted-firmware-a: corstone1000: Update TF-A v2.9
Updates trusted-firmware-a and aligns with changes in v2.9 for Corstone-1000.

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-21 12:50:55 -04:00
Mariam Elshakfy 881b4aebe5 arm-bsp/trusted-firmware-a: Update TF-A version for N1SDP
Update TF-A version for N1SDP to align with
N1SDP 2023.06.22 manifest

Signed-off-by: Mariam Elshakfy <mariam.elshakfy@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-21 09:07:28 -04:00
Jon Mason 5b8329a99f arm/linux-yocto: change defconfig patch for 6.4
Use the patch that Mikko Rapeli is trying to upstream to work around the
Nuvoton defconfig issue instead of reverting the patch that added the
platform to the kernel.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-21 09:06:11 -04:00
Jon Mason 2ac07293aa arm-bsp/juno: update kernel to 6.4
Juno requires no patches to build and boot with 6.4, as the patches
present were backports.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-17 12:00:18 -04:00
Anusmita Dutta Mazumder d63b8f806a arm-bsp/scp-firmware: Update N1SDP scp-firmware version
The scp-firmware version in the Arm Reference Solutions N1SDP-2023.06.22 Release has now updated to a beta version beyond v2.12.
Add the SHA override for N1SDP to align to scp-firmware version used in the release.

Signed-off-by: Anusmita Dutta Mazumder <anusmita.duttamazumder@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-17 06:00:23 -04:00