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

1636 Commits

Author SHA1 Message Date
Luca Fancellu 4243e66182 arm,arm-bsp/recipes-kernel: don't use PN in arm-ffa-transport.inc
There are some cases where PN is not expanded into linux-yocto in the
arm-ffa-transport.inc file required from linux-yocto_%.bbappend,
because of the := usage, in those cases PN gets "defaultpkgname".

To fix the issue, rename "linux-yocto" folder into "files" and adjust
ARMFILESPATHS to point to that in linux-yocto_%.bbappend, prepend
ARMFILESPATHS to FILESEXTRAPATHS in arm-ffa-transport.inc.

Remove ARMFILESPATHS prepend from FILESEXTRAPATHS for corstone1000 in
meta-arm-bsp, because the platform has always the "arm-ffa" in
MACHINE_FEATURES, which causes ARMFILESPATHS to be prepended.

While there, remove the FILESEXTRAPATHS prepend of ARMFILESPATHS for
the n1sdp that will be added by arm-ffa-transport.inc only when
needed.

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-11-07 07:45:21 -05:00
Abdellatif El Khlifi 8724733e07 kas: corstone1000: set branches to langdale
point poky/meta-openembedded to langdale

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-11-03 13:00:08 -04:00
Jon Mason 3b7347cd67 arm/gator-daemon: update to v7.8.0
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-11-01 21:00:09 -04:00
Jon Mason 59c3e948e8 arm/opencsd: update to version 1.3.1
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-11-01 21:00:09 -04:00
Jon Mason 75c252049c CI: add common fvp yml file
Bring fvp-base and fvp-base-arm32 to match what is currently being done
in other fvps, and clean up the fvps to use a single fvp yml file (which
should enable better adding and removing of issues common to fvps, like
xorg test bugs).

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-11-01 09:32:42 -04:00
Jon Mason 49b23ff619 CI: Add packages for opencsd and gator-daemon to base build
opencsd and gator-daemon aren't currently being build.  Add them to the
base build so that they can be verified to at least compile.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-31 13:17:00 -04:00
Ross Burton 7683a6d1d1 CI: track meta-openembedded's langdale branch
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-28 11:58:30 -04:00
Jose Quaresma 3080a94bde optee-os-ts: avoid using escape chars in EXTRA_OEMAKE
This currently can break the bitbake parsing

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-27 09:58:14 -04:00
Jose Quaresma 518294d518 optee-ftpm/optee-os: add missing space in EXTRA_OEMAKE
When append to variable a space is required at the beginning.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-27 09:57:59 -04:00
Jon Mason 8d7f3c03ef arm: add Mickledore to layer compat string
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-27 09:57:59 -04:00
Mohamed Omar Asaker 50cd8f9c9f arm-bsp/corstone1000: add msd configs for fvp
Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-26 06:00:09 -04:00
Vishnu Banavath 0e7c1bb30e arm-bsp:optee: enable optee test for N1SDP target
These changes are to build and install optee test for
N1SDP

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-26 05:00:10 -04:00
Vishnu Banavath 30e78c0552 arm-bsp/optee: register DRAM1 for N1SDP target
N1SDP has 2 DRAM's. This change is to register 2nd DRAM which starts at
0x8080000000. Linux uses 1KB of this memory to share data with optee-os.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-26 05:00:10 -04:00
Jon Mason d1666f4da2 CI: Remove host bitbake variables
Bitbake variables were being set in KAS for the unique Gitlab CI
configuration being used internally.  While this should not have been
significantly detrimental for other setups, this shouldn't be necessary
with proper runner setup.  Removing them here to all for a more generic
CI experience.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-24 09:54:13 -04:00
Satish Kumar 9771beb103 arm-bsp/trusted-service: corstone1000: esrt support
Signed-off-by: Satish Kumar <satish.kumar01@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-24 09:54:13 -04:00
Mohamed Omar Asaker bcba4a6c5f arm-bsp/trusted-firmware-m: corstone1000 support FMP image info
Apply tfm patches to support FMP image info

Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-24 09:54:13 -04:00
Mohamed Omar Asaker dc4a702aaf Revert "arm-bsp/trusted-firmware-m: corstone1000: bump tfm SHA"
This reverts commit 81181ed898.

Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-24 09:54:13 -04:00
Mohamed Omar Asaker 8bde04ca23 Revert "arm-bsp/trusted-firmware-m: corstone1000: secure debug code checkout from yocto"
This reverts commit 37ba0b162a.

Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-24 09:54:13 -04:00
Rui Miguel Silva ba41fd5e1e arm-bsp/corstone1000: apply ts patch to psa crypto api test
Apply shared patch to trusted services that is used to compile
psa crypto api tests to include change in packed-c request
message in the eaed update structure to be in sync with the
serialize/deserialize in TS side.

As at it, move the other corstone1000 specific patch file to
meta-arm-bsp where it should be.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-24 09:54:13 -04:00
Ross Burton 2fffdd9234 CI: add documentation job
This job builds all of the Sphinx documentation it can find with fatal
warnings enabled.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-10-24 13:58:06 +01:00
Vishnu Banavath ba196a90a7 meta-arm-bsp/doc: add readthedocs for corstone1000
These changes are to add support for readthedocs for
corstone1000 platform. readthedocs server traces
any changes to to corstone1000 documents and will trigger
a build which will generate html file which can will be
rendered by corstone1000.docs.arm.com server

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-23 11:08:14 -04:00
Vishnu Banavath a8075e1471 runfvp: corstone1000: add mmc card configuration
These changes are to pass appropriate MMC card configuration to
corstone1000 FVP.

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-21 13:00:19 -04:00
Ross Burton a27735f0d6 arm-bsp/linux-arm64-ack: fix malformed Upstream-Status tag
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-21 13:00:12 -04:00
Ross Burton 3e7dc144b1 arm-bsp/hafnium: add missing Upstream-Status
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-21 13:00:12 -04:00
Ross Burton 7730ae58ac arm/hafnium: add missing Upstream-Status
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-21 13:00:10 -04:00
Rui Miguel Silva 242023336f arm/trusted-services: port crypto config
Port crypto config to psa arch test api suite.This
needs to move to arm-bsp since is corstone1000 specific
configuration

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-21 10:00:33 -04:00
Mohamed Omar Asaker 14c7e5b336 arm-bsp/u-boot: corstone1000: support 32bit ffa direct messaging
Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-20 13:00:07 -04:00
Jon Mason f83c5ad19e CI: track langdale branch
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-20 11:20:53 -04:00
Ross Burton 75b883c363 arm/fvp-tc0: remove Total Compute 2020 FVP
This FVP doesn't support TC1, so remove it now that we don't support TC0.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-19 10:00:08 -04:00
Ross Burton c9874bebc7 arm-bsp/scp-firmware: remove TC0 patches
These patches are specific to TC0, and are not needed for TC1.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-19 10:00:08 -04:00
Ross Burton 75a8c07a63 arm-bsp: remove TC0
The Total Compute 2020 BSP is obsolete and unsupported, so remove it
from meta-arm.  The Total Compute team would like TC1 to be available in
langdale, but removed in mickledore.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-19 10:00:08 -04:00
Vishnu Banavath c7660b3548 arm-bsp/linux: add kernel file search path for N1SDP
This change is to add ARMFILESPATHS into serach path
for linux for N1SDP target.

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-17 21:01:04 -04:00
Rui Miguel Silva 63cf57290b arm-bsp/trusted-services: support for libmetal and openamp
Add support for libmetal and openamp as backend for se-proxy
and smm-gateway SP. For that also introduce a change to newlib
in memcpy optimization to avoid unaligned data-aborts in
__packed structures handling.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-17 21:01:04 -04:00
Rui Miguel Silva c3ada285de arm-bsp/optee: add log handler
Add log handler for SP sending logs over ffa to spmc.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-17 21:00:59 -04:00
Emekcan 13199c55c0 arm-bsp/kernel: Fix TEE driver bug for corstone1000
Fixes the Tee driver bug in corstone1000. It adds a
delay to fix a possible race-condition occurs during
FF-A calls. This is a temporary fix for the upcoming
release.

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-14 10:01:33 -04:00
Satish Kumar 37ba0b162a arm-bsp/trusted-firmware-m: corstone1000: secure debug code checkout from yocto
Instead of checking out code through internal cmake,
the patch explicitly checkout the psa-adac code.

Signed-off-by: Satish Kumar <satish.kumar01@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-14 08:00:09 -04:00
Satish Kumar 0f49cad85f arm-bsp/trusted-firmware-m: corstone1000: fix sournce dir of libmetal and openamp
The patch corrects the source dir for libmetal and openamp.

Devtool modify on tf-m will work after this fix.

Signed-off-by: Satish Kumar <satish.kumar01@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-14 08:00:09 -04:00
Satish Kumar 81181ed898 arm-bsp/trusted-firmware-m: corstone1000: bump tfm SHA
The patch bumps the tfm SHA to
b065a6b28cc6c692b99e4f7e9387d96f51bf4d07

Signed-off-by: Satish Kumar <satish.kumar01@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-14 08:00:09 -04:00
Satish Kumar 60af2fc053 arm-bsp/u-boot: corstone1000: esrt support
Signed-off-by: Satish Kumar <satish.kumar01@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-10-14 08:00:09 -04:00
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