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

2000 Commits

Author SHA1 Message Date
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
Anusmita Dutta Mazumder 5a56396d80 arm-bsp/trusted-firmware-m: corstone1000: add unique firmware GUID
Add new Corstone-1000 firmware GUID and remove previous u-boot GUID to be updated into ESRT table.
SR-IR 2.0 requires the capsule GUID to be unique.

Signed-off-by: Anusmita Dutta Mazumder <anusmita.duttamazumder@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-15 11:00:29 -04:00
Anusmita Dutta Mazumder 0457cfd605 arm-bsp/u-boot: corstone1000: add unique firmware GUID
Add new Corstone-1000 firmware GUID and remove previous u-boot GUID to be updated into ESRT table.
SR-IR 2.0 requires the capsule GUID to be unique.

Signed-off-by: Anusmita Dutta Mazumder <anusmita.duttamazumder@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-15 11:00:29 -04:00
Jon Mason 391b9dc0a9 arm/trusted-firmware-a: update to 2.9.0
Update the trusted-firmware-a recipes to 2.9.0
Moving legacy recipes (2.8) for tc1 and corestone1000 to meta-arm-bsp

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-11 09:59:16 -04:00
Abdellatif El Khlifi ea9ca499c9 arm-bsp/u-boot: corstone1000: detect the kernel size automatically
use filesize environment variable to read the size of the unzipped initramfs bundle

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-11 09:59:16 -04:00
Ross Burton a209895b94 kas/: pass through DISPLAY from environment
If a user does eg "kas shell kas/corstone1000-base.yml" and then calls
runfvp, the spawned xterms don't have a valid DISPLAY set.

Add DISPLAY to the preserved environment variables and DISPLAY will be
passed into the shell, and the xterms will start correctly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-11 09:59:16 -04:00
Robbie Cao 992c07f7c0 arm/recipes-kernel: Add preempt-rt support for generic-arm64
Add kernel configuration necessary to build an image with preempt-rt
support for generic-arm64.

And tweak kernel configuration for preempt-rt kernel.

Signed-off-by: Robbie Cao <robbie.cao@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-08 11:39:47 -04:00
Jon Mason c92ac97d79 arm/trusted-firmware-m: upgrade to v1.8.0
Upgrade tf-m to v1.8.0 and update the related components as well

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-08 11:39:47 -04:00
Jon Mason 8c42263eb3 arm-bsp/tc1: remove trusted-firmware-m target
We aren't testing it and it's not compiling cleanly in v1.8,
let's just drop it for now.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-08 11:39:47 -04:00
Jon Mason 07ec4baadf arm/optee-test: update musl workaround patch
Patch was accepted upstream (see
https://github.com/OP-TEE/optee_test/pull/688).  Use the commit that was
backported and specify it as so.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-08 11:39:47 -04:00
Jon Mason ea797536da arm-bsp: clean-up patch noise
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-08 11:39:47 -04:00
Jon Mason 299cb9e0b3 arm/edk2: move 202211 recipe to meta-arm-bsp
202211 is only used in meta-arm-bsp, and all other users should be using
the latest version.  Move it there until n1sdp can be updated to the
latest.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-08 11:39:33 -04:00
Jon Mason 9fa8d0d0d0 arm-toolchain/gcc-aarch64-none-elf: upgrade to 12.3.rel1
Upgrade the 12.2 recipe to 12.3.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-08-07 12:00:47 -04:00
Ross Burton 0e043288fd arm-toolchain/gcc-arm-none-eabi: upgrade to 12.3.rel1
Upgrade the 12.2 recipe to 12.3.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-08-03 08:27:08 +01:00
Ross Burton d30ab1696e arm/trusted-firmware-m: explicitly use Arm GCC 11.2
TF-M recommend using GCC 11.2 as 11.3 onwards currently has code
generation issues.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-08-03 08:27:08 +01:00
Ross Burton 8d42065f41 arm-toolchain/gcc-arm-none-eabi-11.2: add new recipe
Add back the 11.2 release of GCC, because TF-M has code generation
problems with 11.3 onwards.

This recipe has the major version embedded in the recipe name so that it
has to be specifically asked for in a per-recipe basis.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-08-03 08:27:08 +01:00
Ross Burton 65504a799d arm-toolchain/arm-binary-toolchain: install to a versioned directory
So that it's obvious which version of GCC is being used, install the
files into a versioned directory under $libexecdir.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-08-03 08:27:08 +01:00
Ross Burton 938bbe9837 arm-toolchain/androidclang: remove
This was added to build an Android Common Kernel with the Android
compiler, but we don't need to build that anymore.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-08-03 08:27:08 +01:00
Emekcan Aras 92d4cabed3 arm-bsp/u-boot: corstone1000: increase the kernel size
The unzipped kernel size increased due to recent changes in oe master.
Since corstone1000 sets a fixed kernel size, this should be increased to
boot the platform correctly.

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
2023-08-02 17:11:34 +01:00
Ziad Elhanafy 3cfe68f5cc arm/recipes-devtools,doc: Update FVP version
Update fvp-base-a-aem and fvp-base-r-aem to v11.22.14

Signed-off-by: Ziad Elhanafy <ziad.elhanafy@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-07-26 16:00:17 -04:00
Adam Johnston 308e5d7145 arm-bsp/trusted-firmware-a: Reserve OP-TEE memory from NWd on N1SDP
The physical memory which is used to run OP-TEE on the N1SDP is known
to the secure world via TOS_FW_CONFIG, but it may not be known to the
normal world.

As a precaution, explicitly reserve this memory via NT_FW_CONFIG to
prevent the normal world from using it. This is not required on most
platforms as the Trusted OS is run from secure RAM.

Signed-off-by: Adam Johnston <adam.johnston@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-07-26 12:00:21 -04:00
Jon Mason 9ea107c5fe arm-bsp/corstone1000: update u-boot preferred version
The upstream u-boot recipe did a minor version update, which is causing
a "preferred version not available" warning.  Add a '%' to resolve this
issue.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-07-26 08:05:19 -04:00
Jon Mason cfcc8a4d13 CI: workaround 32bit timer warning in binary toolchain
Temporary workaround for a number binaries in the toolchains that are
using 32bit timer API.  This must be done in the CI yml file instead of
the recipe because of all the libraries in the toolchain have the issue.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-07-24 11:00:21 -04:00
Jon Mason 887e47b7c5 CI: add defaults for get-binary-toolchains
Pre-populate the standard values of get-binary-toolchains so that it
will work without variables in a standard kas container.  This will aid
in ease-of-use for development and testing of binary toolchains.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-07-24 11:00:21 -04:00
Abdellatif El Khlifi 79afe6a41e arm-bsp/u-boot: corstone1000: upgrade to v2023.07
Port Corstone-1000 patches to U-Boot v2023.07
Include the latest FF-A patchset sent to the mailing list (v15).

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-07-21 07:00:31 -04:00