1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-08 05:09:56 +00:00
Commit Graph

1003 Commits

Author SHA1 Message Date
Ross Burton dca6cc8434 arm/hafnium: upgrade to 2.6
hashbang.patch isn't needed anymore, and rebase the other patches.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-29 10:35:18 -05:00
Ross Burton 8c44d09406 arm/edk2-firmware: don't PROVIDE virtual/uefi-firmware
Interchangable firmware isn't really a workable concept, so there's no
real need to have a virtual name.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-29 10:34:34 -05:00
Ross Burton ae14735509 arm-bsp: use edk2-firmware instead of virtual/uefi-firmware
Firmware isn't arbitarily interchangable as by definition it is specific
to the platform, so use the real recipe name instead of a virtual name.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-29 10:34:34 -05:00
Ross Burton 498b350446 arm/sbsa-acs: upgrade to EDK2 202108
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-29 10:34:34 -05:00
Ross Burton 33d8df93e4 arm/edk2-firmware: upgrade to edk2-firmware 202108
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-29 10:34:34 -05:00
Ross Burton c55ff70355 CI: build optee-test in qemuarm64-secureboot
This recipe doesn't get built through dependencies, so add it explicitly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-11-26 15:00:24 +00:00
Ross Burton 20a02a7537 arm/optee-test: change DEPENDS to optee-os-tadevkit
Now that the TA devkit has been split out of optee-os, the build
dependencies of optee-test need to be updated too.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-11-26 15:00:24 +00:00
Ross Burton d3ea92806b arm/optee-test: use precise BSD license
Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-11-26 15:00:24 +00:00
Abdellatif El Khlifi b8552becc3 meta-arm-bsp/security: corstone1000: add trusted services support
These changes are to add support to build TrustedServices.
corstone1000 platfrom uses optee-sp option which will include
secure partitions into optee Image

Following changes are made to trusted-services code
* TS_PLATFORM should be set at the external build system level.
* fix EARLY_TA_PATHS environment variable
* se-proxy string and make it as child node

Change-Id: I58d76b5e25e7f285794c93dc92c1b93fdd77cfb9
Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2021-11-24 23:16:40 +00:00
Abdellatif El Khlifi 9577a5a44e arm/secure-partitions: introducing the recipe
Adding secure-partitions recipe.

Change-Id: I4320fb7087157a7c0f9305ce1d8f8574d4500fd0
Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2021-11-24 23:16:31 +00:00
Abdellatif El Khlifi f47ab03514 arm/optee-spdevkit: introducing the recipe
Adding optee-spdevkit recipe.

Change-Id: Ib31d7f0a9fa2f72b71c2057f2752b1c52be6f890
Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2021-11-24 23:06:24 +00:00
Arpita S.K 74c90a0dca arm-bsp/u-boot: introducing corstone1000 MPS3 machine
Add support for corstone1000-mps3 machine which have a cortex-a35
aarch64, this will boot till u-boot prompt.

Change-Id: Ifdd81d35a5409cdd1563388a841885c14b748cad
Signed-off-by: Arpita S.K <Arpita.S.K@arm.com>
Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2021-11-24 23:06:03 +00:00
Arpita S.K fecc5e2db1 arm-bsp/machine: introducing corstone1000 MPS3 machine
This commit adds the corstone1000-mps3 machine.

Change-Id: I99f657574a693527d7763cb4cc9b0b05218bb316
Signed-off-by: Arpita S.K <Arpita.S.K@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
2021-11-23 16:06:41 +00:00
Maxim Uvarov 1c871d3ffe machine/qemuarm64-secureboot.conf: add optee-ftpm
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-20 14:02:59 -05:00
Maxim Uvarov 29aa96b0d0 arm: add optee-ftpm recipe
Add software TPM emulated in the OPTEE-OS.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-20 14:02:45 -05:00
Maxim Uvarov 3210fe4e65 optee: update optee-os.inc to support external TAs
Separate recipe for TA devkit is needed to solve
circular dependency to build TAs with the devkit
 and integrate it inside optee-os.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-19 10:51:42 -05:00
Jon Mason 26f92c011e CI: use matrix for more defined way of doing things and cleanup
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-17 13:35:41 -05:00
Ross Burton 1229061f8b arm/boot-wrapper-aarch64: specify precise BSD license flavour
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-16 12:01:07 -05:00
Ross Burton 5cf722a312 gem5/gem5: specify precise BSD license flavour
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-16 12:01:07 -05:00
Ross Burton a9da0f3aab CI: remove utility tasks
These tasks made some limited sense when there was only one runner, but
in a setup where there are N runners they arere pretty useless as you
can't control which runner is executing the jobs.

Disk usage should be managed out-of-band, so delete the jobs.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-11-15 15:27:39 +00:00
Ross Burton b09863db6e CI: disable use of Yocto sstate server
The public sstate server isn't up to the load just yet and often-enough
will take a very long time to respond, causing build failures.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-11-15 12:34:37 +00:00
Ross Burton 6bc7edfe83 arm-toolchain: upgrade gcc-arm-none-eabi (GNU-RM) to 10.3-2021.10
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-12 11:12:01 -05:00
Ross Burton 2098ffd84a Remove use of deprecated lnr command
lnr is deprecated and will be removed soon, so replace it with `ln -rs`

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-12 11:10:20 -05:00
Jon Mason c40fb5348b arm/qemuarm64-sbsa: replace with qemu-generic-arm64
Migrate the qemuarm64-sbsa machine to use the generic-arm64 machine as a
base.  This new qemu-generic-arm64 should contain only the parts
necessary to boot the generic-arm64 in qemu (using the SBSA machine).
This allows for a single generic image with testing for SBSA compliance.

NOTE: a unique WIC file is needed due to the inability to pass kernel
bootargs (due to needing DHCP for testimage).

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-11 17:22:03 -05:00
Ross Burton 91233ff996 arm-bsp/trusted-firmware-m: remove INSANE_SKIP in corstone1000
The build is successful without this, so presumably it's obsolete.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-11 11:20:46 -05:00
Ross Burton 3d62efc282 arm-bsp/trusted-firmware-m: clean up corestone1000 do_install
No point checking that a directory exists before installing from it, as
it will fail immediately anyway if the files are not present.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-11 11:20:46 -05:00
Ross Burton 982c170391 arm-bsp/trusted-firmware-m: remove meaningless PACKAGECONFIGs
The corstone1000 customisations override the test-* PACKAGECONFIGs to
always disable the tests, even when they're enabled.

The proper way to do this is to not enable the tests in the first place,
and the tests are not enabled.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-11 11:20:46 -05:00
Ross Burton 3523e25699 arm-bsp/trusted-firmware-m: update corstone1000 customisations for 1.4.1 update
This BSP sets an intermediate SHA that is newer than the 1.4.1, but the
branch needs specifying now.

Also remove SRCREV_FORMAT, the PV doesn't include SRCPV so it isn't being used.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-11 11:20:46 -05:00
Ross Burton 164392f905 arm/trusted-firmware-m: upgrade to 1.4.1
Extract the TF-M branch name as a variable, as BSPs may wish to use
intermediate SHAs.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-11 11:20:46 -05:00
Jon Mason edbc4d1f8f CI: remove unnecessary "+="
Seeing error of
WARNING: ZEPHYRTESTS:remove += is not a recommended operator combination, please replace it.

Correcting the issue by changing it accordingly.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-11 09:34:23 -05:00
Ross Burton 24b5a304de arm-bsp/fvp-base: track latest linux-yocto
We don't have any invasive kernel patches for the FVP machines anymore,
so remove the PREFERRED_VERSION and track the default version of
linux-yocto instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-10 23:39:46 -05:00
Ross Burton 4ccd87245d arm/python3-cbor: remove, cbor2 is used now
This recipe was used by trusted-firmware-m and python3-imgtool, both of
which now use python3-cbor2.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-10 23:39:46 -05:00
Ross Burton fdcf1f232a arm-bsp/python3-imgtool: remove, this is now in meta-python
A newer version of this recipe is now in meta-python[1]

[1] https://git.openembedded.org/meta-openembedded/commit/?id=94fc0589b50f43afd1a19303a40389652929bf38

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-10 23:39:46 -05:00
Ross Burton a3f79e5e12 arm/trusted-firmware-m: use python3-cbor2 instead of python3-cbor
Backport a patch to switch from the unmaintained python3-cbor module to
the active python3-cbor2 module.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-10 23:39:46 -05:00
Ross Burton 0417374521 arm/hafnium: fix kernel tool linking
We need to be sure that the host linker flags are passed to the kernel
build, as otherwise it is possible that binaries are incorrectly linked.
For example:

HOSTCC scripts/extract-cert
ld: .../recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/libcrypto.so: undefined reference to `pthread_once@GLIBC_2.34'

Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-11-10 15:51:59 +00:00
Ross Burton 80ed458cac gem5/gem5-aarch64-native: fix fuzz in patch
Not sure how this wasn't caught by the CI, human error no doubt.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-11-09 17:55:12 +00:00
Ross Burton 2ef815bb71 atp/atp-native: don't pass -Werror
New compiler is now warning about ignored return values[1], so patch out
the use of -Werror, which is bad practise outside of development builds.

[1] https://github.com/ARM-software/ATP-Engine/issues/9

Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-11-09 14:38:51 +00:00
Ross Burton 8527e69355 arm/trusted-firmware-a: ensure native cert_create has -rpath
Patch in BUILD_LDFLAGS into the cert_create Makefile so that the -rpath
arguments are passed to the native build, meaning it can find libssl
correctly.  This somewhat worked previously as the host libssl and
sysroot libssl matched, but now that OE has OpenSSL 3 that often isn't
the case.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-11-09 14:37:15 +00:00
Ross Burton 46ca470dfe arm: add fvp-corestone1000
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-08 12:27:26 -05:00
Ross Burton 77b2b5eff7 gem5/gem5: fix the build with Python 3.10
gem5 imported collections.Mapping, but this was deprecated in 3.3 and
removed in 3.10.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-05 07:37:40 -04:00
Tudor Cretu a214398d13 arm-bsp/trusted-firmware-a: Add FWU support for TC
Add recipe to generate GPT with FIP and metadata.
Add Python script to generate the FWU metadata.

Signed-off-by: Tudor Cretu <tudor.cretu@arm.com>
Change-Id: Icfe3d1491442af17aa5300d8ff8654ac65ae30aa
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-05 07:37:01 -04:00
Jon Mason 50389eb377 CI: remove target from testimage yml file
Since we are using TESTIMAGE_AUTO, providing the target field in the
testimage yml file is no longer necessary.  This allows for multiple
payloads to be built, while still allowing for testing.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-04 10:19:12 -04:00
Jon Mason 6ce74e521a arm-bsp: fix corstone u-boot
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-04 10:19:12 -04:00
Ross Burton aa3804f26a Update git: SRC_URIs
GitHub has deprecated the unauthorised git protocol[1], so all GitHub
URLs need to specify protocol=https.

Also the git fetcher is making the branch parameter mandatory, so add it
where it is currently implicit.

[1] https://github.blog/2021-09-01-improving-git-protocol-security-github/

Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-11-03 16:00:06 +00:00
Jon Mason ad7257cc1b arm-bsp: use new u-boot version
Changes necessary to get the u-boot version 2020.10.  TC patches are no
longer necessary, as they are upstreamed.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-01 21:01:07 -04:00
Jon Mason 8aa1242d94 CI: use master branch again
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-11-01 21:01:07 -04:00
Diego Sueiro c2ff49c4a9 arm-autonomy: Remove code from master as part of the deprecation plan
The meta-arm-autonomy layer is being deprecated from master, with bug fixes
only being applied to the following branches. Additionally, all support and
maintenance of meta-arm-autonomy will stop as per the schedule below.

    honister: End-of-life scheduled to June 2022
    hardknot: End-of-life scheduled to December 2021
    gatesgarth: End-of-life scheduled to October 2021
    dunfell: End-of-life scheduled to October 2021
    master: End-of-life scheduled to October 2021 and code removed

Issue-Id: SCM-3552
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Change-Id: I3ca58f8c13b1ecb3dbaf0d60f0f52b016292633d
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-29 10:03:47 -04:00
Arpita S.K 8b82d1230d arm/trusted-firmware-a,fiptool-native: Fix fiptool execution wrt corstone1000
After http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/?id=648571b113b39420735859461fcd69cfc6f66c76,
building the corstone1000-image fails with the below error.
    fiptool_platform.h:19:11: fatal error: openssl/sha.h: No such file or directory
    # include <openssl/sha.h>

Put back the inclusion of BUILD_LDFLAGS to fix this.

Change-Id: I57396eefe2c9a58e4c5c6a751b2ee7d32509cac5
Signed-off-by: Arpita S.K <Arpita.S.K@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
CORSTONE1000-2021.11.03
2021-10-29 09:22:35 -04:00
Arpita S.K a5d8dfa52e corstone1000: Introducing ci and kas files
Adding ci and yaml files to support
corstone1000-fvp.

Change-Id: I74ebc3570d4b0c8abae58be5ef69064fc33e5bea
Signed-off-by: Arpita S.K <Arpita.S.K@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-29 09:22:35 -04:00
Abdellatif El Khlifi dca725e0f1 arm/ffa-debugfs: corstone1000: enabling FF-A Debugfs Linux driver
- This commit provides a recipe for the FF-A Debugfs Linux
   driver v2.1.0.

  The driver is an out-of-tree loadable modules. It exposes
  FF-A operations to user space and only used for development
  purposes.

- Create a dev package for ffa-debugfs-mod

  ffa-debugfs-mod recipe provides arm_ffa_user.h header for
  other recipes that need it at build time.
  The header is put in ffa-debugfs-mod-dev package.

Change-Id: I92f33e20b5fdfc9a32cff03ae2a137150d0328db
Signed-off-by: Arpita S.K <Arpita.S.K@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-29 09:22:35 -04:00