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

1997 Commits

Author SHA1 Message Date
Ross Burton 4c66c6dfd6 CI: run testimage on fvp-base-arm32
Now that virtio networking is up, testimage works.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-28 14:53:50 -04:00
Ross Burton 4ab912828e arm-bsp/fvp-base-arm32: use correct DeviceTree
The 64-bit fvp-base machine uses the upstream fvp-base-recv devicetree,
but fvp-base-arm32 was accidentally using the old
fvp-base-gicv3-psci-custom that we patch into the kernel.

As the only difference between these platforms at a "hardware" level is
whether the cores boot in 32- or 64-bit mode, they should both use
fvp-base-revc.

This isn't trivial as devicetree files need to  be under the correct
arch/ directory, so we need to symlink into arch/arm the right files
from arch/arm64.

This has several improvements, but primarily virtio networking works so
we can now use testimage with fvp-base-arm32.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-25 10:10:22 -04:00
Ross Burton 0e9df5afbb arm-bsp/fvp-arm32: synchonise kernel config
fvp-base pulls in features/net/net.scc, so fvp-base-arm32 should too.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-25 10:10:22 -04:00
Ross Burton d47e6a89e1 arm/fvp: add more helper variables for the versioning
Add more helper variables for the FVP version to help construct URLs.

If PV is 1.2.3, then VERSION is 1.2 and BUILD is 3.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-25 10:10:22 -04:00
Ross Burton 22282ea893 arm/fvp-base-a-aem: upgrade to latest release, 11.17.21
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-25 10:10:22 -04:00
Ross Burton 966d3ec031 arm/fvp: generalise FVP_ARCH
Use wildcards in the FVP_ARCH assignment, as older FVPs use _GCC-6.4
whilst newer FVPs use _GCC-9.3.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-25 10:10:22 -04:00
Jon Mason ccec56deff arm-toolchain: update Arm GCC to 11.2
Update the Arm GCC source to the latest version.  Also, update the GCC
patches to apply cleanly, removing those that are no longer relevant.
Add the CVEs from Sumit Garg's series.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-23 09:34:09 -04:00
Ross Burton 28acb5fbd4 CI: save task logs when a job fails
Create a job artifact containing all of the task logs if the job fails.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-23 09:20:20 -04:00
Ross Burton bff49b6a35 arm-bsp/u-boot: use latest u-boot for fvp-base
Explicitly enable use of CRC instructions: we configure fvp-base to have
armv8.4 cores, but the default uboot config disables crc (see uboot 51d8367d8).

Keep fvp-base-arm32 on 2021.10 as the arm32-specific patches need
rebasing, and a trivial rebase doesn't boot successfully.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-18 13:00:07 -04:00
Ross Burton f56e69e135 arm-bsp/fvp-base: configure the FVP with v8.4 cores
Configure the FVP to have v8.4 cores, instead of v8.0. This gives us more
useful instructions, such as pointer authentication.

See this document for more details:

https://developer.arm.com/documentation/102378/0201/Armv8-x-and-Armv9-x-extensions-and-features

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-18 13:00:07 -04:00
Ross Burton 583b68cc90 arm-bsp/fvp-base: consolidate FVP configuration
The bulk of the FVP_* variables are common, so move them into
fvp-common.inc.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-18 13:00:07 -04:00
Ross Burton 00cde20a9a arm/oeqa/fvp: show more log from the FVP on failure
If the FVP fails to boot, the last 20 lines may just be a stack trace.
Show the last 200 lines for further context.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-18 13:00:07 -04:00
Ross Burton 15e3e0daf6 arm-bsp/scp-firmware: correctly set version in TC append
Set PV to 2.9.0+git instead of 2.9+git so the version comparisons are
reliable.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-18 09:49:34 -04:00
Emekcan Aras bc278abe27 arm-bsp/corstone1000: remove the need for meta-arm-image
This commit remove meta-arm-image from the yml file and adds
necessary image configuration to meta-arm-bsp/recipes-bsp/images.

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-18 09:49:22 -04:00
Alejandro Enedino Hernandez Samaniego 3d0e5368d1 arm/optee: Upgrade from 3.14 to 3.16
- Removes upstreamed patches for optee-examples
- Fixes optee-examples installation
- Includes new python3-cryptography dependency
- Removes older cryptography backend dependencies
- Fixes python3-cryptography to work with openssl
- Keeps optee-client and optee-os v3.1.4 for corstone1000 compatibility

Tested on qemuarm64-secureboot via optee-examples and xtest -l 15

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-16 15:04:35 -04:00
Ross Burton 1b205211ea arm/trusted-firmware-m: remove python3-pyasn1-native DEPENDS
The use of pyasn1 was replaced with python3-cryptography in mcuboot
ebd050. This is part of mcuboot 1.3.1 onwards, and TF-M 1.5.0 uses
mcuboot 1.8.0.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-16 15:04:20 -04:00
Emekcan Aras 956f323a05 meta-arm/classes: Create wic_nopt class
Corstone500 and Corstone1000 use wic_nopt.bbclass. This commit creates
this class for Corstone500 and Corstone1000 in meta-arm classes to remove
the need for meta-arm-image repo.

Signed-off-by: Emekcan Aras emekcan.aras@arm.com
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-16 15:04:03 -04:00
Ross Burton 5b4d25133a arm/edk2-firmware: upgrade to 202202
Drop 0001-Fix-VLA-parameter-warning.patch, this is merged upstream.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-11 13:11:42 -05:00
Peter Hoyes d08e90b316 arm-bsp/docs,kas: Add SSH server to fvp-baser-aemv8r64 image
To make it easier for users to test and evaluate the FVP, including
testing inbound network connections, enable the openssh SSH server by
default and map to port 8022 on the host.

Update fvp-baser-aemv8r64 documentation accordingly in new "Networking"
section.

Issue-Id: SCM-3881
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I88329731418e198e2ef5d3449bfb38fde5ae77bb
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-11 08:00:08 -05:00
Jon Mason 2d9f342d86 Revert "CI: use kas:latest, needed for the latest bitbake"
This reverts commit a2b945c75e.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-10 08:43:11 -05:00
Xueliang Zhong 3e6c53f182 arm-bsp/n1sdp: migrate to linux yocto kernel 5.15
This commit includes :
- Rebased and fixed N1SDP kernel 5.4 PCIe quirk patches to apply on 5.15
- Removed 5.10 kernel recipe for N1SDP
- Dropped RT kernel support, as it is no longer supported on N1SDP

Signed-off-by: Xueliang Zhong <xueliang.zhong@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-10 08:42:46 -05:00
Jon Mason 4148b31c2d arm/fvp-corstone1000: fix model location
FVP is located at Linux64_GCC-9.3, not Linux64_GCC-9.4

Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-08 14:05:44 -05:00
Peter Hoyes fbfd015578 arm-bsp/docs: Minor fvp-baser-aemv8r64 fixes
* Include `--upgrade` in pip3 command to ensure latest kas version is
   installed
 * Ensure all underscores are either quoted or escaped
 * Fix P9 example command

Issue-Id: SCM-3881
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: Ie460dbd6b1f87f5f9ca2966329341d22da3606d3
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-08 07:00:13 -05:00
Rui Miguel Silva b40e705945 arm-bsp/corstone500: move to linux-yocto 5.15
Update linux yocto version in configure file for the
corstone500 platform from 5.4 to 5.15

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-07 17:00:07 -05:00
Rui Miguel Silva 5c83fba36a arm-bsp/corstone500: move to u-boot 2022.01
Update patches and recipes to bump u-boot version used in
corstone500 from 2020.07 to 2022.01.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-07 17:00:07 -05:00
Harry Moulton 7348f9a760 corstone1000: update meta-arm-image for kirkstone support.
Update the sha for meta-arm-image in the corstone1000 kas file to
add support for kirkstone. Without this support corstone1000 does
not build.

Signed-off-by: Harry Moulton <harry.moulton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-07 13:51:58 -05:00
Harry Moulton f397564a05 arm/fvp-corstone1000: update to latest version
Update the URL and checksums for the new Corstone1000 FVP version 11.17.23.

Signed-off-by: Harry Moulton <harry.moulton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-07 13:51:39 -05:00
Peter Hoyes fec543da69 arm-bsp/docs: Set required Kas version to 3.0 for fvp-baser-aemv8r64
poky master has changed a variable name to BB_ENV_PASSTHROUGH_ADDITIONS.
Support for this has been added in Kas 3.0

Issue-Id: SCM-3881
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: Ib42f79d144422272b2dd17fe0515da96909219eb
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-07 13:51:23 -05:00
Ross Burton 8b377a5c7d arm-bsp/linux-yocto: remove upstreamed corstone1000 patch
This patch is now merged upstream in 7285daac, 5.15.25 onwards.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-07 12:09:46 -05:00
Ross Burton b5a2d1204d Revert "CI: apply in-flight patches to fix lopper and python-dtc"
This reverts commit 628719c5a5.
2022-03-07 13:29:14 +00:00
Ross Burton 478bc14e59 Revert "CI: fix python3-dtc installation"
This is now fixed in meta-virtualization master.

This reverts commit fd34e9bb75.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-07 12:43:45 +00:00
Ross Burton 643cf58a69 arm-bsp/linux-yocto: fix patch status for the CS1K patch
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-03 12:15:18 -05:00
Steve Capper 84a8f97704 arm-bsp/firmware-image-juno: update offset addresses for NOR flash images
This is to allow a larger kernel image size.

Suggested-by: Deepak Pandey <deepak.pandey@arm.com>
Signed-off-by: Steve Capper <steve.capper@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-03 11:09:46 -05:00
Peter Hoyes dcf114723e arm/fvp-base-r-aem: Update to version 11.17.21
Also update version and download link in meta-arm-bsp fvp-baser-aemv8r64
documentation

Issue-Id: SCM-3871
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I92ec616d25703ff74ed063918a1e4811bac9ff3f
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-03 11:08:08 -05:00
Peter Hoyes 1bc6bf2750 arm-bsp/docs: Improve fvp-baser-aemv864 limitation
Add more details about the cache_state_modelled limitation, which can
be worked around by setting cci400.force_on_from_start=1

Issue-Id: SCM-3871
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: Idde23278a87316dae842c6c3793b9836482e8c3a
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-03 11:08:08 -05:00
Ross Burton ce5e683f01 arm/generic-arm64: use latest linux-yocto
We were pinning generic-arm64 to 5.10 because 5.14 was hanging during
boot in qemu, but this appears to have been fixed in 5.15.

Unpin the kernel to use 5.15, and drop the defconfig patch which has
been upstreamed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-02 21:39:10 -05:00
Ross Burton b9fefa2482 arm/fvp: check that FVP binaries are present
If any of the path computation goes wrong (for example, the compiler
changed so FVP_ARCH needs updating) for the real FVP binaries then
bindir contains broken link called FVP_*.

Solve this by checking that the directory contains FVP binaries and
error out if not.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-02 21:39:10 -05:00
Ross Burton fd34e9bb75 CI: fix python3-dtc installation
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-01 09:30:27 -05:00
Ross Burton 50d820d037 Revert "CI: apply in-flight patches to fix python3-cryptography"
The patches were merged in meta-oe d605093bc.

This reverts commit d97f9d322e.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-01 09:30:27 -05:00
Emekcan Aras 24db3b56ba arm-bsp/trusted-firmware-a: corstone1000: update Tfa SHA
This commit updates Tfa SHA to remove the patches from the
recipe since all of them are upstreamed now.

Signed-off-by: Emekcan Aras emekcan.aras@arm.com
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-01 09:30:27 -05:00
Emekcan Aras 81193d97ad arm-bsp/linux-yocto: upgrade corstone1000 to 5.15
Update linux-yocto to the latest version for cs1k.
There is a bug in the kernel version 5.15. Following
patch is applied to fix this issue and will be
upstreamed soon (https://lkml.org/lkml/2022/2/18/475).

Signed-off-by: Emekcan Aras emekcan.aras@arm.com
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-01 09:30:27 -05:00
Khem Raj 3fbb255aa7 androidclang: Skip useless-rpaths check
This is a prebuilt stuff, better to ignore its guts.

Fixes
androidclang: /usr/share/clang-r416183b/python3/lib/python3.9/lib-dynload/_posixsubprocess.cpython-39-x86_64-linux-gnu.so contains probably-redundant RPATH /../lib [useless-rpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-01 09:30:27 -05:00
Ross Burton 628719c5a5 CI: apply in-flight patches to fix lopper and python-dtc
Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-28 14:33:01 +00:00
Ross Burton d97f9d322e CI: apply in-flight patches to fix python3-cryptography
Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-28 14:26:38 +00:00
Jon Mason 50fd2d469a Revert "CI: apply a patch so that meta-zephyr is compatible with kirkstone"
This reverts commit 7dd00e4d71.
2022-02-28 09:25:32 -05:00
Ross Burton 41dfded19b Revert "CI: temporarily pin meta-oe to pre-python-wheel removal until oe-core catches up"
python3-wheel is now in oe-core, so we need to use the meta-oe without
python3-wheel.

This reverts commit 5e59ebf2d3.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-25 16:41:44 +00:00
Peter Hoyes 94682c6d1d arm-bsp/docs: Minor fvp-baser-aemv8r64 updates
* Add clarification on how to mount p9 device
 * Remove instruction to use ctrl + c to stop FVP
 * Add cache_state_modelled to Known Issues

Issue-Id: SCM-3871
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I122c5ae5b3ceee1d106205d93a006f75bdbfa2bf
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-25 00:05:00 -05:00
Arunachalam Ganapathy 185746b66a arm-bsp/scp-firmware: add patches related to MPMM for TC0
This commits updates the SHA of SCP-firmware and include required
patches to build SCP firmware with experimental features
MPMM/POWER/PERFORMANCE for TC0 platform.

Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: I263b484a467636154b70805f920bb53c6fe2026c
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-25 00:05:00 -05:00
Arunachalam Ganapathy 3c16dbc0c6 arm-bsp/linux-yocto: enable autofdo config only for TC1
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: I75219f174f2fd0a9fa67007a4bc45acecc324390
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-25 00:05:00 -05:00
Ross Burton 5e59ebf2d3 CI: temporarily pin meta-oe to pre-python-wheel removal until oe-core catches up
Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-24 19:35:39 +00:00